/* BestManagerArena – site stilleri (mobil öncelikli) */
:root {
  --green-900: #163f1c;
  --green-800: #1d5424;
  --green-700: #236a2d;
  --green-600: #2f7f39;
  --green-500: #3f9a4a;
  --teal-600: #237f7c;
  --teal-500: #2c9690;
  --teal-300: #7fe3d3;
  --teal-200: #a9f0e4;
  --gold: #e3c46b;
  --white: #ffffff;
  --text: #f3faf4;
  --muted: rgba(243, 250, 244, 0.72);
  --card: rgba(10, 40, 16, 0.38);
  --card-border: rgba(255, 255, 255, 0.14);
  --danger: #ffb4a8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  --font-display: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 68px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--green-700) url("../img/stadium.svg") center top / cover no-repeat fixed;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--teal-300); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
main { flex: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(20, 70, 30, 0.92), rgba(20, 70, 30, 0.72));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: clamp(1.15rem, 4.6vw, 2rem);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.brand img { width: 38px; height: auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35)); }
.brand .tld { opacity: 0.85; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 10px;
  background: rgba(255, 255, 255, 0.08); color: var(--white); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px var(--gutter) 20px;
  background: rgba(22, 63, 28, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.site-nav.open { transform: none; opacity: 1; visibility: visible; }
.site-nav a {
  display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 8px 12px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.site-nav a.active { color: var(--teal-300); }
.site-nav .nav-avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--teal-300); background: var(--green-600); }
[hidden] { display: none !important; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; flex-direction: row; align-items: center; gap: 8px;
    padding: 0; background: none; border: 0; box-shadow: none;
    transform: none; opacity: 1; visibility: visible;
  }
  .site-nav a { min-height: 44px; font-size: 1.12rem; padding: 6px 12px; position: relative; }
  .site-nav a:hover { background: none; }
  .site-nav a.active::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
    height: 3px; border-radius: 2px; background: var(--teal-300);
  }
}

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(28px, 6vh, 64px);
  padding: 40px 0 56px;
  text-align: center;
}
.hero-avatar {
  position: relative;
  width: clamp(190px, 52vw, 290px); aspect-ratio: 1;
  border-radius: 50%;
  border: clamp(6px, 1.6vw, 10px) solid var(--white);
  background: var(--green-500);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.10), 0 0 60px 16px rgba(255, 255, 255, 0.35), var(--shadow);
  overflow: hidden;
  animation: rise 0.7s ease both;
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-title { margin: 0; }
.taglines {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin: 0; padding: 0; list-style: none;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.45rem, 6.2vw, 2.6rem); line-height: 1.1;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  animation: rise 0.7s 0.15s ease both;
}
.taglines li { order: 2; }
.taglines li.cta-item { order: 3; margin-top: 10px; }
.hero-sub { max-width: 560px; margin: 0; padding: 0 var(--gutter); color: var(--muted); font-size: 1.05rem; }

@media (min-width: 900px) {
  .taglines { flex-direction: row; gap: clamp(28px, 4vw, 56px); }
  .taglines li, .taglines li.cta-item { order: 0; margin: 0; }
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px;
  border-radius: 12px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none;
  cursor: pointer; transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-primary {
  background: linear-gradient(180deg, var(--teal-500), var(--teal-600));
  border-color: var(--teal-300); color: var(--white);
  box-shadow: 0 0 0 3px rgba(127, 227, 211, 0.18), 0 8px 22px rgba(0, 0, 0, 0.28);
}
.btn-hero { font-size: inherit; padding: 14px 36px; border-radius: 16px; border-width: 3px; }
.btn-ghost { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn-danger { background: rgba(255, 120, 100, 0.15); border-color: rgba(255, 160, 140, 0.6); color: var(--white); }
.btn-block { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: rgba(12, 45, 18, 0.45); border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.eyebrow { font-family: var(--font-display); font-weight: 700; color: var(--teal-300); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.9rem; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 1.08rem; }

.steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; }
.step {
  position: relative; padding: 22px 20px 20px 72px;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  background: var(--teal-600); border: 2px solid var(--teal-300);
}
.step p { color: var(--muted); margin: 0; }

.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
.feature {
  padding: 22px 20px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--card-border);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(127, 227, 211, 0.5); }
.feature .icon {
  width: 48px; height: 48px; margin-bottom: 14px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(127, 227, 211, 0.14); color: var(--teal-200);
}
.feature .icon svg { width: 26px; height: 26px; }
.feature p { color: var(--muted); margin: 0; }
.badge-soon {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; vertical-align: middle;
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em; text-transform: none;
  background: rgba(227, 196, 107, 0.18); color: var(--gold); border: 1px solid rgba(227, 196, 107, 0.45);
}

@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(3, 1fr); }
}

.cta-band { text-align: center; }
.cta-band .crest { width: 140px; margin: 0 auto 18px; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35)); }

/* ---------- Footer ---------- */
.site-footer { padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); text-align: center; font-size: 0.9rem; color: var(--muted); }
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 6px; }
.site-footer a { text-decoration: none; padding: 6px 2px; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Auth / form pages ---------- */
.page-center { display: flex; align-items: flex-start; justify-content: center; padding: 28px 0 48px; }
@media (min-height: 760px) and (min-width: 640px) { .page-center { align-items: center; min-height: calc(100vh - var(--header-h) - 80px); } }
.card {
  width: 100%; max-width: 440px;
  padding: 28px 22px;
  background: rgba(14, 48, 20, 0.78);
  border: 1px solid var(--card-border); border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
@media (min-width: 480px) { .card { padding: 34px 32px; } }
.card-wide { max-width: 760px; }
.card .crest { width: 110px; margin: -8px auto 10px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35)); }
.card h1 { text-align: center; font-size: 1.8rem; text-transform: uppercase; }
.card .lead { text-align: center; }

.form { display: grid; gap: 16px; margin-top: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.95rem; }
.input-wrap { position: relative; }
.field input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.95); color: #10240f;
  font-size: 16px; /* iOS yakınlaştırmasını önler */
}
.field input:focus { outline: none; border-color: var(--teal-300); box-shadow: 0 0 0 3px rgba(127, 227, 211, 0.35); }
.field input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 140, 120, 0.3); }
.input-wrap input { padding-right: 56px; }
.pw-toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 10px;
  background: transparent; color: #2d4a2c; cursor: pointer; display: grid; place-items: center;
}
.pw-toggle svg { width: 22px; height: 22px; }
.hint { margin-top: 6px; font-size: 0.85rem; color: var(--muted); }
.rules { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 0.86rem; }
.rules li { color: var(--muted); padding-left: 22px; position: relative; }
.rules li::before { content: "○"; position: absolute; left: 2px; }
.rules li.ok { color: var(--teal-200); }
.rules li.ok::before { content: "✓"; }

.alert {
  padding: 12px 14px; border-radius: 12px; font-size: 0.95rem;
  background: rgba(255, 110, 90, 0.16); border: 1px solid rgba(255, 150, 130, 0.55); color: #ffe3dd;
}
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.alert-ok { background: rgba(127, 227, 211, 0.14); border-color: rgba(127, 227, 211, 0.5); color: var(--teal-200); }
.form-foot { text-align: center; margin-top: 18px; color: var(--muted); }
.form-foot a { color: var(--teal-200); font-weight: 500; }

/* ---------- Profile ---------- */
.profile-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 22px; }
.profile-head .avatar { width: 108px; height: 108px; border-radius: 50%; border: 5px solid var(--white); background: var(--green-500); box-shadow: 0 0 30px rgba(255, 255, 255, 0.25); }
.profile-head h1 { margin: 0; font-size: 1.9rem; text-transform: none; }
.role-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem;
  background: rgba(127, 227, 211, 0.16); border: 1px solid var(--teal-300); color: var(--teal-200);
}
.info-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 22px; }
.info-grid div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--card-border); }
.info-grid dt { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.info-grid dd { margin: 2px 0 0; font-weight: 500; word-break: break-word; }
@media (min-width: 560px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.chips li { padding: 4px 10px; border-radius: 999px; font-size: 0.85rem; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--card-border); }
.divider { height: 1px; background: var(--card-border); margin: 24px 0; border: 0; }
.actions { display: grid; gap: 12px; }
@media (min-width: 560px) { .actions { grid-template-columns: 1fr 1fr; } }
details.pw-panel summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; min-height: 44px; display: flex; align-items: center; }

/* ---------- Leaderboard ---------- */
.empty { text-align: center; padding: 18px 0 6px; }
.empty .trophy { width: 84px; height: 84px; margin: 0 auto 14px; color: var(--gold); }
.board-preview { margin-top: 24px; border-radius: 14px; overflow: hidden; border: 1px dashed rgba(255, 255, 255, 0.25); }
.board-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; color: rgba(255, 255, 255, 0.45); }
.board-row + .board-row { border-top: 1px dashed rgba(255, 255, 255, 0.15); }
.board-row .bar { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); }
.board-row .pos { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }

.loading { text-align: center; color: var(--muted); padding: 30px 0; }

.sr-only:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--white); color: var(--green-900); }

/* ---------- Kayıt adımları / SMS kodu ---------- */
.stepper { display: flex; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: st; }
.stepper li {
  flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px;
  font-size: 0.88rem; color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--card-border);
}
.stepper li::before {
  counter-increment: st; content: counter(st);
  width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 0.8rem; background: rgba(255, 255, 255, 0.12);
}
.stepper li.on { color: var(--white); border-color: var(--teal-300); }
.stepper li.on::before { background: var(--teal-600); }
.code-input { text-align: center; font-family: var(--font-display); font-size: 1.8rem !important; letter-spacing: 0.5em; padding-left: 0.5em !important; }
.verify-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.link-btn {
  min-height: 44px; padding: 6px 2px; border: 0; background: none; cursor: pointer;
  color: var(--teal-200); font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn[disabled] { color: var(--muted); text-decoration: none; cursor: default; }
@media (min-width: 560px) { .info-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) { body { background-attachment: scroll; } }
/* Menajer adı anlık kontrol */
.name-status { min-height: 1.2em; margin-top: 4px; font-size: 0.86rem; color: var(--muted); }
.name-status.ok { color: var(--teal-200); }
.name-status.bad { color: var(--danger); }


/* ---------- Takım kurulumu (onboarding) modalı ---------- */
body.ob-lock { overflow: hidden; }
.ob-overlay {
  position: fixed; inset: 0; z-index: 200; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: rgba(6, 24, 10, 0.82); backdrop-filter: blur(4px);
  display: flex; justify-content: center; align-items: flex-start; padding: 0;
}
.ob-panel {
  width: 100%; max-width: 980px; min-height: 100%;
  background: linear-gradient(180deg, #17491f, #10351a); border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}
@media (min-width: 760px) { .ob-overlay { padding: 24px 16px; } .ob-panel { min-height: 0; border-radius: 20px; } }
.ob-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 18px 8px; }
.ob-head h2 { margin: 0; font-size: 1.8rem; text-transform: uppercase; }
.ob-head .lead { margin: 4px 0 0; font-size: 0.98rem; }
.ob-body { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 8px 18px 22px; }
@media (min-width: 860px) { .ob-body { grid-template-columns: 260px 1fr; } }
.ob-preview {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--card-border);
  align-self: start;
}
@media (min-width: 860px) { .ob-preview { position: sticky; top: 16px; } }
.ob-crest { min-height: 120px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35)); }
.ob-pv-name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; word-break: break-word; }
.ob-pv-city { color: var(--muted); font-size: 0.9rem; }
.ob-kits { display: flex; gap: 14px; justify-content: center; margin-top: 8px; }
.ob-kits figure { margin: 0; text-align: center; }
.ob-kits figcaption { font-size: 0.78rem; color: var(--muted); }
.ob-form { display: grid; gap: 14px; }
.ob-sec { padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.18); border: 1px solid var(--card-border); }
.ob-sec h3 { margin: 0 0 10px; font-size: 1.1rem; text-transform: uppercase; color: var(--teal-200); }
.ob-sec .field + .field { margin-top: 12px; }
.ob-sec select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255, 255, 255, 0.95); color: #10240f; font-size: 16px;
}
.ob-field { border: 0; margin: 0 0 10px; padding: 0; }
.ob-field legend { font-weight: 500; font-size: 0.92rem; margin-bottom: 6px; }
.swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
@media (min-width: 560px) { .swatches { grid-template-columns: repeat(12, 1fr); } }
.swatch { position: relative; display: block; cursor: pointer; }
.swatch input, .tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch .sw { display: block; aspect-ratio: 1; border-radius: 8px; border: 2px solid rgba(255, 255, 255, 0.25); }
.swatch input:checked + .sw { border-color: var(--white); box-shadow: 0 0 0 3px var(--teal-300); }
.swatch input:focus-visible + .sw { outline: 3px solid var(--teal-300); outline-offset: 2px; }
.swatch.used .sw { opacity: 0.35; }
.ob-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
.ob-grid.emblems { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); margin-bottom: 12px; }
.tile { position: relative; cursor: pointer; }
.tile-in {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; height: 100%;
  border-radius: 12px; border: 2px solid transparent; background: rgba(255, 255, 255, 0.06); text-align: center;
}
.tile-in small { font-size: 0.72rem; line-height: 1.15; color: var(--muted); }
.tile input:checked + .tile-in { border-color: var(--teal-300); background: rgba(127, 227, 211, 0.12); }
.tile input:checked + .tile-in small { color: var(--white); }
.tile input:focus-visible + .tile-in { outline: 3px solid var(--teal-300); outline-offset: 2px; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { min-height: 36px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--card-border); background: rgba(255,255,255,.06); color: var(--text); cursor: pointer; }
.chip.on { background: var(--teal-600); border-color: var(--teal-300); }
.ob-foot { display: grid; gap: 8px; position: sticky; bottom: 0; padding: 12px 0 4px; background: linear-gradient(180deg, rgba(16,53,26,0), #10351a 30%); }

/* Profil: takım kutusu */
.team-box { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--card-border); }
.team-box .eyebrow { display: block; font-size: 0.75rem; }
.team-name { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.team-city { color: var(--muted); font-size: 0.9rem; }
/* Mobil: önizleme küçük ve yapışkan (renk seçerken arma görünür kalsın) */
.ob-head .link-btn { white-space: nowrap; }
@media (max-width: 859px) {
  .ob-preview {
    position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: 84px 1fr;
    align-items: center; text-align: left; gap: 2px 14px; padding: 10px 12px;
    background: #143d1c; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  }
  .ob-crest { grid-row: span 3; min-height: 0; }
  .ob-crest svg { width: 84px; height: auto; }
  .ob-pv-name { font-size: 1.1rem; }
  .ob-kits { justify-content: flex-start; margin: 2px 0 0; gap: 8px; }
  .ob-kits svg { width: 34px; height: 34px; }
  .ob-kits figcaption { font-size: 0.68rem; }
}
/* Geçici giriş şekli seçimi (kullanıcı / yönetici) */
.login-mode { border: 1px solid var(--card-border); border-radius: 12px; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.login-mode legend { padding: 0 6px; font-weight: 600; }
.login-mode legend small { color: var(--muted); font-weight: 400; }
.login-mode label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }

/* Menüde tek giriş/kayıt butonu */
.site-nav a.nav-cta { border: 2px solid var(--teal-300); border-radius: 12px; color: var(--white); background: rgba(127, 227, 211, 0.12); }
.site-nav a.nav-cta:hover { background: var(--teal-600); }
@media (min-width: 900px) { .site-nav a.nav-cta { margin-left: 6px; padding: 6px 16px; } .site-nav a.nav-cta.active::after { content: none; } }

/* Giriş sayfası: dikkat çekici kayıt butonu */
.register-cta { margin-top: 22px; text-align: center; }
.register-cta .or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.register-cta .or::before, .register-cta .or::after { content: ""; flex: 1; height: 1px; background: var(--card-border); }
.btn-register {
  min-height: 56px; font-size: 1.25rem; color: #2b1d00;
  background: linear-gradient(180deg, #f6d36b, #e0a81e); border-color: #fbe6a3;
  box-shadow: 0 0 0 3px rgba(227, 196, 107, 0.25), 0 10px 26px rgba(0, 0, 0, 0.3);
  animation: pulse-gold 2.6s ease-in-out infinite;
}
.register-cta p { margin: 10px 0 0; color: var(--muted); font-size: 0.9rem; }
@keyframes pulse-gold { 0%, 100% { box-shadow: 0 0 0 3px rgba(227, 196, 107, 0.25), 0 10px 26px rgba(0, 0, 0, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(227, 196, 107, 0.12), 0 10px 26px rgba(0, 0, 0, 0.3); } }

/* Takım kurulumu: rastgele öneri butonu */
.ob-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.ob-sec-head h3 { margin: 0; }
.ob-shuffle { min-height: 40px; padding: 6px 14px; font-size: 0.95rem; }
