/* =====================================================================
   MARAŞ SPOR AĞI — Genel site stilleri
   Tema: "Kale & Madalya" — mürekkep lacivert, Maraş kırmızısı, madalya altını
   ===================================================================== */

:root {
  --red: #d4163c;
  --accent-rgb: 212,22,60;
  --red-600: #b40f30;
  --red-50: #fdeef1;
  --gold: #e3a92f;
  --gold-soft: #f6e6bf;
  --ink: #0b1020;
  --ink-2: #141b31;
  --ink-3: #1e2742;

  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #efece5;
  --text: #121726;
  --muted: #5d6477;
  --line: #e2ddd2;
  --line-strong: #cfc8ba;
  --shadow: 0 1px 2px rgba(11,16,32,.05), 0 8px 24px -12px rgba(11,16,32,.16);
  --shadow-lg: 0 24px 60px -24px rgba(11,16,32,.35);

  --radius: 18px;
  --radius-sm: 12px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --container: 1240px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #080c18;
  --surface: #10162a;
  --surface-2: #161d35;
  --text: #eef0f6;
  --muted: #9aa2b8;
  --line: #222b47;
  --line-strong: #2f3a5c;
  --red-50: rgba(var(--accent-rgb),.14);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.6);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    --bg: #080c18;
    --surface: #10162a;
    --surface-2: #161d35;
    --text: #eef0f6;
    --muted: #9aa2b8;
    --line: #222b47;
    --line-strong: #2f3a5c;
    --red-50: rgba(var(--accent-rgb),.14);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- Butonlar, etiketler ------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform .15s ease, background .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(var(--accent-rgb),.7); }
.btn-primary:hover { background: var(--red-600); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
:root[data-theme="dark"] .btn-dark { background: var(--surface-2); border-color: var(--line-strong); }
@media (prefers-color-scheme: dark) { :root[data-theme="system"] .btn-dark { background: var(--surface-2); border-color: var(--line-strong); } }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.18); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--red); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: var(--gold); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; padding: 3px 9px; border-radius: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; background: var(--surface-2); color: var(--muted); text-transform: uppercase; }
.tag-musabaka { background: var(--red-50); color: var(--red); }
.tag-turnuva { background: rgba(227,169,47,.16); color: #a36d05; }
.tag-antrenman { background: rgba(14,165,233,.13); color: #0369a1; }
.tag-organizasyon, .tag-kamp { background: rgba(16,185,129,.13); color: #047857; }
.dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; margin: 0 6px; vertical-align: middle; }

/* ---- Duyuru ve başlık --------------------------------------------- */
.announce { background: var(--ink); color: #fff; font-size: 14px; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.announce .ico { color: var(--gold); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,16,32,.35); }
.nav-wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.brand small { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin-top: 3px; }
.brand.light strong { color: #fff; }
.brand.light small { color: rgba(255,255,255,.6); }
.main-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.main-nav a { padding: 9px 12px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--muted); transition: color .15s, background .15s; white-space: nowrap; }
.main-nav a:hover { color: var(--text); background: var(--surface-2); }
.main-nav a.active { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.main-nav .only-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); transition: border-color .15s; }
.icon-btn:hover { border-color: var(--line-strong); }
.icon-btn .ico { width: 19px; height: 19px; }
.menu-btn { display: none; }

.theme-switch { position: relative; }
.t-dark { display: none; }
:root[data-theme="dark"] .t-light { display: none; }
:root[data-theme="dark"] .t-dark { display: inline; }
@media (prefers-color-scheme: dark) { :root[data-theme="system"] .t-light { display: none; } :root[data-theme="system"] .t-dark { display: inline; } }
.theme-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .16s;
}
.theme-switch.open .theme-menu { opacity: 1; visibility: visible; transform: none; }
.theme-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; background: none; border-radius: 9px; font-weight: 600; font-size: 14px; text-align: left; }
.theme-menu button:hover, .theme-menu button[aria-checked="true"] { background: var(--surface-2); }

.search-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(8,12,24,.55); backdrop-filter: blur(6px); display: grid; place-items: start center; padding: 12vh 20px 20px; }
.search-overlay[hidden] { display: none; }
.search-box { width: 100%; max-width: 680px; display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 20px; padding: 10px 10px 10px 20px; box-shadow: var(--shadow-lg); }
.search-box > .ico { color: var(--muted); width: 22px; height: 22px; }
.search-box input { flex: 1; border: 0; outline: 0; background: none; font: 600 18px var(--font); color: var(--text); padding: 12px 0; min-width: 0; }

/* ---- Uyarılar ----------------------------------------------------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; margin: 18px 0 0; border: 1px solid; font-weight: 500; }
.alert .ico { margin-top: 2px; }
.alert-success { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.35); color: #047857; }
.alert-error { background: var(--red-50); border-color: rgba(var(--accent-rgb),.35); color: var(--red); }
.alert-info { background: rgba(14,165,233,.1); border-color: rgba(14,165,233,.3); color: #0369a1; }
:root[data-theme="dark"] .alert-success { color: #6ee7b7; } :root[data-theme="dark"] .alert-info { color: #7dd3fc; } :root[data-theme="dark"] .alert-error { color: #fda4b4; }

/* ---- Anasayfa hero ------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--ink);
  margin: 12px 12px 0; border-radius: 30px; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(var(--accent-rgb),.55), transparent 60%),
    radial-gradient(700px 420px at 10% 110%, rgba(227,169,47,.28), transparent 60%),
    linear-gradient(180deg, #0b1020, #0e1530);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; padding: 80px 0 72px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 86px); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(90deg, var(--gold), #ffd98a); -webkit-background-clip: text; background-clip: text; }
.hero .lead { font-size: 19px; color: rgba(255,255,255,.72); max-width: 560px; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: rgba(255,255,255,.66); font-size: 14px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ico { color: var(--gold); }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 600; margin-bottom: 26px; }
.hero-badge b { background: var(--red); padding: 3px 9px; border-radius: 999px; font-size: 12px; }

.hero-panel { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 26px; padding: 26px; backdrop-filter: blur(10px); }
.hero-panel-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,.6); font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 7px; color: #6ee7b7; font-weight: 700; font-size: 12px; letter-spacing: .08em; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero-big46 { font-family: var(--display); font-weight: 800; font-size: 120px; line-height: .9; letter-spacing: -.05em; margin: 18px 0 6px; background: linear-gradient(180deg, #fff, rgba(255,255,255,.35)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.hero-stat { display: block; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); transition: background .2s, border-color .2s; }
.hero-stat:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.2); }
.hero-stat strong { display: block; font-family: var(--display); font-size: 32px; font-weight: 800; line-height: 1; }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,.62); font-weight: 600; }
.hero-stat .ico { float: right; color: var(--gold); }

.ribbon { overflow: hidden; border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ribbon-track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--display); font-weight: 700; font-size: 18px; color: rgba(255,255,255,.5); }
.ribbon-track span { display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; }
.ribbon-track span::after { content: "✦"; color: var(--red); font-size: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Bölümler ----------------------------------------------------- */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 54px); margin-top: 14px; max-width: 760px; }
.section-head p { color: var(--muted); max-width: 520px; margin-top: 14px; font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); white-space: nowrap; border-bottom: 2px solid var(--red); padding-bottom: 3px; }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow .ico { transition: transform .15s; }

/* Özellik kartları */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; min-height: 260px; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.feature-no { font-family: var(--display); font-weight: 800; color: var(--muted); opacity: .45; font-size: 14px; }
.feature-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--red-50); color: var(--red); }
.feature-ic .ico { width: 24px; height: 24px; }
.feature h3 { font-size: 22px; }
.feature p { color: var(--muted); font-size: 15px; }
.feature .go { margin-top: auto; font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }

/* Branşlar */
.branch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.branch-tile {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: .2s;
}
.branch-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); opacity: 0; transition: opacity .2s; }
.branch-tile:hover { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow); }
.branch-tile:hover::before { opacity: 1; }
.branch-no { position: absolute; top: 10px; right: 14px; font-size: 11px; font-weight: 800; color: var(--muted); opacity: .5; }
.branch-mono { grid-row: span 2; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.branch-tile strong { font-size: 16px; font-weight: 700; }
.branch-tile small { color: var(--muted); font-size: 13px; grid-column: 2; }
.branch-tile .go { grid-row: 1 / span 2; grid-column: 3; color: var(--muted); transition: transform .2s, color .2s; }
.branch-tile:hover .go { color: var(--c); transform: translateX(3px); }

.split-panel { display: grid; grid-template-columns: 360px 1fr; gap: 20px; }
.dark-card { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.dark-card::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb),.6), transparent 70%); }
.dark-card .big { font-family: var(--display); font-size: 92px; font-weight: 800; line-height: .9; }
.dark-card p { color: rgba(255,255,255,.7); }
.dark-card .btn { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; }

/* Kulüp kartları */
.club-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.club-grid.three { grid-template-columns: repeat(3, 1fr); }
.club-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; min-height: 280px; }
.club-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 90px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 22%, transparent), transparent); }
.club-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.club-card-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.club-no { font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--muted); }
.club-meta { position: relative; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--muted); margin-top: 6px; }
.club-card h3 { position: relative; font-size: 21px; }
.club-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13.5px; font-weight: 600; color: var(--muted); }
.club-card-foot .go { color: var(--text); display: inline-flex; gap: 5px; align-items: center; }

.avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; flex: none; background: var(--surface-2); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.mono { background: var(--c, var(--red)); color: #fff; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.avatar.round { border-radius: 50%; }
.avatar.xl { width: 68px; height: 68px; border-radius: 18px; font-size: 21px; box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); background-color: var(--surface); }
.avatar.xl img { object-fit: contain; padding: 6px; }
.avatar.xl.mono { background: var(--c); }
.avatar.xxl { width: 116px; height: 116px; border-radius: 28px; font-size: 36px; border: 4px solid var(--surface); box-shadow: var(--shadow-lg); background-color: var(--surface); }
.avatar.xxl img { object-fit: contain; padding: 10px; }
.avatar.xxl.mono { background: var(--c); }

/* Takvim satırları */
.event-list { display: flex; flex-direction: column; gap: 10px; }
.event-row { display: flex; align-items: center; gap: 20px; padding: 16px 22px 16px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: .2s; }
.event-row:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.event-row:hover .go { transform: translateX(3px); color: var(--red); }
.event-row .go { color: var(--muted); transition: .2s; }
.event-date { width: 70px; height: 74px; flex: none; border-radius: 14px; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.event-date strong { font-family: var(--display); font-size: 28px; line-height: 1; }
.event-date span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.event-body { flex: 1; min-width: 0; }
.event-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 7px; }
.event-body h3 { font-size: 19px; font-family: var(--font); font-weight: 700; letter-spacing: -.01em; }
.event-body p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; color: var(--muted); font-size: 14px; margin-top: 6px; }
.event-body p .ico { width: 15px; height: 15px; }

/* Sporcular */
.athlete-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.athlete-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: .2s; }
.athlete-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.athlete-photo { position: relative; aspect-ratio: 4 / 4.2; background: linear-gradient(160deg, var(--ink-3), var(--ink)); }
.athlete-photo .photo { display: grid; place-items: center; width: 100%; height: 100%; }
.athlete-photo .photo img { width: 100%; height: 100%; object-fit: cover; }
.athlete-photo .photo.mono { font-family: var(--display); font-weight: 800; font-size: 64px; color: rgba(255,255,255,.85); letter-spacing: -.03em; background: radial-gradient(circle at 70% 20%, rgba(var(--accent-rgb),.55), transparent 60%); }
.medal-pill { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 13px; }
.medal-pill .ico { width: 15px; height: 15px; }
.athlete-info { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.athlete-branch { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; color: var(--red); text-transform: uppercase; }
.athlete-info h3 { font-size: 20px; }
.athlete-info p { color: var(--muted); font-size: 14px; margin-bottom: 6px; }

/* Başarılar */
.ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ach-card { display: flex; gap: 16px; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.ach-medal { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.ach-medal .ico { width: 26px; height: 26px; }
.medal-altin .ach-medal { background: linear-gradient(145deg, #f7d77c, #d49a16); color: #5b3b00; }
.medal-gumus .ach-medal { background: linear-gradient(145deg, #eef1f6, #aab3c2); color: #353c4a; }
.medal-bronz .ach-medal { background: linear-gradient(145deg, #eab58a, #b06a35); color: #4a2408; }
.medal-kupa .ach-medal { background: linear-gradient(145deg, var(--red), #7c0a22); }
.medal-other .ach-medal { background: var(--ink-3); }
.ach-body h3 { font-size: 18px; font-family: var(--font); font-weight: 700; letter-spacing: -.01em; }
.ach-body p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.ach-body p strong { color: var(--text); }
.ach-body time { display: block; font-size: 12.5px; color: var(--muted); margin-top: 8px; font-weight: 600; }

/* Haberler */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: .2s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-img { aspect-ratio: 16/10; background: var(--surface-2); overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-img img { transform: scale(1.04); }
.news-ph { display: grid; place-items: center; height: 100%; color: var(--muted); background: linear-gradient(135deg, var(--surface-2), var(--bg)); }
.news-ph .ico { width: 42px; height: 42px; opacity: .5; }
.news-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-meta { font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.news-body h3 { font-size: 20px; }
.news-body p { color: var(--muted); font-size: 14.5px; }
.news-body .go { margin-top: auto; padding-top: 8px; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 14px; color: var(--red); }
.news-card.big { grid-row: span 2; }
.news-card.big .news-img { aspect-ratio: 16/11; }
.news-card.big h3 { font-size: 28px; }

/* İlçe atlası */
.atlas { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.atlas-stats { display: flex; gap: 40px; margin-top: 32px; }
.atlas-stats strong { display: block; font-family: var(--display); font-size: 52px; font-weight: 800; line-height: 1; }
.atlas-stats span { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.district-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.district { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; transition: .2s; }
.district:hover { border-color: var(--red); color: var(--red); }
.district em { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 12px; color: var(--muted); }
.district b { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 700; }
.district.center { grid-column: span 3; background: var(--ink); color: #fff; border-color: var(--ink); justify-content: space-between; }
.district.center small { color: rgba(255,255,255,.6); font-weight: 600; }

/* Şehir bölümü */
.city-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.city-card { position: relative; overflow: hidden; padding: 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.city-card.hero-card { grid-row: span 2; color: #fff; background: linear-gradient(180deg, rgba(11,16,32,.2), rgba(11,16,32,.92)), radial-gradient(circle at 30% 20%, #3b4a7a, var(--ink)); justify-content: flex-end; min-height: 420px; }
.city-card.hero-card::before { content: ""; position: absolute; inset: 0; background: url("../img/mountain.svg") center 30% / cover no-repeat; opacity: .55; z-index: 0; }
.city-card.hero-card > * { position: relative; }
.city-card.hero-card p { color: rgba(255,255,255,.75); }
.city-card h3 { font-size: 26px; }
.city-card p { color: var(--muted); }
.city-card .num { font-family: var(--display); font-weight: 800; color: var(--red); }
.city-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); }

/* Manifesto */
.manifesto { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 30px; padding: 72px; display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: center; }
.manifesto::after { content: ""; position: absolute; inset: auto -120px -160px auto; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb),.5), transparent 65%); }
.manifesto .n46 { font-family: var(--display); font-size: 180px; font-weight: 800; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.35); }
.manifesto h2 { font-size: clamp(32px, 4vw, 52px); }
.manifesto p { color: rgba(255,255,255,.72); font-size: 18px; margin: 18px 0 28px; max-width: 640px; }
.manifesto > * { position: relative; z-index: 1; }

/* ---- İç sayfa başlığı ---------------------------------------------- */
.page-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg)); }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); margin-top: 16px; font-weight: 800; letter-spacing: -.035em; }
.page-hero .lead { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 700px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); font-weight: 600; margin-bottom: 26px; }
.crumbs a:hover { color: var(--text); }
.crumbs .ico { width: 14px; height: 14px; opacity: .6; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 26px; }
.hero-meta div strong { display: block; font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1; }
.hero-meta div span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Filtre çubuğu */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin: 32px 0 28px; }
.filters .search { flex: 1 1 240px; position: relative; }
.filters .search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filters .search input { padding-left: 42px; }
.filters select, .filters input { height: 46px; }
.filters .count { margin-left: auto; font-size: 14px; color: var(--muted); font-weight: 600; padding: 0 8px; }
.seg { display: inline-flex; background: var(--surface-2); padding: 4px; border-radius: 12px; gap: 2px; flex-wrap: wrap; }
.seg a { padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg a.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* ---- Formlar ------------------------------------------------------ */
.input, select.input, textarea.input, .filters input, .filters select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--text); font: 500 15px var(--font); transition: border-color .15s, box-shadow .15s; appearance: none;
}
select.input, .filters select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.filters select { width: auto; min-width: 150px; }
.input:focus, .filters input:focus, .filters select:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-50); }
textarea.input { min-height: 140px; resize: vertical; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 700; }
.field label .req { color: var(--red); }
.field .help { font-size: 12.5px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.check { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer; }
.check:has(input:checked) { border-color: var(--red); background: var(--red-50); }
.check input { accent-color: var(--red); width: 16px; height: 16px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.two-col { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.sticky { position: sticky; top: 100px; }
.info-list { display: flex; flex-direction: column; gap: 4px; }
.info-list > div, .info-list > a { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-list > :last-child { border-bottom: 0; }
.info-list .ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); color: var(--red); }
.info-list small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.info-list strong { font-weight: 600; word-break: break-word; }
.steps { counter-reset: s; display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.steps li { list-style: none; display: flex; gap: 14px; }
.steps li::before { counter-increment: s; content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.steps { padding: 0; margin: 20px 0 0; }
.steps li p { color: var(--muted); font-size: 14px; }

/* ---- Kulüp profili ----------------------------------------------- */
.club-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.club-hero-bg { position: absolute; inset: 0; background: radial-gradient(900px 400px at 80% 0%, color-mix(in srgb, var(--c) 70%, transparent), transparent 70%), linear-gradient(180deg, #0b1020, #0e1530); }
.club-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.club-hero .container { position: relative; padding-top: 40px; padding-bottom: 48px; }
.club-hero .crumbs, .club-hero .crumbs a { color: rgba(255,255,255,.65); }
.club-head { display: flex; gap: 28px; align-items: flex-end; margin-top: 40px; }
.club-head h1 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; }
.club-head .club-meta { color: rgba(255,255,255,.65); }
.club-head-actions { margin-left: auto; display: flex; gap: 10px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 32px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 16px 18px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on, .tabs a:hover { color: var(--text); border-color: var(--red); }
.prose { font-size: 17px; line-height: 1.8; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: 28px; margin: 1.6em 0 .6em; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-box { padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.stat-box strong { display: block; font-family: var(--display); font-size: 36px; font-weight: 800; line-height: 1; }
.stat-box span { font-size: 13px; color: var(--muted); font-weight: 600; }
.person-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.person { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.person strong { display: block; font-size: 15px; }
.person small { color: var(--muted); font-size: 13px; }
.block-title { font-size: 24px; margin: 44px 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.block-title:first-child { margin-top: 0; }

/* Haber detay */
.article { max-width: 780px; margin: 0 auto; }
.article-cover { border-radius: 24px; overflow: hidden; margin: 32px 0; aspect-ratio: 16/9; background: var(--surface-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article .summary { font-size: 20px; color: var(--muted); line-height: 1.6; margin-top: 18px; }
.share { display: flex; gap: 8px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; }

/* Boş durum, sayfalama */
.empty { text-align: center; padding: 64px 24px; border: 2px dashed var(--line); border-radius: 24px; color: var(--muted); }
.empty > .ico { width: 44px; height: 44px; color: var(--line-strong); margin-bottom: 12px; }
.empty h3 { color: var(--text); font-size: 22px; margin-bottom: 6px; }
.empty .btn { margin-top: 20px; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14px; }
.pager a:hover { border-color: var(--line-strong); }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager span:not(.current) { border: 0; background: none; }

/* Takvim ay görünümü */
.month-nav { display: flex; align-items: center; gap: 12px; }
.month-nav h2 { font-size: 26px; min-width: 190px; text-align: center; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-h { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--muted); text-align: center; padding: 6px 0; text-transform: uppercase; }
.cal-d { min-height: 104px; padding: 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.cal-d.out { opacity: .35; }
.cal-d.today { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.cal-d > b { font-size: 13px; }
.cal-d a { display: block; padding: 3px 6px; border-radius: 6px; background: var(--red-50); color: var(--red); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-d a.t-antrenman { background: rgba(14,165,233,.13); color: #0369a1; }
.cal-d a.t-turnuva { background: rgba(227,169,47,.18); color: #8a5a00; }

/* ---- Alt bilgi ---------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); margin-top: 96px; padding-top: 0; }
.footer-cta { position: relative; top: -56px; margin-bottom: -16px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 48px; border-radius: 28px; background: linear-gradient(120deg, var(--red), #8f0d2a); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.footer-cta::after { content: "46"; position: absolute; right: 200px; bottom: -70px; font-family: var(--display); font-size: 240px; font-weight: 800; color: rgba(255,255,255,.08); line-height: 1; pointer-events: none; }
.footer-cta h2 { font-size: clamp(26px, 3vw, 38px); margin: 12px 0 8px; color: #fff; }
.footer-cta p { color: rgba(255,255,255,.8); max-width: 560px; }
.footer-cta .btn-primary { background: #fff; color: var(--red); box-shadow: none; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 24px 0 56px; }
.footer-grid h3 { font-family: var(--font); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-grid a { display: block; padding: 5px 0; font-size: 15px; transition: color .15s; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 360px; font-size: 15px; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); padding: 0; }
.socials a:hover { background: rgba(255,255,255,.08); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.footer-46 { font-weight: 700; color: var(--gold); letter-spacing: .1em; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.to-top .ico { transform: rotate(180deg); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Görünür olunca yükselme */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Duyarlı düzen ------------------------------------------------ */
@media (max-width: 1180px) {
  .main-nav a { padding: 9px 10px; font-size: 14px; }
  .feature-grid, .club-grid, .athlete-grid { grid-template-columns: repeat(2, 1fr); }
  .branch-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1260px) {
  .menu-btn { display: inline-grid; }
  .nav-wrap { justify-content: space-between; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; margin: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 14px 14px; font-size: 16px; border-radius: 12px; }
  .main-nav .only-mobile { display: block; }
  .nav-more { width: 100%; }
  .nav-more-btn { display: none; }
  .nav-more-menu { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0; background: none; }
  .nav-more-menu .mi, .nav-more-menu small { display: none; }
  .nav-more-menu a { padding: 14px; font-size: 16px; }
  .nav-more-menu strong { font-weight: 600; font-size: 16px; color: var(--muted); }
}
@media (max-width: 1024px) {
  .hero-grid, .atlas, .two-col, .split-panel { grid-template-columns: 1fr; }
  .hero-grid { padding: 56px 0; }
  .city-grid { grid-template-columns: 1fr 1fr; }
  .city-card.hero-card { grid-column: span 2; grid-row: auto; min-height: 320px; }
  .ach-grid, .news-grid, .club-grid.three { grid-template-columns: repeat(2, 1fr); }
  .news-card.big { grid-row: auto; grid-column: span 2; }
  .manifesto { grid-template-columns: 1fr; padding: 48px; gap: 24px; }
  .manifesto .n46 { font-size: 120px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .nav-wrap { height: 68px; gap: 12px; }
  .main-nav { inset: 68px 0 auto 0; }
  .brand small { display: none; }
  .brand strong { font-size: 15px; }
  .hide-sm { display: none !important; }
  .hero { margin: 8px 8px 0; border-radius: 22px; }
  .hero .lead { font-size: 17px; }
  .hero-big46 { font-size: 88px; }
  .section { padding: 64px 0; }
  .feature-grid, .club-grid, .athlete-grid, .ach-grid, .news-grid, .club-grid.three, .branch-grid, .form-grid, .person-list { grid-template-columns: 1fr; }
  .athlete-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .athlete-info { padding: 14px; }
  .athlete-info h3 { font-size: 16px; }
  .news-card.big { grid-column: auto; }
  .district-grid { grid-template-columns: 1fr 1fr; }
  .district.center { grid-column: span 2; }
  .city-grid { grid-template-columns: 1fr; }
  .city-card.hero-card { grid-column: auto; }
  .event-row { gap: 14px; padding: 12px; }
  .event-row .go { display: none; }
  .event-date { width: 58px; height: 64px; }
  .event-body h3 { font-size: 16px; }
  .club-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .club-head-actions { margin-left: 0; }
  .footer-cta { flex-direction: column; align-items: flex-start; padding: 32px 26px; top: -40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .manifesto { padding: 36px 26px; border-radius: 22px; }
  .card { padding: 22px; }
  .filters select { flex: 1 1 140px; }
  .filters .count { margin-left: 0; }
  .cal { gap: 3px; }
  .cal-d { min-height: 64px; padding: 4px; font-size: 10px; }
  .cal-d a { padding: 2px 3px; font-size: 0; height: 6px; }
  .atlas-stats { gap: 24px; }
  .atlas-stats strong { font-size: 40px; }
}

/* Yardımcı ızgara varyantları */
.athlete-grid.three { grid-template-columns: repeat(3, 1fr); }
.ach-grid.two, .branch-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1180px) { .athlete-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .ach-grid.two, .branch-grid.two { grid-template-columns: 1fr; }
  .athlete-grid.three { grid-template-columns: 1fr 1fr; }
}
.city-card.wide { grid-column: span 2; }
@media (max-width: 720px) { .city-card.wide { grid-column: auto; } }
.two-col.left { grid-template-columns: 340px 1fr; }
@media (max-width: 1024px) { .two-col.left { grid-template-columns: 1fr; } }
.medal-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.medal-table th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.medal-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); font-weight: 600; }
.medal-table td:first-child { color: var(--muted); width: 26px; }
.medal-table td:nth-child(n+3), .medal-table th:nth-child(n+3) { text-align: center; width: 34px; }
.medal-table tr:last-child td { border-bottom: 0; }
.medal-table a:hover { color: var(--red); }
.md { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.md-altin { background: linear-gradient(145deg, #f7d77c, #d49a16); }
.md-gumus { background: linear-gradient(145deg, #eef1f6, #aab3c2); }
.md-bronz { background: linear-gradient(145deg, #eab58a, #b06a35); }
/* Izgara taşmalarını önle */
.atlas > *, .two-col > *, .split-panel > *, .hero-grid > *, .district-grid > *, .form-grid > * { min-width: 0; }
.district { overflow: hidden; }
@media (max-width: 720px) { .district { padding: 12px; gap: 8px; font-size: 14px; } }
/* Lisans doğrulama */
.verify { position: relative; text-align: left; padding-top: 44px; }
.verify-badge { position: absolute; top: -28px; left: 32px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); }
.verify-badge .ico { width: 28px; height: 28px; }
.verify.ok .verify-badge { background: #059669; } .verify.bad .verify-badge { background: var(--red); }
.verify.ok .eyebrow { color: #059669; }
.verify-person { display: flex; align-items: center; gap: 16px; margin: 16px 0 12px; }
.verify-person h1 { font-size: 28px; } .verify-person p { color: var(--muted); font-weight: 600; }

/* =====================================================================
   v2.1 — premium bileşenler
   ===================================================================== */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--gold)); transition: width .1s linear; }

/* Menü: daha fazla */
.nav-more { position: relative; }
.nav-more-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 9px 13px; border-radius: 999px; border: 0; background: none; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.nav-more-btn .ico { width: 15px; height: 15px; transition: transform .2s; }
.nav-more:hover .nav-more-btn, .nav-more.open .nav-more-btn, .nav-more.has-active .nav-more-btn { color: var(--text); background: var(--surface-2); }
.nav-more-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, -6px); width: 300px; padding: 8px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: .18s; }
.nav-more-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-more:hover .nav-more-menu, .nav-more.open .nav-more-menu, .nav-more:focus-within .nav-more-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-more:hover .nav-more-btn .ico { transform: rotate(180deg); }
.nav-more-menu a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: none !important; box-shadow: none !important; }
.nav-more-menu a:hover, .nav-more-menu a.active { background: var(--surface-2) !important; }
.nav-more-menu .mi { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.nav-more-menu strong { display: block; color: var(--text); font-size: 14.5px; }
.nav-more-menu small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; }

/* Skor şeridi */
.scoreboard { margin: 14px 12px 0; position: relative; z-index: 3; }
.scoreboard .container { background: var(--ink); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 16px 18px 18px; max-width: none; }
.sb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.link-arrow.light { color: #fff; border-color: var(--gold); font-size: 14px; }
.sb-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sb-track::-webkit-scrollbar { display: none; }
.sb-track .match-card { scroll-snap-align: start; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); color: #fff; }
.sb-track .match-meta { color: rgba(255,255,255,.5); }
.sb-track .team-in { color: #fff; }
.sb-track .match-mid small { color: rgba(255,255,255,.5); }

/* Maç kartı */
.match-list { display: flex; flex-direction: column; gap: 10px; }
.match-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
.match-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.match-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; margin-bottom: 10px; }
.match-meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-meta span:last-child { white-space: nowrap; }
.match-body { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.team-in { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; min-width: 0; }
.team-in > span:not(.avatar) { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; }
.team.away .team-in { flex-direction: row-reverse; text-align: right; }
.team { min-width: 0; }
.team.win .team-in > span:not(.avatar) { color: var(--red); }
.sb-track .team.win .team-in > span:not(.avatar) { color: var(--gold); }
a.team-in:hover > span:not(.avatar) { text-decoration: underline; }
.avatar.team { width: 36px; height: 36px; border-radius: 11px; font-size: 12px; }
.match-mid { text-align: center; min-width: 82px; }
.match-mid .score { display: inline-flex; align-items: center; gap: 6px; font: 800 26px/1 var(--display); letter-spacing: -.02em; }
.match-mid .score i { font-style: normal; opacity: .4; font-weight: 500; }
.match-mid .score.time { font-size: 20px; padding: 6px 12px; border-radius: 10px; background: var(--surface-2); }
.sb-track .match-mid .score.time { background: rgba(255,255,255,.08); }
.match-mid .score.muted { font-size: 15px; color: var(--muted); }
.match-mid small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-top: 5px; text-transform: uppercase; letter-spacing: .06em; }
.match-venue { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.match-venue .ico { width: 14px; height: 14px; }
.match-card.compact { padding: 12px 14px; }
.match-card.compact .team-in { font-size: 13.5px; gap: 8px; }
.match-card.compact .avatar.team { width: 30px; height: 30px; font-size: 11px; }
.match-card.compact .match-mid .score { font-size: 21px; }
.match-card.compact .match-mid .score.time { font-size: 16px; }
.match-hub { display: grid; grid-template-columns: 1fr 1fr 360px; gap: 20px; align-items: start; }
.match-hub > * { min-width: 0; }
.hub-title { display: flex; align-items: center; gap: 8px; font: 700 16px var(--font); letter-spacing: 0; margin-bottom: 12px; }
.hub-title .ico { color: var(--red); }
.mini-standings { padding: 18px; }
.mini-standings .btn { margin-top: 12px; }
.muted-note { color: var(--muted); font-size: 14px; }
.day-title { font: 700 15px var(--font); letter-spacing: .02em; color: var(--muted); margin: 26px 0 10px; text-transform: uppercase; }
.day-title:first-of-type { margin-top: 0; }

/* Puan tablosu */
.table-scroll { overflow-x: auto; }
.standings { width: 100%; border-collapse: collapse; font-size: 14px; }
.standings th { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--muted); text-align: center; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.standings th:nth-child(2) { text-align: left; }
.standings td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.standings tr:last-child td { border-bottom: 0; }
.standings td:first-child { color: var(--muted); font-weight: 700; width: 30px; }
.standings td.t { text-align: left; }
.standings td.t .team-in { font-size: 14px; }
.standings td.t .avatar.team { width: 28px; height: 28px; font-size: 10px; border-radius: 8px; }
.standings tr.lead td:first-child { color: var(--gold); }
.standings tr.lead { background: linear-gradient(90deg, rgba(227,169,47,.12), transparent 60%); }
.standings b { font-size: 15px; }
.form { display: inline-flex; gap: 3px; }
.form i { width: 20px; height: 20px; border-radius: 6px; display: inline-grid; place-items: center; font: 800 10.5px var(--font); color: #fff; font-style: normal; }
.form .f-G { background: #059669; } .form .f-B { background: #94a3b8; } .form .f-M { background: var(--red); }
.big-form { margin-left: auto; font-family: var(--font); }
.legend-note { font-size: 12.5px; color: var(--muted); padding: 10px 12px 8px; }
.tabs.big a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.tabs.big { margin-top: 32px; }

/* Sporcu vitrini (koyu) */
.spotlight { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.spotlight::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 10% 0%, rgba(var(--accent-rgb),.4), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(227,169,47,.2), transparent 70%); }
.spotlight .container { position: relative; }
.spotlight .athlete-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.spotlight .athlete-info p { color: rgba(255,255,255,.6); }
.spotlight .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.8); }

/* Galeri + ışık kutusu */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 10px; }
.g-item { position: relative; overflow: hidden; border-radius: 16px; background: var(--surface-2); }
.g-item.wide { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item span { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; color: #fff; font-weight: 700; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,.72)); opacity: 0; transform: translateY(6px); transition: .25s; }
.g-item:hover img { transform: scale(1.05); }
.g-item:hover span, .g-item:focus-visible span { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,8,16,.94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox figcaption { color: rgba(255,255,255,.8); font-weight: 600; text-align: center; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.18); }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 16px; } .lb-next { right: 16px; }

/* Sponsorlar */
.sponsor-band { padding: 40px 0 56px; overflow: hidden; }
.sponsor-band .eyebrow { margin-bottom: 22px; }
.sponsor-track { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.sponsor-track > div { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.sponsor-track:hover > div { animation-play-state: paused; }
.sponsor { display: grid; place-items: center; height: 74px; min-width: 170px; padding: 12px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); filter: grayscale(1); opacity: .8; transition: .25s; }
.sponsor:hover { filter: none; opacity: 1; border-color: var(--line-strong); }
.sponsor img { max-height: 44px; max-width: 140px; object-fit: contain; }
.sponsor span { font: 800 16px var(--display); color: var(--text); letter-spacing: -.01em; white-space: nowrap; }
.sponsor.tier-ana { border-color: var(--gold); }
.sponsor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sponsor-grid .sponsor { min-width: 0; height: 60px; padding: 8px; }
.sponsor-grid .sponsor span { font-size: 13px; white-space: normal; text-align: center; }

/* Kulüp kartı kapak görseli */
.club-card.has-cover::before { display: none; }
.club-cover { position: absolute; inset: 0 0 auto; height: 108px; background-size: cover; background-position: center; }
.club-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,32,.15), color-mix(in srgb, var(--surface) 96%, transparent)); }
.club-card.has-cover .club-card-top { margin-top: 42px; }

/* Katılımcılar */
.participants { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.participants .person:hover { border-color: var(--red); }
.count-pill { font: 700 13px var(--font); background: var(--red-50); color: var(--red); padding: 3px 10px; border-radius: 999px; margin-left: auto; }

@media (max-width: 1180px) { .match-hub { grid-template-columns: 1fr 1fr; } .mini-standings { grid-column: 1 / -1; } }
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .scoreboard { margin: 10px 8px 0; }
  .scoreboard .container { padding: 14px; border-radius: 18px; }
  .sb-track { grid-auto-columns: 86%; }
  .match-hub { grid-template-columns: 1fr; }
  .team-in { font-size: 13.5px; gap: 7px; }
  .avatar.team { width: 30px; height: 30px; }
  .match-mid { min-width: 64px; }
  .match-mid .score { font-size: 21px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { bottom: 18px; top: auto; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .standings { font-size: 13px; } .standings td, .standings th { padding: 8px 5px; }
  .tabs.big a { font-size: 14px; padding: 14px 12px; }
}

/* Başlık sığdırma */
@media (max-width: 1480px) {
  .nav-wrap { gap: 16px; }
  .brand small { display: none; }
  .main-nav a, .nav-more-btn { padding: 9px 10px; font-size: 14px; }
  .admin-btn span { display: none; }
  .admin-btn { width: 42px; height: 42px; padding: 0; }
}

/* Kompakt maç kartı: takımlar alt alta */
.match-card.compact .match-body { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "home mid" "away mid"; row-gap: 8px; }
.match-card.compact .team.home { grid-area: home; }
.match-card.compact .team.away { grid-area: away; }
.match-card.compact .match-mid { grid-area: mid; padding-left: 12px; border-left: 1px dashed var(--line); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.sb-track .match-card.compact .match-mid { border-left-color: rgba(255,255,255,.12); }
.match-card.compact .team.away .team-in { flex-direction: row; text-align: left; }
.match-card.compact .team-in > span:not(.avatar) { -webkit-line-clamp: 1; }
.match-card.compact .match-meta { margin-bottom: 8px; }
.match-mid .score.stack { flex-direction: column; gap: 8px; font-size: 20px; }
.match-mid .score.stack b { opacity: .55; } .match-mid .score.stack b.w { opacity: 1; }

/* =====================================================================
   v2.2 — Açılış animasyonu
   ===================================================================== */
.intro { display: none; }
html.intro-on .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; overflow: hidden;
  background: #070a14; color: #fff;
  animation: introOut .9s cubic-bezier(.76, 0, .24, 1) 2.55s forwards;
}
html.intro-on .intro::after { /* kırmızı perde izi */
  content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
  background: linear-gradient(90deg, var(--red), #e3a92f, var(--red));
}
.intro-glow { position: absolute; inset: -20%; background: radial-gradient(circle at 50% 46%, rgba(var(--accent-rgb),.55), transparent 42%), radial-gradient(circle at 50% 60%, rgba(227,169,47,.18), transparent 50%); animation: introGlow 2.6s ease-out both; }
.intro-grid { position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 60%); animation: introGrid 2.8s ease-out both; }
.intro-46 { position: absolute; font: 800 min(62vw, 560px)/1 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.08); animation: intro46 2.8s cubic-bezier(.2, .7, .2, 1) both; user-select: none; }
.intro-center { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 0 20px; }
.intro-logo { overflow: visible; filter: drop-shadow(0 18px 40px rgba(var(--accent-rgb),.45)); }
.il-shield-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLine 1s cubic-bezier(.65, 0, .35, 1) .15s forwards; }
.il-shield-fill { opacity: 0; transform-origin: 32px 32px; animation: fillIn .6s ease-out .85s forwards; }
.il-castle { opacity: 0; transform: translateY(8px); animation: riseIn .55s cubic-bezier(.2, .9, .3, 1.3) 1.15s forwards; }
.il-star { opacity: 0; transform-origin: 32px 17px; transform: scale(0) rotate(-120deg); animation: starPop .6s cubic-bezier(.2, .9, .3, 1.4) 1.45s forwards; }
.il-base { transform-origin: 32px 45px; transform: scaleX(0); animation: baseGrow .5s ease-out 1.35s forwards; }
.intro-word { display: flex; font: 800 clamp(26px, 5vw, 46px)/1 var(--display); letter-spacing: .04em; overflow: hidden; padding: 4px 2px; }
.intro-word span { display: inline-block; opacity: 0; transform: translateY(110%); animation: letterUp .55s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(1.05s + var(--i) * 38ms); }
.intro-tag { font-size: 12px; font-weight: 700; letter-spacing: .28em; color: #e3a92f; opacity: 0; animation: fadeUp .6s ease-out 1.75s forwards; }
.intro-bar { width: 180px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 6px; }
.intro-bar i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--red), #e3a92f); animation: barFill 2.2s cubic-bezier(.4, 0, .2, 1) .2s forwards; }
.intro-skip { position: absolute; right: 22px; bottom: 22px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: rgba(255,255,255,.75); font-weight: 600; font-size: 13px; opacity: 0; animation: fadeUp .4s ease 0.6s forwards; }
.intro-skip:hover { color: #fff; border-color: rgba(255,255,255,.5); }
html.intro-on #icerik, html.intro-on .site-header { animation: pageIn .9s cubic-bezier(.2, .8, .2, 1) 2.75s both; }
html.intro-skipped .intro { animation: introOut .55s cubic-bezier(.76, 0, .24, 1) forwards !important; }
html.intro-skipped #icerik, html.intro-skipped .site-header { animation: pageIn .6s ease .25s both !important; }

@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fillIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes riseIn { to { opacity: 1; transform: none; } }
@keyframes starPop { to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes baseGrow { to { transform: scaleX(1); } }
@keyframes letterUp { to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes barFill { to { transform: scaleX(1); } }
@keyframes introGlow { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes introGrid { from { opacity: 0; transform: scale(1.15); } to { opacity: .35; transform: scale(1); } }
@keyframes intro46 { from { opacity: 0; transform: scale(1.25); } to { opacity: 1; transform: scale(1); } }
@keyframes introOut { 0% { transform: translateY(0); } 99% { transform: translateY(calc(-100% - 14px)); visibility: visible; } 100% { transform: translateY(calc(-100% - 14px)); visibility: hidden; pointer-events: none; } }
@keyframes pageIn { from { opacity: 0; transform: translateY(18px) scale(.99); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html.intro-on .intro { display: none; } }

/* =====================================================================
   v2.2 — Premium etkileşimler
   ===================================================================== */
/* Sayfalar arası geçiş (View Transitions API destekleyen tarayıcılarda) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vtOut .28s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vtIn .42s cubic-bezier(0, 0, .2, 1) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }

/* Toast bildirimleri */
.toasts { position: fixed; top: 92px; right: 20px; z-index: 95; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.toast { position: relative; overflow: hidden; display: flex; gap: 12px; align-items: flex-start; padding: 14px 44px 16px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14.5px; animation: toastIn .5s cubic-bezier(.2, .9, .3, 1.2) both; }
.toast > .ico { width: 22px; height: 22px; margin-top: 1px; }
.toast-success > .ico { color: #059669; } .toast-error > .ico { color: var(--red); } .toast-info > .ico { color: #0284c7; }
.toast-x { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border: 0; background: none; border-radius: 8px; color: var(--muted); display: grid; place-items: center; }
.toast-x:hover { background: var(--surface-2); }
.toast-timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; background: currentColor; opacity: .25; animation: toastTimer 6s linear forwards; }
.toast-success .toast-timer { color: #059669; } .toast-error .toast-timer { color: var(--red); } .toast-info .toast-timer { color: #0284c7; }
.toast.out { animation: toastOut .35s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); height: 0; margin: -5px 0; padding-top: 0; padding-bottom: 0; } }
@keyframes toastTimer { to { transform: scaleX(0); } }

/* Başlık kelime animasyonu */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); animation: wordUp .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--d, 0s) + var(--w) * 70ms); }
@keyframes wordUp { to { transform: none; } }
.hero .lead, .hero-actions, .hero-trust, .hero-badge, .hero-panel { animation: fadeUp .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0s) + .45s); }
.hero-actions { animation-delay: calc(var(--d, 0s) + .6s); }
.hero-trust { animation-delay: calc(var(--d, 0s) + .75s); }
.hero-panel { animation: panelIn 1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0s) + .35s); }
html.intro-on .hero { --d: 2.75s; }
html.intro-skipped .hero { --d: .3s; }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px) rotateX(8deg) scale(.97); } }

/* İmleci izleyen ışık */
.hero-spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.09), transparent 60%); }
.hero:hover .hero-spot { opacity: 1; }
.hero-panel { transition: transform .5s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; }

/* 3B eğim ve parıltı */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt .glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.22), transparent 60%); mix-blend-mode: overlay; z-index: 2; }
.tilt:hover .glare { opacity: 1; }
.feature, .athlete-card { position: relative; }

/* Görseller yumuşak belirsin */
img[loading="lazy"] { transition: opacity .6s ease; }
img[loading="lazy"].is-loading { opacity: 0; }

/* Görünür olunca: bölüm başlığı çizgisi uzasın */
.section-head.reveal .eyebrow::before { width: 0; transition: width .8s .2s cubic-bezier(.2, .8, .2, 1); }
.section-head.reveal.in .eyebrow::before { width: 22px; }
.reveal { transition-duration: .9s; }
.club-grid > .reveal:nth-child(2), .feature-grid > .reveal:nth-child(2), .athlete-grid > .reveal:nth-child(2) { transition-delay: .08s; }
.club-grid > .reveal:nth-child(3), .feature-grid > .reveal:nth-child(3), .athlete-grid > .reveal:nth-child(3) { transition-delay: .16s; }
.club-grid > .reveal:nth-child(4), .feature-grid > .reveal:nth-child(4), .athlete-grid > .reveal:nth-child(4) { transition-delay: .24s; }

/* Buton parıltısı */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.btn-primary:hover::after { transform: translateX(120%); }

@media (max-width: 720px) { .toasts { top: auto; bottom: 16px; right: 16px; left: 16px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .split-word > span { transform: none; } @view-transition { navigation: none; } }
.hero h1 em .split-word > span { background: linear-gradient(90deg, var(--gold), #ffd98a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tilt.reveal.in { transition: opacity .9s ease, transform .25s ease-out; }
/* Biçimlendirilmiş içerik */
.prose h3 { font-size: 22px; margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 1em 0; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 1.2em 0; padding: 14px 20px; border-left: 4px solid var(--red); background: var(--surface); border-radius: 0 14px 14px 0; font-size: 18px; color: var(--muted); }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }

/* =====================================================================
   v2.5 — Online kayıt, e-bilet, sporcu performans zaman çizelgesi
   ===================================================================== */
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: var(--red-600); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 700; color: var(--muted); }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.back-link:hover { color: var(--text); }
.tag-reg { background: rgba(var(--accent-rgb),.1); color: var(--red); gap: 4px; align-items: center; }
.tag-reg .ico { width: 13px; height: 13px; }
.two-col > aside.sticky:has(.reg-card) { position: static; }

.reg-card { border-top: 3px solid var(--red); }
.reg-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.reg-head h3 { font-size: 19px; }
.reg-head small { color: var(--muted); font-weight: 600; }
.reg-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red); flex: none; }
.reg-meter { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.reg-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--red)); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.reg-meter-legend { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin: 8px 0 4px; }
.reg-meter-legend strong { color: var(--text); }
.reg-meta { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.reg-meta .ico { width: 15px; height: 15px; }
.reg-form { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); display: grid; gap: 12px; }
.reg-form .field { margin: 0; }
.reg-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reg-2 > * { min-width: 0; }
.reg-fine { font-size: 12.5px; color: var(--muted); text-align: center; }
.reg-note { display: flex; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; color: var(--muted); }
.reg-note .ico { flex: none; margin-top: 2px; }

/* E-bilet */
.ticket-wrap { padding: 40px 20px 60px; max-width: 900px; }
.ticket { display: grid; grid-template-columns: 1fr 280px; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; border: 1px solid var(--line); }
.ticket::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(180deg, var(--red), var(--gold)); }
.ticket-main { padding: 30px 34px; min-width: 0; }
.ticket-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.ticket-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-family: var(--display); }
.ticket-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(16,185,129,.12); color: #047857; }
.ticket-status .ico { width: 15px; height: 15px; }
.ticket.is-waitlist .ticket-status { background: rgba(227,169,47,.18); color: #92600a; }
.ticket.is-cancelled .ticket-status { background: var(--red-50); color: var(--red); }
.ticket.is-checked .ticket-status { background: var(--ink); color: #fff; }
.ticket.is-cancelled .ticket-main, .ticket.is-cancelled .ticket-stub { opacity: .55; }
.ticket h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.1; margin: 6px 0 22px; }
.ticket-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.ticket-grid small, .ticket-code small { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 3px; }
.ticket-grid strong { font-size: 15.5px; overflow-wrap: anywhere; }
.ticket-foot { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.ticket-foot .ico { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.ticket-stub { position: relative; padding: 30px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--surface-2); border-left: 2px dashed var(--line-strong); text-align: center; }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.ticket-stub::before { top: -14px; } .ticket-stub::after { bottom: -14px; }
.ticket-qr { background: #fff; padding: 12px; border-radius: 16px; line-height: 0; box-shadow: var(--shadow); }
.ticket-qr svg { width: 190px; height: 190px; max-width: 100%; }
.qr-void { width: 190px; height: 190px; display: grid; place-items: center; color: var(--red); }
.qr-void .ico { width: 64px; height: 64px; }
.ticket-code strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; letter-spacing: .12em; }
.ticket-hint { color: var(--muted); font-size: 12.5px; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.staff-box { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border: 2px solid var(--ink); }
.staff-box strong { display: inline-flex; align-items: center; gap: 8px; }
.staff-box p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.cancel-box { margin-top: 18px; }
.cancel-box summary { cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.cancel-box p { color: var(--muted); margin: 12px 0; font-size: 14px; }
.ticket-legal { margin-top: 22px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket-main { padding: 24px 22px; }
  .ticket-stub { border-left: 0; border-top: 2px dashed var(--line-strong); }
  .ticket-stub::before, .ticket-stub::after { top: -15px; bottom: auto; }
  .ticket-stub::before { left: -14px; } .ticket-stub::after { left: auto; right: -14px; }
  .ticket-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .reg-2 { grid-template-columns: 1fr; } }
@media print {
  .site-header, .site-footer, .no-print, .toasts, .announce, .scroll-progress, .intro, .back-to-top { display: none !important; }
  body { background: #fff; }
  .ticket { box-shadow: none; border: 1px solid #999; }
  .ticket-wrap { padding: 0; }
}

/* Sporcu performans */
.perf-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.perf-card { padding: 22px; }
.perf-card h3 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.perf-chart svg { width: 100%; height: auto; display: block; }
.perf-chart .bar-a { fill: #d9a21b; } .perf-chart .bar-g { fill: #9aa3b2; } .perf-chart .bar-b { fill: #b06a35; } .perf-chart .bar-o { fill: var(--line-strong); }
.perf-chart text { font-size: 11px; fill: var(--muted); font-family: var(--font); }
.perf-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.perf-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.level-bars { display: grid; gap: 10px; }
.level-bars div { display: grid; grid-template-columns: 110px 1fr 28px; align-items: center; gap: 10px; font-size: 13.5px; }
.level-bars span { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.level-bars span i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); border-radius: inherit; }
.level-bars b { text-align: right; }
.timeline { position: relative; margin-top: 8px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--red), var(--line)); }
.tl-year { font-family: var(--display); font-weight: 800; font-size: 20px; margin: 22px 0 10px -28px; display: flex; align-items: center; gap: 10px; }
.tl-year::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 4px solid var(--bg); box-shadow: 0 0 0 2px var(--red); }
.tl-item { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.tl-item::before { content: ""; position: absolute; left: -24px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); }
.tl-item.m-altin::before { background: #d9a21b; border-color: #d9a21b; } .tl-item.m-gumus::before { background: #9aa3b2; border-color: #9aa3b2; } .tl-item.m-bronz::before { background: #b06a35; border-color: #b06a35; }
.tl-item.ev::before { background: var(--red); border-color: var(--red); }
.tl-item .tl-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.tl-item .tl-ic .ico { width: 18px; height: 18px; }
.tl-item.m-altin .tl-ic { color: #b7860f; } .tl-item.m-gumus .tl-ic { color: #6f7785; } .tl-item.m-bronz .tl-ic { color: #99582a; } .tl-item.ev .tl-ic { color: var(--red); }
.tl-item strong { display: block; font-size: 15px; }
.tl-item small { color: var(--muted); font-size: 13px; }
.tl-item > div { min-width: 0; flex: 1; }
.tl-item time { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
@media (max-width: 860px) { .perf-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   v2.7 — E-bülten, kurumsal sayfalar
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nl-form { display: grid; gap: 10px; }
.nl-row { display: flex; gap: 8px; }
.nl-row .input { flex: 1; min-width: 0; }
.nl-row .btn { flex: none; }
.nl-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.nl-consent input { margin-top: 2px; flex: none; accent-color: var(--red); }
.footer-nl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 26px; align-items: center; padding: 26px 0; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-nl h3 { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 18px; margin-bottom: 6px; }
.footer-nl p { color: rgba(255,255,255,.6); font-size: 14px; }
.footer-nl .input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff; }
.footer-nl .input::placeholder { color: rgba(255,255,255,.45); }
.footer-nl .nl-consent { color: rgba(255,255,255,.5); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: rgba(255,255,255,.6); font-size: 13px; }
.footer-legal a:hover { color: #fff; }
.nl-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--red) 7%, var(--surface))); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.nl-band::after { content: "@"; position: absolute; right: -10px; top: -60px; font: 800 240px/1 var(--display); color: rgba(var(--accent-rgb), .06); pointer-events: none; }
.nl-band h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 10px 0 8px; }
.nl-band p { color: var(--muted); }
.nl-band .nl-form { position: relative; z-index: 1; }
.nl-page .nl-row .btn span { display: inline; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.doc-layout .article { max-width: 780px; }
.doc-side { position: sticky; top: 100px; display: grid; gap: 14px; }
.doc-toc h3 { font-size: 15px; margin-bottom: 10px; }
.doc-toc ol { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }
.doc-toc a { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--line); }
.doc-toc a:last-child { border-bottom: 0; }
.doc-toc a:hover { color: var(--red); }
@media (max-width: 900px) { .footer-nl, .nl-band, .doc-layout { grid-template-columns: 1fr; } .doc-side { position: static; } }
@media (max-width: 480px) { .nl-row { flex-direction: column; } }

/* =====================================================================
   v2.8 — Turnuvalar, eleme ağacı, veli portalı
   ===================================================================== */
.tour-list { display: grid; gap: 12px; }
.tour-tile { display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.tour-tile:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.tour-tile .go { color: var(--muted); }
.tt-body { flex: 1; min-width: 0; }
.tt-body h3 { font-size: 20px; margin: 4px 0; }
.tt-body p { color: var(--muted); font-size: 14px; }
.tt-bar { display: block; height: 6px; border-radius: 99px; background: var(--surface-2); margin-top: 10px; max-width: 380px; overflow: hidden; }
.tt-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); border-radius: inherit; }
.tour-ic { flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--ink); color: var(--gold); }
.tour-ic.knockout { background: linear-gradient(135deg, var(--gold), #c98a0b); color: var(--ink); }
.tour-ic .ico { width: 24px; height: 24px; }
.tabs-pill { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 14px; background: var(--surface-2); }
.tabs-pill a { padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted); }
.tabs-pill a.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.champion { display: flex; align-items: center; gap: 16px; padding: 18px 22px; margin-bottom: 22px; border-radius: 20px; background: linear-gradient(120deg, #1c1606, #3b2b05 60%, #6b4d08); color: #fff; box-shadow: var(--shadow-lg); }
.champion .ico { width: 40px; height: 40px; color: var(--gold); }
.champion small { display: block; color: var(--gold); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.champion strong { font: 800 26px/1.1 var(--display); }
.scorers { list-style: none; counter-reset: sc; margin: 0; padding: 0; }
.scorers li { counter-increment: sc; display: grid; grid-template-columns: 28px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.scorers li:last-child { border-bottom: 0; }
.scorers li::before { content: counter(sc); grid-row: span 2; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); font-weight: 800; font-size: 13px; }
.scorers li:first-child::before { background: var(--gold); color: var(--ink); }
.scorers small { color: var(--muted); font-size: 12.5px; grid-column: 2; }
.scorers b { grid-row: 1 / span 2; grid-column: 3; font: 800 20px var(--display); }
.scorers.big li { padding: 14px 0; }
.bracket-card { overflow-x: auto; }
.bracket { display: grid; grid-template-columns: repeat(var(--rounds), minmax(210px, 1fr)); gap: 26px; min-width: calc(var(--rounds) * 230px); }
.br-round h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; text-align: center; }
.br-matches { display: flex; flex-direction: column; justify-content: space-around; gap: 14px; height: calc(100% - 30px); }
.br-match { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; position: relative; }
.br-match > small { display: block; padding: 5px 10px; font-size: 11px; color: var(--muted); background: var(--surface-2); font-weight: 700; }
.br-team { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 13.5px; font-weight: 600; }
.br-team + .br-team { border-top: 1px solid var(--line); }
.br-team .avatar { width: 24px; height: 24px; font-size: 9px; border-radius: 7px; }
.br-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-team b { font-family: var(--display); min-width: 18px; text-align: right; }
.br-team.win { background: color-mix(in srgb, var(--gold) 14%, transparent); }
.br-team.win .br-name { font-weight: 800; }
.br-team.tbd { color: var(--muted); font-style: italic; }
.tb-dot { width: 24px; height: 24px; border-radius: 7px; border: 2px dashed var(--line-strong); flex: none; }
@media (max-width: 640px) { .tour-tile { flex-wrap: wrap; } .tour-tile .tag { order: -1; } .champion strong { font-size: 20px; } }
/* Veli portalı */
.portal-bar { background: var(--ink); color: #fff; }
.portal-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.pb-user { display: flex; align-items: center; gap: 10px; }
.pb-user .avatar { width: 38px; height: 38px; background: var(--red); color: #fff; }
.pb-user small { display: block; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pb-user strong { font-size: 15px; }
.portal-bar nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.portal-bar nav a, .portal-bar nav button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; color: rgba(255,255,255,.75); font-weight: 600; font-size: 14px; background: none; border: 0; }
.portal-bar nav a.on, .portal-bar nav a:hover, .portal-bar nav button:hover { background: rgba(255,255,255,.1); color: #fff; }
.portal-bar nav form { margin: 0; }
.portal-bar .ico { width: 16px; height: 16px; }
.portal-wrap { padding: 30px 20px 60px; }
.portal-auth { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 60px 20px; }
.pa-side h1 { font-size: clamp(30px, 4vw, 46px); margin: 12px 0 18px; }
.pa-points { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.pa-points li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.pa-points .ico { color: var(--red); }
.pa-card { padding: 30px; }
.pa-card h2 { font-size: 26px; }
.kid-switch { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.kid-switch a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14px; }
.kid-switch a.on { border-color: var(--red); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12); }
.kid-switch .avatar { width: 30px; height: 30px; font-size: 11px; }
.kid-hero { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 22px; align-items: center; position: relative; margin-bottom: 18px; }
.kh-photo { width: 110px; height: 110px; border-radius: 22px; overflow: hidden; }
.kh-photo .photo, .kh-photo img { width: 100%; height: 100%; object-fit: cover; font-size: 34px; }
.kh-body h1 { font-size: clamp(26px, 3.4vw, 38px); margin: 6px 0; }
.kh-body p { color: var(--muted); }
.kh-body a { color: var(--text); font-weight: 700; }
.kh-stats { display: flex; gap: 12px; }
.kh-stats > div { padding: 14px 16px; border-radius: 16px; background: var(--surface-2); min-width: 120px; }
.kh-stats b { display: block; font: 800 24px/1.1 var(--display); }
.kh-stats small { color: var(--muted); font-size: 12px; font-weight: 600; }
.kh-stats .neg b { color: var(--red); }
.kh-card { position: absolute; top: 16px; right: 16px; }
.portal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.portal-grid > * { min-width: 0; }
.portal-grid.two { max-width: 980px; }
.pc-title { display: flex; align-items: center; gap: 8px; font-size: 19px; margin-bottom: 14px; }
.pc-title .ico { color: var(--red); }
.due-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.due-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); }
.due-list li > div { flex: 1; min-width: 0; }
.due-list strong { display: block; }
.due-list small { color: var(--muted); font-size: 12.5px; }
.due-list li.open { border-color: rgba(var(--accent-rgb), .35); background: var(--red-50); }
.due-list b { font-family: var(--display); }
.pay-hist { margin-top: 12px; font-size: 13.5px; }
.pay-hist summary { cursor: pointer; color: var(--muted); font-weight: 700; }
.pay-hist ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.pay-hist li { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.att-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; gap: 2px; background: var(--surface-2); }
.att-bar i, .att-legend i { background: var(--muted); }
.att-bar i.ok, .att-legend i.ok { background: #059669; } .att-bar i.warn, .att-legend i.warn { background: var(--gold); } .att-bar i.bad, .att-legend i.bad { background: var(--red); }
.att-legend { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 12px; font-size: 13px; color: var(--muted); }
.att-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }
.att-legend b { color: var(--text); }
.att-list { list-style: none; padding: 0; margin: 0; }
.att-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.att-list small { flex: 1; color: var(--muted); }
.pill.ok { background: rgba(5,150,105,.12); color: #047857; } .pill.warn { background: rgba(227,169,47,.18); color: #92600a; } .pill.bad { background: var(--red-50); color: var(--red); }
.mini-ach { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.mini-ach li { display: flex; gap: 10px; align-items: center; }
.mini-ach .ico { width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: var(--surface-2); }
.mini-ach .m-altin .ico { color: #b7860f; } .mini-ach .m-gumus .ico { color: #6f7785; } .mini-ach .m-bronz .ico { color: #99582a; }
.mini-ach strong { display: block; font-size: 14px; }
.mini-ach small { color: var(--muted); font-size: 12.5px; }
.event-list.compact .event-row { padding: 12px; }
.pay-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: start; }
.pay-summary h1 { font-size: 40px; margin: 8px 0 14px; }
.pay-summary dl { margin: 0; display: grid; gap: 10px; }
.pay-summary dl div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.pay-summary dt { color: var(--muted); }
.pay-summary dd { margin: 0; font-weight: 700; text-align: right; }
.pay-secure { display: flex; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.pay-secure .ico { color: #059669; flex: none; }
@media (max-width: 900px) {
  .portal-auth, .portal-grid, .pay-grid { grid-template-columns: 1fr; }
  .kid-hero { grid-template-columns: 80px minmax(0, 1fr); }
  .kh-photo { width: 80px; height: 80px; }
  .kh-stats { grid-column: 1 / -1; flex-wrap: wrap; }
  .kh-stats > div { flex: 1; min-width: 100px; }
  .kh-card { position: static; grid-column: 1 / -1; justify-self: start; }
}
.tour-full { display: grid; gap: 18px; }
.tour-aside { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.tour-aside .card { margin: 0 !important; }
.kh-photo { background: linear-gradient(160deg, var(--ink-3), var(--ink)); }
.kh-photo .photo { display: grid; place-items: center; width: 100%; height: 100%; }
.kh-photo .photo img { width: 100%; height: 100%; object-fit: cover; }
.kh-photo .photo.mono { font: 800 36px var(--display); color: #fff; background: radial-gradient(circle at 70% 20%, rgba(var(--accent-rgb),.6), transparent 60%); }

/* ===== v3.0 · Tesis haftalık takvimi ===== */
.fgrid-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -2px; }
.fgrid { --hours: 14; --row: 44px; display: grid; grid-template-columns: 52px repeat(7, minmax(92px, 1fr)); min-width: 720px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.fg-times { display: grid; grid-template-rows: 46px repeat(var(--hours), var(--row)); border-right: 1px solid var(--line); background: var(--surface-2); }
.fg-times span { font-size: 11px; font-weight: 700; color: var(--muted); text-align: right; padding: 3px 7px 0 0; font-variant-numeric: tabular-nums; }
.fg-times .fg-corner { padding: 0; }
.fg-day { display: grid; grid-template-rows: 46px 1fr; border-right: 1px solid var(--line); min-width: 0; }
.fg-day:last-child { border-right: 0; }
.fg-head { display: flex; flex-direction: column; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); background: var(--surface-2); line-height: 1.15; }
.fg-head b { font-size: 13px; } .fg-head small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.fg-day.today .fg-head { background: var(--red-50); color: var(--red); }
.fg-day.today .fg-head small { color: var(--red); }
.fg-col { position: relative; display: grid; grid-template-rows: repeat(var(--hours), var(--row)); }
.fg-line { border-bottom: 1px dashed var(--line); }
.fg-line:last-of-type { border-bottom: 0; }
.fg-b { --bc: var(--red); position: absolute; left: 3px; right: 3px; min-height: 20px; overflow: hidden; display: flex; flex-direction: column; gap: 1px; padding: 4px 7px; border-radius: 8px; font-size: 11.5px; line-height: 1.25;
  background: color-mix(in srgb, var(--bc) 14%, var(--surface)); border-left: 3px solid var(--bc); color: var(--text); text-decoration: none; transition: transform .15s, box-shadow .15s; z-index: 1; }
.fg-b b { font-size: 11px; color: var(--bc); font-variant-numeric: tabular-nums; }
.fg-b span { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-b small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; }
a.fg-b:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(11,16,32,.45); z-index: 2; }
.fg-b.st-pending { background: repeating-linear-gradient(-45deg, color-mix(in srgb, #e3a92f 16%, var(--surface)) 0 6px, var(--surface) 6px 12px); border-left-color: #e3a92f; }
.fg-b.st-pending b { color: #b7791f; }
.fg-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.fg-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fg-legend i { width: 14px; height: 14px; border-radius: 4px; background: color-mix(in srgb, var(--red) 18%, var(--surface)); border-left: 3px solid var(--red); }
.fg-legend i.st-pending { background: repeating-linear-gradient(-45deg, rgba(227,169,47,.3) 0 3px, transparent 3px 6px); border-left-color: #e3a92f; }
.occ { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.occ span { flex: 1; height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.occ i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--gold)); }
.occ small { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.spark { color: var(--muted); display: block; }
.tone-up .spark, .tone-up .mc-diff, .tone-up em { color: #059669; }
.tone-down .spark, .tone-down .mc-diff, .tone-down em { color: #dc2626; }
.fac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.fac-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: inherit; transition: transform .2s, box-shadow .2s; }
.fac-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.fac-img { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--ink), var(--ink-3)); display: grid; place-items: center; color: rgba(255,255,255,.35); }
.fac-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fac-img > .ico { width: 44px; height: 44px; }
.fac-img .tag { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 99px; background: rgba(11,16,32,.72); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); }
.fac-body { padding: 16px 18px 18px; }
.fac-body h3 { font-size: 18px; margin-bottom: 6px; }
.fac-body p { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; }
.fac-body p .ico { width: 15px; height: 15px; flex: none; }
.fac-cal { padding: 20px; }
.fac-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.fac-cal .period-nav { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.portal-growth { grid-column: 1 / -1; }
.pg-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pg-item { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 4px 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.pg-item > span { display: flex; flex-direction: column; font-weight: 700; font-size: 14px; }
.pg-item > span small { color: var(--muted); font-weight: 600; font-size: 11.5px; }
.pg-item .spark { grid-row: 1 / 3; grid-column: 2; }
.pg-item > b { font: 800 19px var(--display); display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.pg-item > b small { font: 600 12px var(--font); color: var(--muted); }
.pg-item > b em { font: 700 11.5px var(--font); font-style: normal; color: var(--muted); }
@media (max-width: 640px) { .fac-cal { padding: 14px; } .fgrid { --row: 38px; } }
