:root {
  /* BMN kurumsal (bmnuyelik ile aynı) */
  --bordo: #7A0C2E;
  --bordo-deep: #4E071C;
  --mavi: #0B3D91;
  --mavi-bright: #1E5BB8;
  --bg0: #0a0c14;
  --bg1: #120914;
  --bg2: #0d1528;
  --line: rgba(247, 244, 241, 0.14);
  --text: #F7F4F1;
  --muted: rgba(247, 244, 241, 0.62);
  --accent: var(--bordo);
  --accent2: var(--mavi);
  --gold: #c9a227;
  --ok: #1F6B3A;
  --err: #9B1C1C;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(122, 12, 46, 0.55), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 10%, rgba(11, 61, 145, 0.5), transparent 50%),
    linear-gradient(165deg, #2a0a16 0%, #0a1a3a 45%, #1a0c18 100%);
  min-height: 100vh;
  min-height: 100dvh;
  /* overflow body'de olmasın — fixed sticky/footer mobil kaymasını bozar */
  -webkit-tap-highlight-color: transparent;
}
button, .btn, .slot, .picker-row, .chip, .hud-card, .formation-opt {
  touch-action: manipulation;
}
input, select, textarea {
  font-size: 16px; /* iOS zoom engeli */
  max-width: 100%;
}

a { color: #9ec0f0; text-decoration: none; }
a:hover { color: #fff; }

/* —— BMN kurumsal chrome —— */
.bmn-topbar {
  background: linear-gradient(90deg, var(--bordo-deep), #0a1630 55%, var(--bordo-deep));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247,244,241,0.7);
  padding-top: env(safe-area-inset-top);
}
.bmn-topbar-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0.4rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.bmn-topbar a { color: rgba(247,244,241,0.85); }
.bmn-topbar a:hover { color: #fff; }
.bmn-sep { opacity: 0.45; margin: 0 0.35rem; }
.bmn-user { color: #fff; font-weight: 700; text-transform: none; letter-spacing: 0; }

.bmn-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background:
    linear-gradient(180deg, rgba(18, 8, 14, 0.97), rgba(10, 14, 28, 0.94));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  /* sticky header içinde fixed çocuk olmamalı (drawer dışarı taşındı) */
}
.bmn-header-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.bmn-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff !important;
  flex-shrink: 0;
  text-decoration: none !important;
  min-width: 0;
}
.bmn-brand-crest {
  width: 2.55rem;
  height: auto;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.55));
}
.bmn-brand-copy {
  display: grid;
  gap: 0.12rem;
  line-height: 1.05;
  min-width: 0;
}
.bmn-brand-name {
  font-family: var(--font-body);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: #fff;
  text-transform: none;
}
.bmn-brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(158, 192, 240, 0.9);
}
.bmn-brand-footer .bmn-brand-crest {
  width: 3rem;
}
.bmn-brand-footer .bmn-brand-name {
  font-size: 1.25rem;
}
.bmn-brand-hero {
  gap: 0.9rem;
  margin: 0 0 0.85rem;
}
.bmn-brand-hero .bmn-brand-crest {
  width: clamp(3.4rem, 12vw, 4.6rem);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.55));
}
.bmn-brand-hero .bmn-brand-name {
  font-size: clamp(1.85rem, 7.5vw, 2.85rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  text-shadow: 0 8px 28px rgba(0,0,0,0.45);
  text-transform: none;
}
.landing-product {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0c45a;
}

@media (max-width: 700px) {
  .bmn-brand-header .bmn-brand-tag { display: none; }
  .bmn-brand-header .bmn-brand-name { font-size: 1.02rem; }
  .bmn-brand-header .bmn-brand-crest { width: 2.15rem; }
}
.bmn-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.bmn-nav a {
  color: rgba(247,244,241,0.78);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.bmn-nav a:hover,
.bmn-nav a.is-active {
  color: #fff;
  border-bottom-color: var(--bordo);
}
.bmn-nav-cta {
  margin-left: 0.25rem;
  padding: 0.45rem 0.9rem !important;
  border-radius: 4px;
  border-bottom: none !important;
  background: linear-gradient(120deg, var(--bordo), var(--mavi));
  color: #fff !important;
  font-weight: 700;
}
.bmn-nav-cta:hover {
  filter: brightness(1.08);
  border-bottom: none !important;
}
@media (min-width: 901px) {
  /* Masaüstünde CTA sağda kalsın */
  .bmn-nav .bmn-nav-cta { order: 50; }
}
.bmn-nav-heading { display: none; }
.bmn-nav-mobile-only { display: none; }
.bmn-nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.bmn-nav-bars {
  display: grid;
  gap: 3px;
  width: 1rem;
}
.bmn-nav-bars i {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}
.bmn-nav-sheet-head { display: none; }
.bmn-nav-close { display: none; }
.bmn-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0,0,0,0.55);
}

.bmn-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(122,12,46,0.18), transparent 40%),
    rgba(6, 8, 14, 0.92);
}
.bmn-footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 2.25rem 1rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 2fr;
  gap: 2rem;
}
.bmn-footer-brand p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 22rem;
}
.bmn-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.bmn-footer-cols h3 {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0c45a;
  font-weight: 800;
}
.bmn-footer-cols a {
  display: block;
  color: rgba(247,244,241,0.75);
  font-size: 0.92rem;
  padding: 0.28rem 0;
}
.bmn-footer-cols a:hover { color: #fff; }
.bmn-footer-base {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0.9rem 1rem 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.bmn-footer-base p { margin: 0; }
.bmn-footer-note { opacity: 0.85; }

.bottom-nav,
.bmn-sticky-footer { display: none; }
.container { width: min(1100px, 92%); margin: 0 auto; padding: 2rem 0 4rem; }

/* legacy aliases */
.site-header { display: none; }
.brand { display: none; }
.btn-nav {
  background: linear-gradient(120deg, var(--bordo), var(--mavi));
  color: #fff !important;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-weight: 600;
}

.hero {
  padding: 2.5rem 0 1rem;
  animation: rise 0.6s ease both;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-size: 0.8rem;
  margin: 0 0 0.5rem;
}
.hero h1, .section h1, .auth-box h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
  line-height: 0.95;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.meta, .muted { color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0.7rem 1.15rem;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(120deg, var(--bordo) 0%, var(--mavi) 100%);
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.08); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: #fff; color: #fff; }

.section { margin-top: 2.5rem; animation: rise 0.55s ease both; }
.section h2 {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  font-size: 1.8rem;
  margin: 1.5rem 0 0.75rem;
}

.league-list { list-style: none; padding: 0; margin: 0; }
.league-list li { margin: 0.5rem 0; }
.league-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  color: inherit;
}
.league-list a:hover { border-color: rgba(122, 12, 46, 0.5); background: rgba(122, 12, 46, 0.08); }
.league-list span { color: var(--muted); font-size: 0.92rem; }

.auth-label-row {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 0.75rem;
  row-gap: 0.35rem;
  align-items: baseline;
}
.auth-label-row > span:first-child { grid-column: 1; }
.auth-forgot-link {
  grid-column: 2;
  justify-self: end;
  font-size: 0.82rem;
  font-weight: 700;
  color: #9ec0f0;
  text-decoration: none;
}
.auth-forgot-link:hover { color: #fff; }
.auth-label-row input { grid-column: 1 / -1; }
.auth-box {
  width: min(420px, 100%);
  margin: 1rem auto;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(21, 32, 25, 0.85);
}
.form { display: grid; gap: 0.9rem; }
.form label { display: grid; gap: 0.35rem; font-size: 0.9rem; color: var(--muted); }
.form input {
  padding: 0.7rem 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #0b110e;
  color: var(--text);
  font: inherit;
}
.form input:focus { outline: 2px solid rgba(122, 12, 46, 0.45); border-color: transparent; }

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
  min-width: 0;
  max-width: 100%;
}
.page-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  min-width: 0;
  width: 100%;
}
.league-head {
  width: 100%;
  overflow-x: clip;
}
.league-head-main {
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
}
.league-title {
  font-size: clamp(1.35rem, 5.5vw, 2.4rem) !important;
  line-height: 1.15 !important;
  letter-spacing: 0.01em !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.league-team-line {
  margin: 0.15rem 0 0.75rem;
  font-size: 0.92rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.league-team-line strong {
  color: #fff;
  font-weight: 700;
}
.team-rename-form {
  margin: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
.team-rename-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
  min-width: 0;
}
.team-rename-form input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 16px; /* iOS zoom / yatay kayma engeli */
}
.team-rename-form .btn {
  margin-top: 0.4rem;
  width: auto;
}

.invite-card {
  margin: 1.15rem 0 1.5rem;
  display: grid;
  gap: 0.85rem;
}
.invite-card-visual {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 1.35rem 1.2rem 1.15rem;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(ellipse 80% 70% at 20% 0%, rgba(122, 12, 46, 0.45), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 30%, rgba(11, 61, 145, 0.4), transparent 50%),
    linear-gradient(165deg, #2a0a16 0%, #0a1630 55%, #120910 100%);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.invite-card-glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(140, 200, 255, 0.12), transparent 65%);
  pointer-events: none;
}
.invite-card-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.invite-card-logo {
  width: 2.85rem;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(140, 220, 255, 0.35));
}
.invite-card-brand {
  margin: 0;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.1;
}
.invite-card-product {
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(158, 192, 240, 0.9);
}
.invite-card-league {
  position: relative;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 5vw, 2.2rem);
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.15;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.invite-card-label {
  position: relative;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,244,241,0.55);
}
.invite-card-code {
  position: relative;
  margin: 0;
  display: inline-block;
  padding: 0.55rem 0.95rem;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 2.6rem);
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(122, 12, 46, 0.55);
  box-shadow: 0 0 24px rgba(122, 12, 46, 0.25);
}
.invite-card-team {
  position: relative;
  margin: 0.85rem 0 0;
  color: rgba(247,244,241,0.72);
  font-size: 0.95rem;
  font-weight: 600;
}
.invite-card-credit {
  position: relative;
  margin: 1rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(158, 192, 240, 0.7);
}
.invite-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.invite-card-actions .btn {
  flex: 1 1 10rem;
  text-align: center;
}
.invite-card-hint {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.88rem;
}

@media (min-width: 720px) {
  .invite-card {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: stretch;
  }
  .invite-card-actions {
    flex-direction: column;
    justify-content: center;
  }
  .invite-card-hint { grid-column: 1 / -1; }
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.stats-row > div {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}
.stats-row span { display: block; color: var(--muted); font-size: 0.8rem; }
.stats-row strong { font-size: 1.4rem; }

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.5rem 0 1rem;
}
.table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.table th, .table td {
  text-align: left;
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table th { color: var(--muted); font-weight: 600; font-size: 0.8rem; }
.table tr.is-me { background: rgba(122, 12, 46, 0.12); }

.squad-mini { list-style: none; padding: 0; margin: 0; columns: 2; gap: 1.5rem; }
.squad-mini li {
  break-inside: avoid;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}
.squad-mini .pos {
  display: inline-block;
  width: 2rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
}
.squad-mini .club { color: var(--muted); margin-left: 0.25rem; }
.squad-mini .pts { float: right; color: var(--muted); }
.squad-mini em {
  font-style: normal;
  background: var(--gold);
  color: #111;
  padding: 0 0.3rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 800;
  margin-left: 0.3rem;
}
.squad-mini .bench { opacity: 0.55; }

.budget-meter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0,0,0,0.25);
}
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
}
.chip.is-on { background: var(--accent2); border-color: #1E5BB8; }
.player-table-wrap {
  overflow: auto;
  max-height: 55vh;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.form-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; }

.flash-wrap { width: min(1100px, 92%); margin: 0.75rem auto 0; }
.flash {
  padding: 0.7rem 1rem;
  border-radius: 6px;
  margin: 0.35rem 0;
  font-size: 0.95rem;
  transition: opacity 0.35s ease, transform 0.35s ease, margin 0.35s ease, padding 0.35s ease, max-height 0.35s ease;
}
.flash.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  max-height: 0;
  overflow: hidden;
  border-width: 0;
  pointer-events: none;
}
.flash-error { background: rgba(232,90,90,0.18); border: 1px solid rgba(232,90,90,0.4); }
.flash-success { background: rgba(61,154,106,0.18); border: 1px solid rgba(61,154,106,0.4); }
.flash-info { background: rgba(212,160,23,0.12); border: 1px solid rgba(212,160,23,0.35); }

.site-footer {
  display: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .bmn-nav-toggle { display: inline-flex; }
  .bmn-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    width: min(320px, 88vw);
    height: 100%;
    max-height: 100dvh;
    margin: 0;
    padding: max(0.85rem, env(safe-area-inset-top)) 1rem max(1.25rem, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #1a0a12, #0b1224);
    border-left: 1px solid var(--line);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translate3d(105%, 0, 0);
    transition: transform 0.28s ease;
    box-shadow: -12px 0 40px rgba(0,0,0,0.45);
  }
  body.bmn-nav-open .bmn-nav { transform: translate3d(0, 0, 0); }
  body.bmn-nav-open .bmn-sticky-footer {
    visibility: hidden;
    pointer-events: none;
  }
  .bmn-nav-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.35rem;
  }
  .bmn-nav-sheet-head .bmn-nav-heading {
    margin: 0;
  }
  .bmn-nav-close {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
  }
  .bmn-nav-heading {
    display: block;
    margin: 0.25rem 0 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .bmn-nav-heading-game { margin-top: 1rem; }
  .bmn-nav-mobile-only { display: block; }
  .bmn-nav a {
    padding: 0.85rem 0.65rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .bmn-nav a.is-active {
    border-bottom-color: var(--line);
    background: rgba(122, 12, 46, 0.2);
  }
  .bmn-nav-cta {
    margin: 0.35rem 0 0.85rem !important;
    text-align: center;
    border: none !important;
  }
  .bmn-footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .bmn-footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .squad-mini { columns: 1; }
  .stats-row { grid-template-columns: 1fr; }
  .container { width: 100%; padding: 1.25rem 1rem 5.5rem; }
  .flash-wrap { width: 100%; padding: 0 1rem; margin-top: 0.5rem; }
  /* Mobilde üst meta şerit kaldır */
  .bmn-topbar { display: none; }
  .bmn-sticky-footer {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 50;
    padding: 0.35rem 0.45rem max(0.3rem, env(safe-area-inset-bottom));
    background: rgba(8, 10, 20, 0.98);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -10px 28px rgba(0,0,0,0.35);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .bmn-sticky-footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.2rem;
  }
  .bmn-sticky-footer-nav a {
    text-align: center;
    color: rgba(247,244,241,0.62);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.65rem 0.15rem;
    border-radius: 10px;
    text-decoration: none;
  }
  .bmn-sticky-footer-nav a:hover,
  .bmn-sticky-footer-nav a:focus,
  .bmn-sticky-footer-nav a.is-active {
    color: #fff;
    background: rgba(122, 12, 46, 0.28);
  }
  body.has-bmn-chrome .landing-main,
  body.has-bmn-chrome .info-main,
  body.has-bmn-chrome .container {
    padding-bottom: max(4.75rem, calc(env(safe-area-inset-bottom) + 4.25rem));
  }
  .page-head {
    flex-direction: column;
    align-items: stretch;
  }
  .page-head .btn { width: 100%; }
  .league-head .page-head-actions {
    width: 100%;
  }
  .league-title {
    font-size: clamp(1.2rem, 6vw, 1.75rem) !important;
  }
  .team-rename-form .btn {
    width: 100%;
  }
  /* Davet kartında uzun lig/mail adı taşmasın */
  .invite-card-league,
  .invite-card-team {
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
  }
  .cta-row .btn { flex: 1 1 auto; min-width: 140px; }
  .league-list a {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .auth-box {
    width: 100%;
    margin: 0;
    border-radius: 14px;
    padding: 1.15rem;
  }
  .lead { font-size: 1rem; }
  .bmn-footer {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
  body.has-bmn-chrome .bmn-footer {
    padding-bottom: max(4.5rem, calc(env(safe-area-inset-bottom) + 4rem));
  }
  .bmn-footer-cols { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
  .bmn-nav-backdrop { display: none !important; }
}

/* —— Mobil oyun / saha ekranı —— */
body.app-shell {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(122, 12, 46, 0.5), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 10%, rgba(11, 61, 145, 0.45), transparent 50%),
    linear-gradient(165deg, #2a0a16 0%, #0a1a3a 45%, #120910 100%);
}
.app-main {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 0 0 max(2rem, env(safe-area-inset-bottom));
  min-height: 100vh;
  min-height: 100dvh;
}
.game-screen { padding-bottom: 1rem; }
.game-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  padding-top: max(0.85rem, env(safe-area-inset-top));
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(7,11,9,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.back-link {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
  font-size: 1.1rem;
}
.game-title { flex: 1; min-width: 0; }
.game-title strong { display: block; font-size: 1rem; }
.game-title span { color: var(--muted); font-size: 0.8rem; }
.icon-btn {
  box-sizing: border-box;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  padding: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.hud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  padding: 0.75rem 1rem 0;
}
.hud-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  padding: 0.45rem 0.35rem;
  text-align: center;
  color: inherit;
  font: inherit;
  cursor: default;
}
button.hud-card { cursor: pointer; }
.hud-label {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hud-card strong { font-size: 0.95rem; }

.hud-deadline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.4rem 1rem 0;
  padding: 0.28rem 0.65rem;
  min-height: 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  text-align: center;
}
.hud-deadline-label {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.hud-deadline-track {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  overflow: hidden;
}
.hud-deadline-value {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff;
}
.hud-deadline.is-locked .hud-deadline-value,
.hud-deadline.is-warn .hud-deadline-value {
  color: #f0c45a;
}
@media (max-width: 719px) {
  .hud-deadline-value {
    animation: hudDeadlineDrift 7s ease-in-out infinite;
  }
}
@keyframes hudDeadlineDrift {
  0%, 12% { transform: translateX(0); opacity: 1; }
  55% { transform: translateX(28%); opacity: 0.35; }
  70% { transform: translateX(42%); opacity: 0; }
  71% { transform: translateX(-12%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hud-deadline-value { animation: none; }
}

.pitch-wrap { padding: 0.75rem 0.75rem 0; }
.pitch {
  --pitch-rows: 4;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  padding: 0.85rem 0.45rem 1rem;
  /* Satır sayısına göre yükseklik — üst üste binmeyi engeller */
  min-height: calc(var(--pitch-rows) * 5.65rem + 1.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: stretch;
  gap: 0.55rem;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25), transparent 18%, transparent 82%, rgba(0,0,0,0.3)),
    repeating-linear-gradient(
      90deg,
      #1f6b3a 0 12%,
      #1a5c32 12% 24%
    );
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.18),
    0 18px 40px rgba(0,0,0,0.45);
  animation: pitchIn 0.55s ease both;
}
.pitch-lines {
  pointer-events: none;
  position: absolute;
  inset: 8%;
  z-index: 0;
  border: 2px solid rgba(255,255,255,0.28);
  border-radius: 4px;
}
.pitch-lines::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 2px solid rgba(255,255,255,0.28);
}
.pitch-lines::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 22%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255,255,255,0.28);
  border-radius: 50%;
}
.pitch-row {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: clamp(0.3rem, 2.2vw, 0.75rem);
  flex-wrap: nowrap;
  padding: 0.15rem 0.35rem;
  box-sizing: border-box;
}
.pitch-holo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
}
.pitch-holo img {
  width: min(46%, 9.75rem);
  height: auto;
  opacity: 0.26;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 8px rgba(140, 220, 255, 0.7))
    drop-shadow(0 0 22px rgba(122, 12, 46, 0.55))
    saturate(1.25)
    brightness(1.2);
  animation: holoPulse 3.6s ease-in-out infinite;
  transform-origin: center center;
}
.pitch-holo::after {
  content: "";
  position: absolute;
  inset: 12% 18%;
  border-radius: 50%;
  background:
    linear-gradient(115deg, transparent 35%, rgba(180, 230, 255, 0.22) 48%, transparent 62%),
    repeating-linear-gradient(
      180deg,
      transparent 0 4px,
      rgba(255,255,255,0.045) 4px 5px
    );
  mix-blend-mode: soft-light;
  animation: holoScan 2.6s linear infinite;
  pointer-events: none;
}
@keyframes holoPulse {
  0%, 100% {
    opacity: 0.16;
    transform: scale(1);
    filter:
      drop-shadow(0 0 6px rgba(140, 220, 255, 0.45))
      drop-shadow(0 0 16px rgba(122, 12, 46, 0.35))
      saturate(1.1)
      brightness(1.05);
  }
  50% {
    opacity: 0.38;
    transform: scale(1.05);
    filter:
      drop-shadow(0 0 14px rgba(160, 235, 255, 0.85))
      drop-shadow(0 0 30px rgba(122, 12, 46, 0.65))
      saturate(1.35)
      brightness(1.3);
  }
}
@keyframes holoScan {
  0% { opacity: 0.25; transform: translateY(-10%) skewX(-8deg); }
  50% { opacity: 0.55; }
  100% { opacity: 0.25; transform: translateY(10%) skewX(8deg); }
}
.slot {
  flex: 0 1 auto;
  width: min(5rem, 21vw);
  max-width: 5.1rem;
  min-width: 3.4rem;
  min-height: 4.35rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  background: rgba(8, 16, 12, 0.55);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.28rem 0.12rem;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
}
.pitch-row[data-count="1"] .slot { width: min(5.4rem, 34vw); }
.pitch-row[data-count="2"] .slot { width: min(5.2rem, 28vw); }
.pitch-row[data-count="3"] .slot { width: min(5rem, 24vw); }
.pitch-row[data-count="4"] .slot { width: min(4.7rem, 21vw); min-width: 3.2rem; }
.pitch-row[data-count="5"] .slot { width: min(4.2rem, 17.5vw); min-width: 2.95rem; max-width: 4.4rem; }
/* Çok satırlı formasyonlarda kartları sıkıştır */
.pitch[data-rows="5"] {
  min-height: calc(var(--pitch-rows) * 5.05rem + 1.25rem);
  gap: 0.4rem;
}
.pitch[data-rows="5"] .slot {
  min-height: 3.85rem;
  padding: 0.2rem 0.08rem;
}
.pitch[data-rows="5"] .slot-mono,
.pitch[data-rows="5"] .slot-photo {
  width: 1.7rem;
  height: 1.7rem;
  font-size: 0.62rem;
}
.pitch[data-rows="5"] .slot-name { font-size: 0.62rem; }
.pitch[data-rows="5"] .slot-price { font-size: 0.62rem; }
.pitch[data-rows="5"] .slot-club,
.pitch[data-rows="5"] .slot-meta { font-size: 0.5rem; }
.pitch[data-rows="6"] {
  min-height: calc(var(--pitch-rows) * 4.7rem + 1.1rem);
  gap: 0.32rem;
}
.pitch[data-rows="6"] .slot {
  min-height: 3.55rem;
  padding: 0.16rem 0.06rem;
}
.pitch[data-rows="6"] .slot-mono,
.pitch[data-rows="6"] .slot-photo {
  width: 1.55rem;
  height: 1.55rem;
  font-size: 0.58rem;
}
.slot:hover { transform: translateY(-2px); }
.slot.empty {
  border-style: dashed;
  background: rgba(255,255,255,0.08);
}
.slot-plus {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 12px rgba(255,255,255,0.5);
}
.slot-pos, .jersey {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #F7F4F1;
}
.jersey {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--bordo), var(--mavi));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}
/* Foto yokken: ad-soyad monogram (kulüp logosu yok — marka riski yok) */
.slot-mono {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
  background: linear-gradient(145deg, var(--bordo), var(--mavi));
  flex-shrink: 0;
}
.slot-mono.pos-gk { background: linear-gradient(145deg, #c9a227, #7a4d0c); }
.slot-mono.pos-def { background: linear-gradient(145deg, #0b3d91, #062048); }
.slot-mono.pos-mid { background: linear-gradient(145deg, var(--bordo), var(--mavi)); }
.slot-mono.pos-fwd { background: linear-gradient(145deg, #7a0c2e, #3a0616); }
.slot-photo {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.55);
  background: #1a1020;
}
.pr-photo {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #1a1020;
  border: 1px solid var(--line);
}
.pr-photo.pr-fallback {
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--bordo), var(--mavi));
}
.pr-club {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  display: block;
}
.pr-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-left: auto;
  max-width: none;
}
.pr-info {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
  flex: 0 0 auto;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
}

.profile-panel {
  max-height: min(88vh, 720px);
}
.profile-panel #profile-body {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
}
.profile-actions:not([hidden]) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  flex-shrink: 0;
}
.profile-actions #btn-remove-player {
  grid-column: 1 / -1;
}
.prof-hero {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.85rem;
}
.prof-photo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.25);
  background: #1a1020;
}
.prof-photo.prof-fallback {
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(145deg, var(--bordo), var(--mavi));
}
.prof-meta { display: grid; gap: 0.2rem; min-width: 0; }
.prof-meta strong { font-size: 1.05rem; }
.prof-pos {
  display: inline-block;
  width: fit-content;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(122,12,46,0.35);
  font-size: 0.75rem;
  font-weight: 700;
}
.prof-clubline {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.prof-club { width: 1.1rem; height: 1.1rem; }
.prof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.prof-stats > div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.35rem;
  text-align: center;
  background: rgba(255,255,255,0.03);
}
.prof-stats span {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prof-stats strong { font-size: 0.95rem; }
.prof-block { margin-bottom: 0.9rem; }
.prof-block h3 {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.fx-row {
  display: grid;
  grid-template-columns: 4.2rem 1.1rem 1fr auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
}
.fx-row img { width: 1.1rem; height: 1.1rem; }
.fx-date { color: var(--muted); font-size: 0.78rem; }
.fx-opp { font-weight: 600; }
.slot-name {
  font-size: 0.68rem;
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.slot-price {
  font-size: 0.72rem;
  font-weight: 800;
  color: #f0c45a;
  line-height: 1.1;
}
.slot-club,
.slot-meta {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.72);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.picker-budget {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(240, 196, 90, 0.35);
  background: rgba(240, 196, 90, 0.08);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.88);
  flex-shrink: 0;
}
.picker-budget strong { color: #f0c45a; font-weight: 800; }
.picker-budget-sep { color: var(--muted); }
.picker-rule {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  font-size: 0.86rem;
  line-height: 1.4;
  flex-shrink: 0;
}
.picker-rule.is-error {
  border-color: rgba(232, 90, 90, 0.45);
  background: rgba(232, 90, 90, 0.12);
  color: #ffd0d0;
  font-weight: 600;
}
.pr-reason {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f0a0a0;
}
.picker-row.is-disabled {
  opacity: 0.72;
  cursor: pointer;
  border-color: rgba(232, 90, 90, 0.35);
}
.picker-row.is-disabled:hover {
  border-color: rgba(232, 90, 90, 0.55);
}
.slot.filled { border-color: rgba(216,255,230,0.55); }
.slot.is-captain {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212,160,23,0.55), 0 8px 18px rgba(0,0,0,0.35);
}
.cap-badge {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  background: var(--gold);
  color: #111;
  font-size: 0.65rem;
  font-weight: 900;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
}
.cap-toggle {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  z-index: 3;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(10, 16, 12, 0.85);
  color: #c8d0cc;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cap-toggle.is-on,
.slot.is-captain .cap-toggle {
  background: var(--gold);
  color: #111;
  border-color: #f0d060;
}
.cap-toggle:active { transform: scale(0.92); }

.captain-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.55rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 160, 23, 0.45);
  background: rgba(212, 160, 23, 0.1);
  font-size: 0.92rem;
}
.captain-strip-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4a017;
}
.captain-strip strong {
  color: #fff;
  font-weight: 800;
}
.captain-strip-hint {
  color: var(--muted);
  font-size: 0.82rem;
}
.captain-strip.is-empty {
  border-color: rgba(232, 90, 90, 0.4);
  background: rgba(232, 90, 90, 0.1);
}
.captain-strip.is-empty .captain-strip-label { color: #f0a0a0; }

.captain-panel {
  gap: 0.85rem;
}
.captain-sheet-lead {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  line-height: 1.4;
}
.captain-pick-list {
  display: grid;
  gap: 0.4rem;
  max-height: min(48vh, 22rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.captain-pick {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.captain-pick:hover { border-color: rgba(212, 160, 23, 0.55); }
.captain-pick.is-selected {
  border-color: rgba(212, 160, 23, 0.95);
  background: rgba(212, 160, 23, 0.14);
  box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.35);
}
.captain-pick img,
.captain-pick-fallback {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #1a1020;
  border: 1px solid var(--line);
}
.captain-pick-fallback {
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--bordo), var(--mavi));
}
.captain-pick-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.captain-pick-main strong {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.captain-pick-main small {
  color: var(--muted);
  font-size: 0.78rem;
}
.captain-pick-badge {
  flex-shrink: 0;
  min-width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #111;
  background: var(--gold);
  opacity: 0;
}
.captain-pick.is-selected .captain-pick-badge { opacity: 1; }
#btn-confirm-captain {
  width: 100%;
  flex-shrink: 0;
}
#btn-confirm-captain:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.slot.filled { position: relative; }

.bench-panel {
  margin-top: 0.75rem;
  padding: 0.65rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.bench-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}
.bench-row {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
}
.bench-row .slot {
  flex: 1;
  width: auto;
  min-height: 4.3rem;
}

.game-actions {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}
.game-actions .hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}
.game-actions .hint:empty {
  display: none;
}
.btn-save { width: 100%; padding: 0.95rem; font-size: 1.05rem; border-radius: 12px; }
.squad-reset-form {
  margin: 0.55rem 1rem 0;
}
.btn-reset-squad {
  width: 100%;
  padding: 0.7rem;
  border-radius: 12px;
  font-size: 0.92rem;
}
.btn-danger {
  background: rgba(232,90,90,0.18);
  border: 1px solid rgba(232,90,90,0.45);
  color: #ffd0d0;
}

.sheet[hidden] { display: none !important; }
.sheet.is-closing,
.sheet[hidden].is-closing {
  display: grid !important;
  opacity: 0;
  pointer-events: auto;
}
.sheet.is-closing .sheet-panel {
  pointer-events: none;
}
.sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-items: end;
  width: 100%;
  max-width: 100vw;
}
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.sheet-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  background: #121a16;
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  padding: 0.85rem 0.85rem max(0.85rem, env(safe-area-inset-bottom));
  max-height: min(92dvh, 92svh, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow: hidden;
  animation: sheetUp 0.28s ease both;
}
/* Oyuncu seçici: tarayıcı çubuklarına sığacak tam yükseklik sheet */
#picker .sheet-panel {
  height: 100dvh;
  height: 100svh;
  max-height: 100dvh;
  max-height: 100svh;
  border-radius: 14px 14px 0 0;
  padding-top: max(0.65rem, env(safe-area-inset-top));
  padding-left: max(0.75rem, env(safe-area-inset-left));
  padding-right: max(0.75rem, env(safe-area-inset-right));
}
.sheet-sm {
  height: auto !important;
  max-height: min(85dvh, 85svh) !important;
  border-radius: 18px 18px 0 0 !important;
}
body.sheet-open {
  overflow: hidden !important;
  touch-action: none;
  overscroll-behavior: none;
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-shrink: 0;
}
.sheet-head .muted { display: block; font-size: 0.8rem; color: var(--muted); }
#picker-search {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0b110e;
  color: var(--text);
  font: inherit;
  flex-shrink: 0;
}
.picker-list {
  /* grid + flex yükseklik: bazı mobilde satırları sıkıştırıyordu */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0 0 0.65rem 0;
  scrollbar-gutter: stable;
}
.picker-hscroll {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}
.picker-table {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: max-content;
  min-width: 100%;
}
.picker-colhead {
  display: flex;
  align-items: flex-end;
  gap: 0;
  min-height: 1.6rem;
  padding: 0 0 0.15rem;
  position: sticky;
  top: 0;
  z-index: 4;
  background: linear-gradient(180deg, rgba(10, 14, 18, 0.98), rgba(10, 14, 18, 0.92));
}
.picker-colhead .pr-sticky {
  min-height: 1.4rem;
  padding: 0.2rem 0.55rem;
  align-items: flex-end;
  background: rgba(10, 14, 18, 0.98);
  border: none;
}
.pr-head-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.picker-colhead .pr-cell {
  border: none;
  background: transparent;
  min-height: auto;
  padding: 0.15rem 0.25rem;
}
.picker-colhead .pr-cell small {
  font-size: 0.65rem;
  color: var(--muted);
}
.pr-info-spacer {
  flex: 0 0 2.1rem;
  width: 2.1rem;
  position: sticky;
  right: 0;
}
@media (max-width: 700px) {
  #picker .sheet-panel {
    border-radius: 0;
    padding-left: max(0.65rem, env(safe-area-inset-left));
    padding-right: max(0.9rem, calc(env(safe-area-inset-right) + 0.4rem));
  }
  .picker-list {
    padding-right: 0.4rem;
  }
  .picker-budget {
    font-size: 0.8rem;
    padding: 0.45rem 0.65rem;
  }
  .picker-rule {
    font-size: 0.8rem;
    padding: 0.45rem 0.65rem;
  }
  #picker .sheet-head strong {
    font-size: 1.05rem;
  }
  .picker-row {
    gap: 0;
    padding: 0;
    min-height: 3.85rem;
  }
  .pr-sticky {
    width: 10.2rem;
    min-width: 10.2rem;
    max-width: 10.2rem;
    min-height: 3.85rem;
    padding: 0.45rem 0.35rem 0.45rem 0.45rem;
    gap: 0.4rem;
  }
  .pr-cell {
    flex-basis: 3.9rem;
    width: 3.9rem;
    min-width: 3.9rem;
  }
  .pr-photo {
    width: 2.15rem;
    height: 2.15rem;
  }
  .pr-cell em {
    font-size: 0.8rem;
  }
  .pr-info {
    width: 1.55rem;
    height: 1.55rem;
  }
}
.picker-empty {
  margin: 0.5rem 0 0;
  padding: 1rem 0.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  flex-shrink: 0;
}
.picker-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  text-align: left;
  width: max-content;
  min-width: 100%;
  max-width: none;
  box-sizing: border-box;
  flex: 0 0 auto;
  height: auto;
  min-height: 4rem;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: inherit;
  font: inherit;
  line-height: 1.25;
  cursor: pointer;
  overflow: visible;
  -webkit-appearance: none;
  appearance: none;
}
.pr-sticky {
  position: sticky;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  width: 11.5rem;
  min-width: 11.5rem;
  max-width: 11.5rem;
  min-height: 4rem;
  padding: 0.55rem 0.45rem 0.55rem 0.55rem;
  box-sizing: border-box;
  background: #12181f;
  border-right: 1px solid rgba(255,255,255,0.06);
  box-shadow: 6px 0 12px -8px rgba(0,0,0,0.55);
}
.picker-row.is-disabled .pr-sticky {
  background: #10151b;
}
.pr-metrics {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  gap: 0;
  padding: 0.35rem 0.25rem;
}
.pr-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  flex: 0 0 4.4rem;
  width: 4.4rem;
  min-width: 4.4rem;
  padding: 0.25rem 0.2rem;
  box-sizing: border-box;
}
.pr-cell em {
  font-style: normal;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.1;
}
.pr-cell small {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.picker-row .pr-info {
  position: sticky;
  right: 0;
  z-index: 3;
  flex: 0 0 2.1rem;
  margin: 0 0.35rem 0 0.15rem;
  background: #12181f;
  box-shadow: -6px 0 12px -8px rgba(0,0,0,0.55);
}
}
.picker-row:hover { border-color: rgba(122, 12, 46, 0.55); }
.pr-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.18rem;
  overflow: hidden;
}
.pr-main strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pr-main small,
.pr-side small {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
}
.pr-main small > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pr-side {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 0.12rem;
  text-align: right;
  margin: 0;
}
.pr-price,
.pr-side em {
  display: inline-block;
  font-style: normal;
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #111;
  background: linear-gradient(180deg, #f0d060, #c9a227);
  border: 1px solid rgba(255, 220, 120, 0.55);
  border-radius: 999px;
  padding: 0.32rem 0.5rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}
.pr-price-inline {
  color: #f0c45a;
  font-weight: 800;
  font-style: normal;
}
.pr-side small {
  display: block;
  white-space: nowrap;
}

.formation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  max-height: min(60vh, 28rem);
  overflow-y: auto;
  padding-right: 0.2rem;
}
.formation-opt {
  padding: 0.85rem 0.5rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.formation-opt:hover { border-color: var(--accent); background: rgba(122, 12, 46, 0.15); }
.menu-actions { display: grid; gap: 0.5rem; }
.menu-actions .btn { width: 100%; }

@keyframes pitchIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes sheetUp {
  from { transform: translateY(24px); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}

@media (min-width: 720px) {
  .app-main { width: min(560px, 100%); padding-top: 0.5rem; }
  .hud { padding-left: 0; padding-right: 0; }
  .pitch-wrap { padding-left: 0; padding-right: 0; }
}

@media (max-width: 380px) {
  .hud { gap: 0.3rem; padding-left: 0.6rem; padding-right: 0.6rem; }
  .hud-deadline { margin-left: 0.6rem; margin-right: 0.6rem; padding: 0.24rem 0.55rem; }
  .hud-deadline-label { font-size: 0.62rem; }
  .hud-deadline-value { font-size: 0.76rem; }
  .hud-card { padding: 0.35rem 0.2rem; border-radius: 10px; }
  .hud-card strong { font-size: 0.82rem; }
  .hud-label { font-size: 0.58rem; letter-spacing: 0.02em; }
  .pitch-wrap { padding: 0.55rem 0.35rem 0; }
  .pitch {
    min-height: calc(var(--pitch-rows, 4) * 5.15rem + 1.1rem);
    padding: 0.65rem 0.2rem 0.85rem;
    border-radius: 14px;
    gap: 0.4rem;
  }
  .pitch[data-rows="5"] {
    min-height: calc(var(--pitch-rows) * 4.7rem + 1rem);
  }
  .pitch[data-rows="6"] {
    min-height: calc(var(--pitch-rows) * 4.35rem + 0.9rem);
  }
  .pitch-row {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
    gap: 0.28rem;
  }
  .slot {
    min-height: 3.7rem;
    border-radius: 10px;
    min-width: 2.85rem;
  }
  .jersey {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 6px;
    font-size: 0.6rem;
  }
  .slot-name { font-size: 0.6rem; }
  .slot-price { font-size: 0.62rem; }
  .slot-club, .slot-meta { font-size: 0.5rem; }
  .slot-plus { font-size: 1.3rem; }
  .bench-row .slot { min-height: 3.8rem; }
}

.pitch-readonly {
  min-height: calc(var(--pitch-rows, 4) * 5.4rem + 1.2rem);
  margin-top: 0.5rem;
}
.pitch-readonly .slot {
  pointer-events: none;
  cursor: default;
}

/* —— Landing / anasayfa —— */
body.landing-shell {
  background:
    radial-gradient(ellipse 80% 50% at 8% 0%, rgba(122, 12, 46, 0.5), transparent 55%),
    radial-gradient(ellipse 70% 45% at 92% 8%, rgba(11, 61, 145, 0.48), transparent 50%),
    linear-gradient(165deg, #2a0a16 0%, #0a1a3a 45%, #1a0c18 100%);
}
.landing-main {
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: none;
}
.flash-wrap-landing {
  position: fixed;
  top: max(5.5rem, calc(env(safe-area-inset-top) + 5rem));
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 1.5rem));
  z-index: 50;
  margin: 0;
  padding: 0;
}
.landing {
  width: 100%;
  margin: 0;
}
.landing-wrap {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 0 1.15rem;
}

/* Hero — mobil önce */
.landing-hero {
  position: relative;
  min-height: calc(100svh - 5.8rem);
  min-height: calc(100dvh - 5.8rem);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.landing-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.lp-glow {
  position: absolute;
  inset: -15% -10% auto;
  height: 60%;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(122, 12, 46, 0.55), transparent 58%),
    radial-gradient(ellipse at 85% 30%, rgba(11, 61, 145, 0.5), transparent 55%);
  animation: glowPulse 5.5s ease-in-out infinite alternate;
}
.lp-haze {
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 14, 0.55) 40%, rgba(6, 8, 14, 0.92) 100%);
}
.landing-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 1.25rem 1.15rem max(1.85rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.25rem;
  flex: 1;
}
.landing-hero-copy {
  position: relative;
  z-index: 3;
  animation: rise 0.7s ease both;
  max-width: 28rem;
  padding: 1rem 0.85rem 0.85rem;
  margin: 0 -0.35rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 10, 18, 0.15), rgba(8, 10, 18, 0.72) 28%, rgba(8, 10, 18, 0.88));
  backdrop-filter: blur(6px);
}
.landing-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
}
.landing-crest {
  width: 3.1rem;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.5));
  animation: crestIn 0.8s ease both;
}
.landing-brand-name {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.05;
}
.landing-product {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0c45a;
}
.landing-hero-copy h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 11vw, 3.4rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
  text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.landing-lead {
  margin: 0 0 1.35rem;
  color: rgba(247,244,241,0.72);
  font-size: 1.05rem;
  line-height: 1.45;
  max-width: 24rem;
}
.landing-cta {
  display: grid;
  gap: 0.65rem;
}
.landing-cta-inline {
  margin-top: 1.15rem;
  grid-template-columns: 1fr 1fr;
}
.landing-cta-end {
  max-width: 18rem;
}
.btn-xl {
  width: 100%;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  font-size: 1.02rem;
}

/* Mobil: saha atmosferik arka plan */
.landing-hero-visual {
  position: absolute;
  inset: 4% 2% 38%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.62;
}
.lp-field {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(88%, 300px);
  aspect-ratio: 3 / 4;
  transform: translate(-50%, -50%) perspective(800px) rotateX(54deg);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), transparent 14%),
    repeating-linear-gradient(90deg, #1f6b3a 0 14%, #185530 14% 28%);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.22),
    0 36px 70px rgba(0,0,0,0.45);
  animation: fieldRise 1s ease both;
  overflow: hidden;
}
.lp-holo {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 1;
  width: 42%;
  max-width: 7.5rem;
  height: auto;
  pointer-events: none;
  opacity: 0.26;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 8px rgba(140, 220, 255, 0.7))
    drop-shadow(0 0 22px rgba(122, 12, 46, 0.55))
    saturate(1.25)
    brightness(1.2);
  animation: holoPulseLp 3.6s ease-in-out infinite;
  transform-origin: center center;
}
@keyframes holoPulseLp {
  0%, 100% {
    opacity: 0.16;
    transform: translate(-50%, -50%) scale(1);
    filter:
      drop-shadow(0 0 6px rgba(140, 220, 255, 0.45))
      drop-shadow(0 0 16px rgba(122, 12, 46, 0.35))
      saturate(1.1)
      brightness(1.05);
  }
  50% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.06);
    filter:
      drop-shadow(0 0 14px rgba(160, 235, 255, 0.85))
      drop-shadow(0 0 30px rgba(122, 12, 46, 0.65))
      saturate(1.35)
      brightness(1.3);
  }
}
.lp-field::before {
  content: "";
  position: absolute;
  inset: 10%;
  z-index: 0;
  border: 2px solid rgba(255,255,255,0.28);
}
.lp-field::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  z-index: 0;
  border-top: 2px solid rgba(255,255,255,0.28);
}
.lp-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(122, 12, 46, 0.7), 0 0 14px rgba(30, 91, 184, 0.5);
  animation: dotIn 0.65s ease both;
}
.lp-dot:nth-child(odd) { animation-delay: 0.12s; }
.lp-dot:nth-child(3n) { animation-delay: 0.24s; }

.landing-block {
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}
.landing-block-alt {
  background: linear-gradient(180deg, rgba(11, 61, 145, 0.2), transparent 70%);
}
.landing-block h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.7rem);
  letter-spacing: 0.04em;
}
.landing-sub {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.how-steps li {
  counter-increment: step;
  display: grid;
  gap: 0.25rem;
  padding-left: 3rem;
  position: relative;
}
.how-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--bordo), var(--mavi));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}
.how-steps strong { font-size: 1.05rem; }
.how-steps span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}
.rule-strip {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  text-align: center;
}
.rule-strip li {
  padding: 0.85rem 0.25rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-size: 0.78rem;
  color: var(--muted);
}
.rule-strip em {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.rule-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.landing-leagues { margin: 0; }
.landing-end {
  padding-bottom: max(3.25rem, env(safe-area-inset-bottom));
}
.landing-end code {
  color: var(--gold);
  font-size: 0.9em;
}

@keyframes glowPulse {
  from { opacity: 0.75; transform: scale(1); }
  to { opacity: 1; transform: scale(1.05); }
}
@keyframes fieldRise {
  from { opacity: 0; transform: translate(-50%, -42%) perspective(800px) rotateX(54deg) translateY(28px); }
  to { opacity: 1; transform: translate(-50%, -50%) perspective(800px) rotateX(54deg); }
}
@keyframes dotIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes crestIn {
  from { opacity: 0; transform: translateY(10px) scale(0.92); }
  to { opacity: 1; transform: none; }
}

/* Masaüstü hero: iki kolon, sağda baskın saha */
@media (min-width: 900px) {
  .landing-hero {
    min-height: calc(100svh - 6.2rem);
    min-height: calc(100dvh - 6.2rem);
  }
  .landing-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 1.5rem 2.75rem;
    width: min(1180px, 100%);
  }
  .landing-hero-copy {
    max-width: 34rem;
    justify-self: start;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
  }
  .landing-kicker { margin-bottom: 1.25rem; }
  .landing-crest { width: 4.4rem; }
  .landing-brand-name { font-size: 2rem; }
  .landing-product { font-size: 0.8rem; letter-spacing: 0.14em; }
  .landing-hero-copy h1 {
    font-size: clamp(3.2rem, 5vw, 4.4rem);
    margin-bottom: 0.85rem;
  }
  .landing-lead {
    font-size: 1.15rem;
    max-width: 28rem;
    margin-bottom: 1.6rem;
  }
  .landing-cta {
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 0.75rem;
  }
  .landing-cta .btn-xl {
    width: auto;
    min-width: 11.5rem;
    padding: 0.95rem 1.35rem;
  }
  .landing-hero-visual {
    position: relative;
    inset: auto;
    opacity: 1;
    height: min(72vh, 620px);
    display: grid;
    place-items: center;
  }
  .lp-field {
    left: 50%;
    top: 46%;
    width: min(100%, 460px);
    transform: translate(-50%, -50%) perspective(900px) rotateX(48deg) rotateZ(-6deg);
    animation: fieldRiseDesk 1s ease both;
  }
  .lp-holo {
    width: 38%;
    max-width: 9rem;
  }
  .lp-haze { display: none; }
  .landing-block { padding: 3.5rem 0; }
  .how-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .how-steps li {
    padding: 1.15rem 1.1rem 1.15rem 1.1rem;
    padding-top: 3.4rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
  }
  .how-steps li::before {
    top: 1rem;
    left: 1.1rem;
  }
  .rule-strip { gap: 0.75rem; }
  .landing-cta-inline { max-width: 26rem; }
}

@keyframes fieldRiseDesk {
  from { opacity: 0; transform: translate(-50%, -46%) perspective(900px) rotateX(48deg) rotateZ(-6deg) translateY(30px); }
  to { opacity: 1; transform: translate(-50%, -50%) perspective(900px) rotateX(48deg) rotateZ(-6deg); }
}

@media (max-width: 520px) {
  .rule-strip { grid-template-columns: repeat(2, 1fr); }
}


/* —— Bilgi sayfaları —— */
body.info-shell {
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(122, 12, 46, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 35% at 100% 0%, rgba(11, 61, 145, 0.35), transparent 50%),
    linear-gradient(165deg, #1a0c14 0%, #0a1428 50%, #120910 100%);
}
.info-main {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 1rem 3rem;
}
.info-page {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.5rem 2rem;
  padding-top: 1.5rem;
  align-items: start;
}
.info-subnav {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 10, 16, 0.65);
}
.info-subnav a {
  color: rgba(247,244,241,0.75);
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  border-left: 3px solid transparent;
}
.info-subnav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.04);
}
.info-subnav a.is-active {
  color: #fff;
  background: rgba(122, 12, 46, 0.28);
  border-left-color: var(--bordo);
}
.info-article {
  min-width: 0;
  padding: 0.25rem 0 1rem;
}
.info-head { margin-bottom: 1.75rem; }
.info-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0c45a;
  font-weight: 800;
}
.info-head h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
}
.info-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 40rem;
}
.info-block { margin: 0 0 1.75rem; }
.info-block h2,
.info-steps h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}
.info-block p { margin: 0 0 0.75rem; color: rgba(247,244,241,0.88); line-height: 1.55; }
.info-block ul {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  color: rgba(247,244,241,0.88);
  line-height: 1.55;
}
.info-block li { margin: 0 0 0.4rem; }
.info-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
  color: rgba(247,244,241,0.88);
  line-height: 1.45;
}
.info-list a { color: #9ec0f0; }
.info-steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
.info-steps li {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
}
.info-steps p { margin: 0; color: var(--muted); line-height: 1.5; }
.info-callout {
  padding: 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(122, 12, 46, 0.45);
  background: linear-gradient(135deg, rgba(122,12,46,0.22), rgba(11,61,145,0.18));
}
.info-callout h2 { margin: 0 0 0.75rem; font-size: 1.1rem; }
.info-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}
.info-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.info-table-wrap { overflow-x: auto; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.info-table th,
.info-table td {
  text-align: left;
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid var(--line);
}
.info-table th {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.info-faq { display: grid; gap: 0.55rem; }
.info-faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  padding: 0.15rem 0.85rem;
}
.info-faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0;
  list-style: none;
}
.info-faq summary::-webkit-details-marker { display: none; }
.info-faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}
.info-faq details[open] summary::after { content: "–"; }
.info-faq p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}
.sitemap-grid h2 {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0c45a;
}

@media (max-width: 860px) {
  .info-page {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .info-subnav {
    position: static;
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding: 0.55rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .info-subnav a {
    flex: 0 0 auto;
    white-space: nowrap;
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
  }
  .info-subnav a.is-active {
    border-left: none;
    border-bottom-color: var(--bordo);
  }
}

/* —— İstatistik / sıralama / kilit —— */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}
@media (min-width: 720px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-card {
  padding: 1rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  text-align: center;
  color: inherit;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
a.stat-card:hover,
a.stat-card:focus-visible {
  border-color: rgba(158, 192, 240, 0.45);
  background: rgba(255,255,255,0.06);
  color: inherit;
  transform: translateY(-1px);
}
a.stat-card:focus-visible {
  outline: 2px solid rgba(158, 192, 240, 0.65);
  outline-offset: 2px;
}
.stat-card em {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.3rem;
}
#deadline-card #deadline-countdown,
.stat-card#deadline-card em {
  font-family: var(--font-body, "DM Sans", system-ui, sans-serif);
  font-size: clamp(0.95rem, 3.2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.hud-deadline #deadline-countdown {
  font-family: var(--font-body, "DM Sans", system-ui, sans-serif);
}
.stat-card span {
  color: var(--muted);
  font-size: 0.8rem;
}
.stat-card.is-warn {
  border-color: rgba(122, 12, 46, 0.55);
  background: rgba(122, 12, 46, 0.18);
}
.deadline-box.is-locked {
  border-color: rgba(122, 12, 46, 0.5);
  background: rgba(122, 12, 46, 0.12);
}
.deadline-msg {
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.rank-table {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.rank-table li {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.rank-pos {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
  text-align: center;
}
.rank-main {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}
.rank-main strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-main small {
  color: var(--muted);
  font-size: 0.78rem;
}
.rank-pts {
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.award-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.award-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.award-list em {
  font-style: normal;
  color: var(--gold);
  font-size: 0.9rem;
}
.award-list span,
.award-list small {
  color: var(--muted);
  font-size: 0.9rem;
}
.lock-banner {
  margin: 0.35rem 1rem 0.15rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(11, 61, 145, 0.2);
  font-size: 0.85rem;
  color: rgba(247,244,241,0.85);
}
.lock-banner.is-locked {
  border-color: rgba(122, 12, 46, 0.55);
  background: rgba(122, 12, 46, 0.22);
}
.lock-banner.is-postponed {
  border-color: rgba(196, 140, 20, 0.55);
  background: rgba(196, 140, 20, 0.18);
}
.squad-ad {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0.45rem 1rem 0.1rem;
  padding: 0.7rem 0.8rem;
  min-height: 4.35rem;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px dashed rgba(201, 162, 39, 0.55);
  background:
    linear-gradient(120deg, rgba(122, 12, 46, 0.92) 0%, rgba(11, 61, 145, 0.88) 55%, rgba(78, 7, 28, 0.92) 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.squad-ad::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 120%, rgba(201, 162, 39, 0.28), transparent 46%),
    repeating-linear-gradient(
      -18deg,
      transparent 0 10px,
      rgba(255, 255, 255, 0.035) 10px 12px
    );
  pointer-events: none;
}
.squad-ad:hover,
.squad-ad:focus-visible {
  filter: brightness(1.08);
  border-color: rgba(201, 162, 39, 0.9);
}
.squad-ad-photo {
  flex: 0 0 3.15rem;
  width: 3.15rem;
  height: 3.15rem;
  object-fit: cover;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.squad-ad-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}
.squad-ad-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0c45a;
}
.squad-ad-title {
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 700;
}
.squad-ad-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 42%;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  background: #25d366;
  color: #073b1a;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}
.squad-ad-wa { flex-shrink: 0; }
@media (max-width: 420px) {
  .squad-ad { margin-left: 0.75rem; margin-right: 0.75rem; padding: 0.6rem 0.65rem; }
  .squad-ad-title { font-size: 0.86rem; }
  .squad-ad-cta { font-size: 0.66rem; padding: 0.38rem 0.5rem; }
}
.hud-card.is-locked strong { color: #f0c45a; }
.hud-deadline.is-locked {
  border-color: rgba(122, 12, 46, 0.45);
  background: rgba(122, 12, 46, 0.16);
}
.landing-stats-block { padding-top: 2rem; }

.week-winner-banner {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0 0 1.15rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(240, 196, 90, 0.38);
  background:
    linear-gradient(135deg, rgba(122, 12, 46, 0.42), rgba(11, 17, 14, 0.55) 55%),
    #10180f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.week-winner-banner.is-hero {
  margin: 1.1rem 0 0;
  max-width: 28rem;
}
.landing-hero-copy .week-winner-banner {
  margin-top: 1.15rem;
}
.week-winner-banner:hover,
.week-winner-banner:focus-visible {
  border-color: rgba(240, 196, 90, 0.7);
}
.week-winner-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0c45a;
}
.week-winner-name {
  font-size: 1.28rem;
  line-height: 1.2;
}
.week-winner-meta {
  font-size: 0.88rem;
  color: var(--muted, #b7c4bb);
}

/* —— Oyuncular sayfası —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.players-filters {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}
@media (min-width: 720px) {
  .players-filters {
    grid-template-columns: 1.4fr 0.8fr 1fr auto;
    align-items: center;
  }
}
.players-filters input,
.players-filters select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0b110e;
  color: var(--text);
  font: inherit;
}
.players-count { margin: 0 0 0.75rem; font-size: 0.9rem; }
.players-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}
.players-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 0.92rem;
}
.players-table th,
.players-table td {
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  box-sizing: border-box;
  line-height: 1.25;
}
.players-table th:first-child,
.players-table td:first-child { width: 2.4rem; }
.players-table th:nth-child(2),
.players-table td:nth-child(2) { width: 38%; }
.players-table th:nth-child(3),
.players-table td:nth-child(3) { width: 3.2rem; }
.players-table th:nth-child(4),
.players-table td:nth-child(4) { width: 5.5rem; }
.players-table th:nth-child(5),
.players-table td:nth-child(5) { width: 4.2rem; }
.players-table th:nth-child(6),
.players-table td:nth-child(6) { width: 3.6rem; }
.players-table th {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  background: rgba(0,0,0,0.2);
}
.players-table tbody tr:last-child td { border-bottom: none; }
.pt-flag {
  display: inline-block;
  min-width: 1.4rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.82rem;
}
.pt-player {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  max-width: 100%;
}
.pt-player strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-weight: 700;
}
.pt-player img,
.pt-fallback {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #1a1020;
  border: 1px solid var(--line);
}
.pt-fallback {
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--bordo), var(--mavi));
}
.pt-club {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  min-height: 1.25rem;
}
.pt-club img {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
  flex-shrink: 0;
}
.pt-club span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pt-price { color: var(--gold); font-weight: 700; white-space: nowrap; }
.pt-pts { font-weight: 800; white-space: nowrap; }

/* —— Üyeler (oyun katılımcıları) —— */
.members-filters {
  grid-template-columns: 1fr auto;
}
.member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.member-row {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: inherit;
  text-decoration: none;
}
.member-row:hover {
  border-color: rgba(122, 12, 46, 0.55);
  background: rgba(122, 12, 46, 0.12);
}
.member-side {
  text-align: right;
  display: grid;
  gap: 0.1rem;
}
.member-side em {
  font-style: normal;
  font-weight: 800;
  color: #fff;
}
.member-side small {
  color: var(--muted);
  font-size: 0.75rem;
}
/* —— Kadro paylaşım —— */
.share-page .share-head {
  margin-bottom: 0.85rem;
}
.share-page .share-head .info-eyebrow {
  margin-bottom: 0.15rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}
.share-page .share-head h1 {
  margin: 0 0 0.2rem;
  font-size: clamp(1.35rem, 4.5vw, 1.7rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.share-page .share-head-team {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.share-page .share-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.share-page .share-head-actions .btn {
  flex: 1 1 8rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.92rem;
}
.share-page .share-head .squad-share-hint {
  margin-top: 0.45rem;
}
.squad-share {
  display: grid;
  gap: 1.25rem;
}
.squad-share-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 1.25rem 1.1rem 1.15rem;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(122, 12, 46, 0.42), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 20%, rgba(11, 61, 145, 0.38), transparent 50%),
    linear-gradient(165deg, #2a0a16 0%, #0a1630 55%, #120910 100%);
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
}
.squad-share-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.squad-share-logo {
  width: 2.85rem;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(140, 220, 255, 0.35));
}
.squad-share-brand {
  margin: 0;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}
.squad-share-product {
  margin: 0.12rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(158, 192, 240, 0.9);
}
.squad-share-team {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1;
}
.squad-share-meta {
  margin: 0 0 1rem;
  color: rgba(247,244,241,0.7);
  font-size: 0.92rem;
  font-weight: 600;
}
.squad-share-pitch {
  max-width: min(480px, 100%);
  margin: 0 auto;
  min-height: calc(var(--pitch-rows, 4) * 5.4rem + 1.2rem);
}
.squad-share-code {
  margin: 1rem 0 0;
  text-align: center;
  color: rgba(247,244,241,0.8);
  font-size: 0.95rem;
}
.squad-share-code strong {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 1.25rem;
  color: #fff;
}
.squad-share-credit {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(158, 192, 240, 0.7);
}
.squad-share-actions-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.squad-share-social,
.squad-share-extra,
.squad-share-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}
.squad-share-social .btn,
.squad-share-extra .btn,
.squad-share-nav .btn {
  flex: 1 1 8rem;
  text-align: center;
}
.btn-share {
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: #fff !important;
  font-weight: 700;
}
.btn-share-fb { background: #1877f2 !important; }
.btn-share-x { background: #111 !important; border-color: rgba(255,255,255,0.25) !important; }
.btn-share-ig {
  background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af) !important;
  border: none !important;
  cursor: pointer;
}
.squad-share-hint { margin: 0.25rem 0 0.75rem; font-size: 0.88rem; }

@media (min-width: 860px) {
  .squad-share {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

.member-stats { margin-bottom: 1.25rem; }
.member-identity {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.member-avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    radial-gradient(circle at 30% 20%, rgba(122, 12, 46, 0.55), transparent 55%),
    rgba(0,0,0,0.35);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  display: grid;
  place-items: center;
}
.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.member-avatar.is-empty span {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.member-identity-copy {
  flex: 1 1 14rem;
  min-width: 0;
}
.member-identity-copy h1 { margin-bottom: 0.35rem; }

/* —— Bordo XI (herkese açık TS İlk 11) —— */
.ts-xi-shell .app-main {
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
}
.ts-xi-note {
  margin: 0.35rem 1rem 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.35;
}
.ts-xi-actions .ts-xi-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: stretch;
}
.ts-xi-actions .ts-xi-btn-row .btn {
  flex: 1 1 8rem;
}
.ts-xi-hint {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(158, 192, 240, 0.9);
}
.ts-xi-app .hud-card-tip strong {
  font-size: 0.9rem;
}
.ts-xi-app .slot-photo,
.ts-xi-app .slot-mono {
  border-radius: 0.55rem;
}
.ts-xi-app .pr-photo {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.55rem;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.25);
}
@media (max-width: 380px) {
  .ts-xi-note { margin-left: 0.6rem; margin-right: 0.6rem; font-size: 0.72rem; }
}

/* Rakip kadro kilidi (ilk maç öncesi) */
#squad-hidden-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
}
#squad-hidden-sheet .sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.72);
}
#squad-hidden-sheet .squad-hidden-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  margin: 0;
  border-radius: 18px 18px 0 0;
  padding: 1rem 1.1rem 1.35rem;
  background: linear-gradient(180deg, #1a1020, #0c101c);
  border: 1px solid var(--line);
  border-bottom: 0;
}
.squad-hidden-lead {
  margin: 0.35rem 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.45;
  color: #fff;
}
.squad-hidden-meta { margin: 0 0 1rem; }
@media (min-width: 720px) {
  #squad-hidden-sheet { place-items: center; }
  #squad-hidden-sheet .squad-hidden-panel {
    border-radius: 16px;
    border-bottom: 1px solid var(--line);
  }
}
.member-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
}
.member-meta > div {
  min-width: 6.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.member-meta dt {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.member-meta dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
  color: #fff;
}
.member-profile-actions {
  margin: 1rem 0 0;
}
.member-profile-actions .btn {
  display: inline-flex;
}
.member-squad-title {
  margin: 1.25rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}
.member-pitch {
  margin: 0 auto;
  max-width: 420px;
}
.member-bench { margin-top: 0.85rem; }
.pitch-readonly .slot {
  pointer-events: none;
}

.rank-table a {
  color: inherit;
  text-decoration: none;
}
.rank-table a:hover strong {
  color: var(--gold);
  text-decoration: underline;
}
.week-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 196, 90, 0.55) rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0 0.55rem;
}
.week-tabs::-webkit-scrollbar {
  height: 6px;
}
.week-tabs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
}
.week-tabs::-webkit-scrollbar-thumb {
  background: rgba(240, 196, 90, 0.55);
  border-radius: 99px;
}
.week-tab {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}
.week-tab small {
  font-weight: 600;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.week-tab.is-open small { color: #7dcea0; }
.week-tab.is-locked small { color: #f0c45a; }
.week-tab.is-closed small { color: var(--muted); }
.week-tab.is-active {
  border-color: #f0c45a;
  background: linear-gradient(180deg, rgba(122,12,46,0.55), rgba(11,61,145,0.35));
}
.week-tab:hover {
  border-color: var(--gold);
}
.sv-rules-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 1.5rem);
  margin: 0.7rem 0.75rem 0;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(240, 196, 90, 0.55);
  background: rgba(240, 196, 90, 0.1);
  color: #f0c45a;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.sv-rules-btn:hover {
  background: rgba(240, 196, 90, 0.18);
}
.squad-locked-note {
  margin-top: 0.5rem;
}
.rank-fold {
  margin: 0 0 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0 0.9rem 0.85rem;
}
.rank-fold > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
  padding: 0.85rem 0 0.5rem;
  font-weight: 700;
}
.rank-fold > summary::-webkit-details-marker,
.rank-fold > summary::marker {
  display: none;
  content: "";
}
.rank-fold > summary::after {
  content: "+";
  margin-left: auto;
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}
.rank-fold[open] > summary::after {
  content: "–";
}
.rank-fold-title {
  font-size: 1.15rem;
}
.rank-fold-meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.rank-fold-nested {
  margin: 0.55rem 0 0;
  padding: 0 0.75rem 0.7rem;
  background: rgba(0, 0, 0, 0.18);
}
.rank-fold .landing-sub {
  margin: 0 0 0.65rem;
}
.info-page .rank-week-tabs {
  margin: 0.35rem 0 1rem;
}

.ts-predict-card {
  margin: 0.65rem 0 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 61, 145, 0.28);
}
.ts-predict-card.is-open {
  border-color: #f0c45a;
}
.ts-predict-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
  margin: 0 0 0.4rem;
}
.ts-predict-head .ts-predict-help {
  width: 1.7rem;
  height: 1.7rem;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 800;
}
.ts-predict-head span,
.ts-predict-msg,
.ts-predict-bonus,
.ts-predict-locked-score {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}
.ts-predict-cd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.65rem;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.82rem;
  color: var(--muted);
}
.ts-predict-cd strong {
  font-variant-numeric: tabular-nums;
  color: #fff;
  letter-spacing: 0.02em;
}
.ts-predict-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  align-items: flex-end;
}
.ts-predict-form label {
  display: grid;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.ts-predict-form input[type="number"] {
  width: 4.2rem;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}
.ts-predict-sep {
  font-weight: 800;
  padding-bottom: 0.45rem;
}
.ts-predict-form select,
.ts-score-form select {
  min-width: 4.2rem;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}
.ts-score-app {
  padding-bottom: 2rem;
}
.ts-score-weeks {
  margin: 0.75rem 1rem 0;
}
.week-tab.ts-score-crest {
  flex-direction: column;
  padding: 0.4rem 0.5rem 0.35rem;
  min-width: 4.4rem;
}
.ts-score-crests {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.ts-score-crests img,
.ts-score-club img {
  width: 1.85rem;
  height: 1.85rem;
  object-fit: contain;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  padding: 0.12rem;
}
.ts-score-club img {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.35rem;
  display: block;
  padding: 0.2rem;
}
.ts-score-crest-fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.ts-score-club .ts-score-crest-fb {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.35rem;
  font-size: 0.85rem;
}
.ts-score-match {
  margin: 0.85rem 1rem 1.1rem;
  padding: 1rem 1.05rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(11, 61, 145, 0.28);
}
.ts-score-when,
.ts-score-msg {
  margin: 0 0 0.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.ts-score-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 0.85rem;
  text-align: center;
}
.ts-score-club strong {
  display: block;
  font-size: 1.05rem;
}
.ts-score-club span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ts-score-mid em {
  font-style: normal;
  font-size: 1.55rem;
  font-weight: 800;
  color: #f0c45a;
}
.ts-score-mid span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}
.ts-score-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  align-items: flex-end;
  justify-content: center;
}
.ts-score-form label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.ts-score-board {
  margin: 0 1rem 1.5rem;
}
.ts-score-board h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}
.ts-score-list li.is-exact {
  border-color: #f0c45a;
}
.ts-score-list li.is-mine {
  outline: 1px solid rgba(240, 196, 90, 0.55);
}
.ts-score-list .rank-pts small {
  display: block;
  font-size: 0.68rem;
  color: #f0c45a;
  font-weight: 700;
}

/* BMN Survivor */
.sv-app .hud {
  padding-bottom: 0.35rem;
  grid-template-columns: repeat(4, 1fr);
}
.sv-bye-form {
  margin: 0.55rem 0.75rem 0.15rem;
  text-align: center;
}
.sv-bye-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(240, 196, 90, 0.45);
  background: rgba(11, 61, 145, 0.35);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
}
.sv-bye-btn:hover { border-color: #f0c45a; }
.sv-bye-form .muted { margin: 0.4rem 0 0; font-size: 0.8rem; }
.sv-banner {
  margin: 0.85rem 1rem 0.35rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 61, 145, 0.28);
  text-align: center;
  font-size: 0.9rem;
}
.sv-banner-out { background: rgba(122, 12, 46, 0.35); }
.sv-banner-win {
  background: linear-gradient(90deg, rgba(122,12,46,0.55), rgba(11,61,145,0.45));
  border-color: #f0c45a;
}
.sv-join {
  margin: 0.85rem 1rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(11, 61, 145, 0.28);
  text-align: center;
}
.sv-join p { margin: 0 0 0.85rem; font-size: 0.92rem; line-height: 1.45; }
.sv-list { margin: 0.5rem 0 1rem; padding: 0 0.75rem; display: grid; gap: 0.65rem; }
.sv-fx {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,0.22);
  padding: 0.65rem 0.7rem 0.75rem;
}
.sv-fx.is-void { opacity: 0.55; }
.sv-fx-when {
  margin: 0 0 0.45rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sv-fx-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.35rem;
  align-items: stretch;
}
.sv-fx-vs {
  align-self: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  padding: 0 0.15rem;
  text-align: center;
  line-height: 1.15;
}
.sv-fx-vs em {
  display: block;
  font-style: normal;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.sv-fx-vs small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sv-side,
.sv-side button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.35rem 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: default;
}
.sv-side form,
.sv-side.sv-side { min-width: 0; }
.sv-side button {
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
}
form.sv-side {
  cursor: pointer;
  background: rgba(255,255,255,0.06);
}
form.sv-side:hover {
  border-color: #f0c45a;
  background: rgba(240, 196, 90, 0.1);
}
.sv-side img,
.sv-side .ts-score-crest-fb {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  padding: 0.15rem;
}
.sv-side strong {
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 700;
}
.sv-side span {
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sv-side.is-picked {
  border-color: #f0c45a;
  box-shadow: 0 0 0 1px rgba(240,196,90,0.4);
}
.sv-side.is-used,
.sv-side.is-blocked {
  opacity: 0.45;
}
.sv-rules {
  margin: 0.5rem 1rem 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.18);
}
.sv-rules h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.sv-rules ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}
.sv-rules li { margin: 0.2rem 0; }
.sv-rules strong { color: #fff; }

.howto-sheet {
  z-index: 95;
  place-items: end center;
}
.howto-sheet .howto-panel {
  width: min(32rem, calc(100% - 1.25rem));
  margin: 0 auto;
  gap: 0.85rem;
  padding: 1rem 1.15rem max(1.1rem, env(safe-area-inset-bottom));
  max-height: min(88dvh, 88svh) !important;
  overflow: auto;
  background: linear-gradient(180deg, #1a1020, #0c101c);
}
.howto-lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #fff;
}
.howto-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  counter-reset: howto;
}
.howto-steps li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}
.howto-steps li::before {
  content: counter(howto);
  counter-increment: howto;
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--bordo), var(--mavi));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}
.howto-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.howto-copy strong {
  display: block;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.howto-extra {
  margin: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(240, 196, 90, 0.35);
  background: rgba(240, 196, 90, 0.08);
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}
.howto-extra strong {
  display: block;
  color: #f0c45a;
  margin-bottom: 0.25rem;
}
.howto-extra em { font-style: normal; color: #fff; }
.howto-panel .btn { width: 100%; }
@media (min-width: 720px) {
  .howto-sheet { place-items: center; }
  .howto-sheet .howto-panel {
    border-radius: 16px;
    border-bottom: 1px solid var(--line);
  }
}

body.push-prompt-open { overflow: hidden; }
.push-prompt[hidden] { display: none !important; }
.push-prompt {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.push-prompt-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 9, 14, 0.78);
  backdrop-filter: blur(6px);
}
.push-prompt-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 2rem));
  padding: 1.35rem 1.2rem 1.15rem;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(165deg, rgba(122, 12, 46, 0.72), rgba(18, 9, 14, 0.92)),
    #1a0e14;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}
.push-prompt-kicker {
  margin: 0 0 0.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
}
.push-prompt-dialog h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
}
.push-prompt-text {
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.45;
  font-size: 0.95rem;
}
.push-prompt-status {
  margin: 0 0 0.85rem;
  color: #fde68a;
  font-size: 0.88rem;
}
.push-prompt-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.push-prompt-actions .btn-primary,
.push-prompt-actions .btn-ghost {
  width: 100%;
}

.pts-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 0.5rem;
  align-items: center;
}
.pts-filters input[type="search"],
.pts-filters select {
  min-height: 2.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: inherit;
  font: inherit;
}
.pts-filters input[type="search"] {
  flex: 1 1 12rem;
  min-width: 10rem;
}
.pts-count { margin: 0.35rem 0 0.6rem; font-size: 0.88rem; }
.pts-note { margin: 0.4rem 0; }
.pts-table th:nth-child(5),
.pts-table td:nth-child(5) { width: 3.2rem; text-align: center; }
.pts-table th:nth-child(6),
.pts-table td:nth-child(6),
.pts-table th:nth-child(7),
.pts-table td:nth-child(7) { width: 4rem; text-align: right; font-variant-numeric: tabular-nums; }
.pts-table tr.is-dnp td { opacity: 0.72; }
.pts-table tr.is-dnp .pt-pts { color: var(--muted); }
.pts-table tr.is-played .pt-pts { font-weight: 700; }

/* —— Halı saha (gizli, lig dışı 8’li) —— */
.halsaha-shell .app-main {
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
}
.halsaha-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.55rem;
  padding: 0.7rem 1rem 0;
}
.halsaha-meta label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.halsaha-meta .halsaha-venue {
  grid-column: 1 / -1;
}
.halsaha-meta input {
  min-height: 2.35rem;
  padding: 0.3rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: inherit;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}
.halsaha-hud .hud-card.is-bordo.is-on {
  border-color: #c42a4a;
  background: linear-gradient(180deg, rgba(122,12,46,0.45), rgba(122,12,46,0.18));
}
.halsaha-hud .hud-card.is-mavi.is-on {
  border-color: #4a7fd4;
  background: linear-gradient(180deg, rgba(11,61,145,0.5), rgba(11,61,145,0.18));
}
.halsaha-pitch.pitch,
.pitch.halsaha-pitch[data-rows="10"] {
  --pitch-rows: 10;
  min-height: min(78dvh, 48rem);
  gap: 0.42rem;
  padding: 1.55rem 0.35rem 1.55rem;
  justify-content: space-evenly;
  background:
    linear-gradient(180deg, rgba(122,12,46,0.28) 0%, transparent 42%, transparent 58%, rgba(11,61,145,0.32) 100%),
    repeating-linear-gradient(90deg, #1f6b3a 0 12%, #1a5c32 12% 24%);
}
.halsaha-end {
  position: absolute;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  color: #fff;
}
.halsaha-end-top { top: 0.32rem; background: #7A0C2E; }
.halsaha-end-bot { bottom: 0.32rem; background: #0B3D91; }
.halsaha-pitch .pitch-holo img {
  width: min(28%, 5.5rem);
  opacity: 0.1;
  mix-blend-mode: normal;
  filter: saturate(0.9) brightness(1.05);
  animation: none;
}
.halsaha-pitch .pitch-holo::after { display: none; }
.halsaha-pitch .slot {
  min-height: 2.85rem;
  min-width: 2.7rem;
  width: min(4.5rem, 24vw);
  padding: 0.12rem 0.08rem;
  border-radius: 10px;
}
.halsaha-pitch .slot.empty {
  background: rgba(8, 16, 12, 0.72);
}
.halsaha-pitch .slot-mono {
  width: 1.35rem;
  height: 1.35rem;
  font-size: 0.5rem;
}
.halsaha-pitch .slot-name {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  text-shadow: 0 1px 2px rgba(0,0,0,0.55);
}
.halsaha-pitch .slot-plus { font-size: 1.05rem; }
.halsaha-pitch .slot-pos {
  font-size: 0.68rem;
  font-weight: 800;
}
.halsaha-pitch .slot-photo {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  object-fit: cover;
}
#hs-picker-search {
  width: calc(100% - 1.7rem);
  margin: 0 0.85rem 0.4rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0b110e;
  color: inherit;
  font: inherit;
}
#hs-picker .picker-row,
#hs-people-sheet .picker-row {
  gap: 0.55rem;
  padding: 0.4rem 0.7rem;
  width: 100%;
  min-height: 3.2rem;
}
#hs-picker .picker-row .pr-photo,
#hs-people-sheet .picker-row .pr-photo,
#hs-picker .picker-row .slot-mono,
#hs-people-sheet .picker-row .slot-mono {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}
.halsaha-pitch .slot.is-bordo.filled {
  border-color: #e07088;
  background: rgba(122, 12, 46, 0.62);
}
.halsaha-pitch .slot.is-mavi.filled {
  border-color: #7eb0ff;
  background: rgba(11, 61, 145, 0.62);
}
.halsaha-pitch .slot.is-bordo.empty { border-color: rgba(224, 112, 136, 0.55); }
.halsaha-pitch .slot.is-mavi.empty { border-color: rgba(126, 176, 255, 0.55); }
@media (max-width: 380px) {
  .pitch.halsaha-pitch[data-rows="10"] {
    min-height: min(74dvh, 42rem);
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
    gap: 0.32rem;
  }
}
.halsaha-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: stretch;
}
.halsaha-btn-row .btn { flex: 1 1 8rem; }
.halsaha-add {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem 1rem;
  border-top: 1px solid var(--line);
}
.halsaha-add input {
  flex: 1;
  min-height: 2.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: inherit;
  font: inherit;
}
.halsaha-people-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: default;
}


