/* =====================================================================
   GalopX — "Bülten" Tasarım Sistemi
   Hasan Çiftçidurmaz Şans Oyunları

   Açık tema: beyaz zemin, kırmızı sinyal. Yarış bülteni okunaklılığı
   önceliklidir — süs değil, tarama hızı.

   NOT: Token adları koyu temadan devralındı (--ink-* yüzey, --paper*
   metin). Adlar korunmuştur çünkü ~500 yerde kullanılıyor; anlamları
   açık temaya göre yeniden tanımlanmıştır:
     --ink-*  : yüzeyler (beyaz → nötr griler)
     --paper* : koyu metin, --mist* soluk metin
     --turf   : marka kırmızısı (eski asit yeşilin yerini alır)
   ===================================================================== */

/* ---------------------------------------------------------------
   1. Token'lar
   --------------------------------------------------------------- */
:root {
  /* Yüzeyler — bülten kağıdı */
  --ink-950: #EEF1F5;
  --ink-900: #FFFFFF;
  --ink-850: #FFFFFF;
  --ink-800: #FFFFFF;
  --ink-750: #F7F8FA;
  --ink-700: #F1F3F6;
  --ink-650: #E8ECF1;
  --line:    #E3E7ED;
  --line-2:  #CBD2DB;

  /* Metin */
  --paper:   #12161C;
  --paper-2: #2C333D;
  --mist:    #626C7A;
  --mist-2:  #8B95A3;

  /* Vurgular */
  --turf:     #E30613;   /* marka kırmızısı — ana sinyal */
  --turf-dim: #B3040F;
  --turf-ink: #FFFFFF;   /* kırmızı üzerindeki metin */
  --gold:     #B26A00;   /* premium — beyazda okunur amber */
  --gold-dim: #8A5200;
  --silk-red: #B42318;
  --sky:      #0B6BCB;
  --violet:   #6941C6;

  /* Durum */
  --ok:   #067647;
  --warn: #B54708;
  --bad:  #B42318;

  /* Pist zemini */
  --cim:  #067647;
  --kum:  #B26A00;

  /* Tipografi */
  --f-display: 'Fraunces', 'Times New Roman', serif;
  --f-body:    'Barlow', system-ui, sans-serif;
  --f-cond:    'Barlow Condensed', 'Barlow', sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Ölçek */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 14px;
  --r-xl: 20px;

  --shadow-1: 0 1px 2px rgba(16,24,40,.06);
  --shadow-2: 0 4px 14px -4px rgba(16,24,40,.10);
  --shadow-3: 0 12px 32px -10px rgba(16,24,40,.16);
  --glow:     0 0 0 1px rgba(227,6,19,.28), 0 6px 18px -8px rgba(227,6,19,.35);

  --wrap: 1280px;
  --nav-h: 64px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------------------------------------------------------------
   2. Sıfırlama
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink-850);
  color: var(--paper-2);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Açık temada zemin dokusu ve parıltı yok — bülten okunaklılığını bozuyordu. */
body::before,
body::after { content: none; }

img, video { display: block; max-width: 100%; height: auto; }

/* SVG: genişlik/yükseklik özniteliği taşır (icons.php 1em verir).
   Esnek kapsayıcılarda ezilmemesi için flex:none. */
svg { display: block; flex: none; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--turf); color: var(--turf-ink); }

:focus-visible {
  outline: 2px solid var(--turf);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Kaydırma çubuğu */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink-700); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; border: 3px solid var(--ink-700); }
::-webkit-scrollbar-thumb:hover { background: var(--mist-2); }

/* ---------------------------------------------------------------
   3. Tipografi
   --------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--paper);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-variation-settings: 'SOFT' 0, 'WONK' 1, 'opsz' 40;
}
h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h2 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
h3 { font-size: clamp(1.08rem, 1.6vw, 1.25rem); }
h4 { font-size: 1rem; letter-spacing: -.01em; }

p { color: var(--paper-2); }
strong { color: var(--paper); font-weight: 600; }
small { font-size: .82rem; }

.lede {
  font-size: clamp(.95rem, 1.1vw, 1.04rem);
  color: var(--mist);
  line-height: 1.7;
  max-width: 64ch;
}

/* Bölüm etiketi — hipodrom tabelası hissi */
.eyebrow {
  font-family: var(--f-cond);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--turf);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--turf), transparent);
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--gold::before { background: linear-gradient(90deg, var(--gold), transparent); }

.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.cond { font-family: var(--f-cond); }

.accent { color: var(--turf); }
.accent-gold { color: var(--gold); }
.muted { color: var(--mist); }
.dim { color: var(--mist-2); }

/* ---------------------------------------------------------------
   4. Düzen
   --------------------------------------------------------------- */
.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.wrap--narrow { width: min(100% - 40px, 860px); }
.wrap--mid    { width: min(100% - 40px, 1060px); }

main { flex: 1; position: relative; z-index: 1; }

.section { padding: clamp(26px, 3.4vw, 44px) 0; }
.section--tight { padding: clamp(18px, 2.4vw, 28px) 0; }
.section--alt { background: var(--ink-750); border-block: 1px solid var(--line); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.sec-head__text { max-width: 60ch; }
.sec-head h2 { margin-top: 5px; }
.sec-head p { margin-top: 5px; color: var(--mist); font-size: .9rem; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.stack   { display: flex; flex-direction: column; gap: 16px; }
.row     { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.spacer  { flex: 1; }

/* ---------------------------------------------------------------
   5. Üst şerit + Navigasyon
   --------------------------------------------------------------- */
.ticker {
  background: var(--turf);
  color: var(--turf-ink);
  border-bottom: 0;
  overflow: hidden;
  position: relative;
  z-index: 60;
}
.ticker__inner {
  display: flex;
  align-items: center;
  gap: 0;
  height: 38px;
}
.ticker__label {
  flex: none;
  /* Kayan şerit etiketin altından geçmeli: etiket üstte kalsın */
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 16px;
  background: #fff;
  color: var(--turf);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  padding-right: 26px;
}
.ticker__label .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink-900);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

.ticker__track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  animation: marquee 46s linear infinite;
  padding-left: 24px;
  min-width: 0;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-cond);
  font-size: .88rem;
  color: rgba(255,255,255,.82);
  letter-spacing: .03em;
}
.ticker__item b { color: #fff; font-weight: 600; }
.ticker__item .odds { color: #fff; font-weight: 700; font-family: var(--f-mono); font-size: .8rem; }

/* Navigasyon */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.nav.is-stuck { box-shadow: 0 2px 12px -4px rgba(16,24,40,.16); background: rgba(255,255,255,.97); backdrop-filter: saturate(180%) blur(8px); }

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--turf), var(--turf-dim));
  display: grid; place-items: center;
  box-shadow: 0 6px 20px -6px rgba(227,6,19,.5);
  position: relative;
  overflow: hidden;
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__mark::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(16,24,40,0.09) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.brand:hover .brand__mark::after { transform: translateX(120%); }

.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--f-display);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -.035em;
  font-variation-settings: 'SOFT' 0, 'WONK' 1, 'opsz' 20;
}
.brand__name em { color: var(--turf); font-style: normal; }
.brand__sub {
  font-family: var(--f-cond);
  font-size: .6rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--mist-2);
  margin-top: 3px;
}

/* Menü */
.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 10px;
  font-family: var(--f-cond);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--paper-2);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--paper); background: rgba(16,24,40,0.045); }
.nav__link.is-on { color: var(--turf); }
.nav__link.is-on::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 1px;
  height: 2px;
  background: var(--turf);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(227,6,19,.7);
}

.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* Kullanıcı menüsü */
.umenu { position: relative; }
.umenu__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 6px 6px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--ink-800);
  transition: border-color .2s, background .2s;
}
.umenu__btn:hover { border-color: var(--line-2); background: var(--ink-750); }
.umenu__av {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--turf), var(--turf-dim));
  color: var(--turf-ink);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: .84rem;
  flex: none;
}
.umenu__name {
  font-family: var(--f-cond);
  font-size: .96rem;
  color: var(--paper);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.umenu__caret { width: 14px; height: 14px; color: var(--mist); transition: transform .25s; }
.umenu.is-open .umenu__caret { transform: rotate(180deg); }

.umenu__drop {
  position: absolute;
  right: 0; top: calc(100% + 10px);
  width: 264px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-3);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transition: all .24s var(--ease-out);
  z-index: 70;
}
.umenu.is-open .umenu__drop { opacity: 1; visibility: visible; transform: none; }

.umenu__head {
  padding: 12px 12px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.umenu__head b { display: block; color: var(--paper); font-size: .98rem; }
.umenu__head span { font-size: .8rem; color: var(--mist); }

.umenu__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: .94rem;
  color: var(--paper-2);
  transition: background .18s, color .18s;
}
.umenu__item:hover { background: rgba(16,24,40,0.05); color: var(--paper); }
.umenu__item svg { width: 17px; height: 17px; color: var(--mist); flex: none; }
.umenu__item:hover svg { color: var(--turf); }
.umenu__item--danger:hover { color: var(--silk-red); }
.umenu__item--danger:hover svg { color: var(--silk-red); }
.umenu__sep { height: 1px; background: var(--line); margin: 8px 4px; }

.umenu__badge {
  margin-left: auto;
  background: var(--silk-red);
  color: #fff;
  font-family: var(--f-mono);
  font-size: .66rem;
  padding: 1px 6px;
  border-radius: 99px;
}

/* Mobil */
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: var(--ink-800); }
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--paper); margin: 4px auto; border-radius: 2px; transition: .3s var(--ease); }
.nav__burger.is-on span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.is-on span:nth-child(2) { opacity: 0; }
.nav__burger.is-on span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------
   6. Butonlar
   --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 11px;
  font-family: var(--f-cond);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: .05em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.is-disabled { opacity: .5; pointer-events: none; }

.btn--primary { background: var(--turf); color: var(--turf-ink); box-shadow: 0 2px 8px -2px rgba(227,6,19,.35); }
.btn--primary:hover { background: var(--turf-dim); box-shadow: 0 6px 18px -8px rgba(227,6,19,.45); transform: translateY(-1px); }

.btn--gold { background: linear-gradient(140deg, var(--gold), var(--gold-dim)); color: #fff; box-shadow: 0 2px 8px -2px rgba(178,106,0,.4); }
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(178,106,0,.5); }

.btn--ghost { border-color: var(--line-2); color: var(--paper); background: rgba(16,24,40,0.02); }
.btn--ghost:hover { border-color: var(--turf); color: var(--turf); background: rgba(227,6,19,.06); }

.btn--dark { background: var(--ink-700); color: var(--paper); border-color: var(--line); }
.btn--dark:hover { background: var(--ink-650); border-color: var(--line-2); }

.btn--danger { background: rgba(180,35,24,.12); color: var(--silk-red); border-color: rgba(180,35,24,.35); }
.btn--danger:hover { background: var(--silk-red); color: #fff; }

.btn--sm { padding: 8px 15px; font-size: .92rem; border-radius: 9px; }
.btn--lg { padding: 15px 32px; font-size: 1.14rem; }
.btn--block { width: 100%; }

/* Bağlantı oku */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-cond);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--turf);
  transition: gap .25s var(--ease);
}
.arrow-link:hover { gap: 14px; }
.arrow-link svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------
   7. Rozetler / etiketler
   --------------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 7px;
  font-family: var(--f-cond);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  background: rgba(16,24,40,0.055);
  color: var(--mist);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.tag--turf  { background: rgba(227,6,19,.11); color: var(--turf); border-color: rgba(227,6,19,.3); }
.tag--gold  { background: rgba(178,106,0,.12); color: var(--gold); border-color: rgba(178,106,0,.32); }
.tag--sky   { background: rgba(11,107,203,.11); color: var(--sky); border-color: rgba(11,107,203,.3); }
.tag--red   { background: rgba(180,35,24,.12); color: var(--silk-red); border-color: rgba(180,35,24,.32); }
.tag--ok    { background: rgba(79,217,138,.12); color: var(--ok); border-color: rgba(79,217,138,.3); }
.tag--violet{ background: rgba(180,156,255,.12); color: var(--violet); border-color: rgba(180,156,255,.3); }
.tag--solid { background: var(--turf); color: var(--turf-ink); border-color: transparent; }
.tag--dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Sonuç rozeti */
.res { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 7px;
       font-family: var(--f-cond); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.res--ok    { background: rgba(79,217,138,.14); color: var(--ok); }
.res--no    { background: rgba(180,35,24,.13); color: var(--silk-red); }
.res--wait  { background: rgba(16,24,40,0.06); color: var(--mist); }
.res--muted { background: rgba(16,24,40,0.05); color: var(--mist-2); }

/* At numarası — TJK kulvar renkleri */
.hno {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--hno-bg, var(--ink-700));
  color: var(--hno-fg, var(--paper));
  font-family: var(--f-mono);
  font-size: .92rem;
  font-weight: 700;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(16,24,40,.10), 0 1px 2px rgba(16,24,40,.10);
}
.hno--sm { width: 24px; height: 24px; font-size: .78rem; border-radius: 6px; }
.hno--lg { width: 40px; height: 40px; font-size: 1.16rem; border-radius: 11px; }

/* Jokey forması */
.silk { border-radius: 16px; flex: none; box-shadow: var(--shadow-1); }
.silk--sm { border-radius: 10px; }

/* Güven yıldızları */
.conf { display: inline-flex; gap: 2px; align-items: center; }
.conf i { width: 13px; height: 13px; display: block; color: var(--line-2); }
.conf i.on { color: var(--gold); }
.conf svg { width: 100%; height: 100%; }

/* Premium kilit rozeti */
.lock-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px;
  border-radius: 99px;
  background: linear-gradient(135deg, rgba(178,106,0,.2), rgba(178,106,0,.08));
  border: 1px solid rgba(178,106,0,.4);
  color: var(--gold);
  font-family: var(--f-cond);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lock-pill svg { width: 12px; height: 12px; }

/* ---------------------------------------------------------------
   8. Kartlar
   --------------------------------------------------------------- */
.card {
  background: linear-gradient(165deg, var(--ink-750), var(--ink-800));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .35s;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.card--hover:hover { transform: translateY(-4px); }
.card__body { padding: 22px; }
.card__head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
.card__head h3, .card__head h4 { font-size: 1.06rem; }
.card__foot {
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  background: rgba(16,24,40,0.0448);
  display: flex; align-items: center; gap: 12px;
}

/* Üst kenar aksanı */
.card--accent::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--turf), transparent);
  opacity: 0;
  transition: opacity .35s;
}
.card--accent:hover::before { opacity: 1; }

/* ---- Tahmin kartı ---- */
.pred {
  display: flex;
  flex-direction: column;
  background: linear-gradient(168deg, var(--ink-750) 0%, var(--ink-800) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .35s;
}
.pred:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-2); }

.pred__top {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(16,24,40,0.056);
}
.pred__tipster { display: flex; align-items: center; gap: 11px; min-width: 0; }
.pred__tipster b {
  display: block;
  font-family: var(--f-cond);
  font-size: 1.02rem;
  color: var(--paper);
  line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pred__tipster span { font-size: .76rem; color: var(--mist-2); }

.pred__meta {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  flex-wrap: wrap;
  border-bottom: 1px dashed var(--line);
}
.pred__where {
  font-family: var(--f-cond);
  font-size: .95rem;
  color: var(--paper-2);
  display: inline-flex; align-items: center; gap: 7px;
}
.pred__where svg { width: 14px; height: 14px; color: var(--turf); }

.pred__body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 14px; }

.pred__picks { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.pred__pick {
  display: flex; align-items: center; gap: 9px;
  background: rgba(16,24,40,0.04);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 7px 13px 7px 7px;
}
.pred__pick b { font-family: var(--f-cond); font-size: 1rem; color: var(--paper); }
.pred__pick small { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mist-2); line-height: 1; }
.pred__pick--banko { border-color: rgba(227,6,19,.34); background: rgba(227,6,19,.07); }
.pred__pick--surpriz { border-color: rgba(178,106,0,.34); background: rgba(178,106,0,.07); }

.pred__analysis { font-size: .93rem; color: var(--mist); line-height: 1.62; }

.pred__foot {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  background: rgba(16,24,40,0.0448);
  margin-top: auto;
}
.pred__stat { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--mist-2); }
.pred__stat svg { width: 13px; height: 13px; }

/* Kilitli tahmin */
.pred--locked .pred__body { position: relative; }
.pred__lock {
  position: relative;
  border-radius: var(--r);
  border: 1px dashed rgba(178,106,0,.35);
  background:
    linear-gradient(135deg, rgba(178,106,0,.06), rgba(178,106,0,.015)),
    repeating-linear-gradient(-45deg, transparent, transparent 9px, rgba(178,106,0,.035) 9px, rgba(178,106,0,.035) 18px);
  padding: 24px 20px;
  text-align: center;
}
.pred__lock svg.big { width: 30px; height: 30px; color: var(--gold); margin: 0 auto 10px; }
.pred__lock b { display: block; font-family: var(--f-cond); font-size: 1.08rem; color: var(--paper); margin-bottom: 5px; }
.pred__lock p { font-size: .87rem; color: var(--mist); margin-bottom: 14px; }

/* Bulanık önizleme */
.blurred {
  filter: blur(7px);
  opacity: .5;
  user-select: none;
  pointer-events: none;
}

/* ---- Yorumcu kartı ---- */
.tipster {
  display: flex; flex-direction: column;
  background: linear-gradient(170deg, var(--ink-750), var(--ink-800));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .32s var(--ease), border-color .3s, box-shadow .35s;
  position: relative;
}
.tipster:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow-2); }

.tipster__banner {
  height: 78px;
  position: relative;
  background:
    repeating-linear-gradient(115deg, rgba(16,24,40,0.028) 0 14px, transparent 14px 28px),
    linear-gradient(120deg, var(--ink-700), var(--ink-750));
  border-bottom: 1px solid var(--line);
}
.tipster__banner::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(200px 80px at 20% 120%, rgba(227,6,19,.14), transparent 70%);
}
.tipster__rank {
  position: absolute; top: 12px; right: 14px;
  font-family: var(--f-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: rgba(244,241,232,.13);
  letter-spacing: -.05em;
  line-height: 1;
}
.tipster__silk {
  position: absolute;
  left: 20px; bottom: -26px;
  border: 3px solid var(--ink-750);
  border-radius: 18px;
  box-shadow: var(--shadow-2);
}
.tipster__body { padding: 34px 20px 18px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.tipster__name { font-family: var(--f-display); font-size: 1.22rem; color: var(--paper); line-height: 1.15; }
.tipster__title { font-family: var(--f-cond); font-size: .92rem; color: var(--turf); letter-spacing: .03em; }
.tipster__bio { font-size: .88rem; color: var(--mist); line-height: 1.6; }

.tipster__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: auto;
}
.tipster__stat { background: var(--ink-800); padding: 11px 8px; text-align: center; }
.tipster__stat b {
  display: block;
  font-family: var(--f-mono);
  font-size: 1.06rem;
  color: var(--paper);
  letter-spacing: -.04em;
}
.tipster__stat b.up { color: var(--turf); }
.tipster__stat span {
  font-family: var(--f-cond);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--mist-2);
}

/* Yıldız derece */
.stars { display: inline-flex; align-items: center; gap: 3px; }
.stars svg { width: 14px; height: 14px; color: var(--line-2); }
.stars svg.on { color: var(--gold); }
.stars .val { font-family: var(--f-mono); font-size: .84rem; color: var(--gold); margin-left: 4px; }

/* ---- Paket kartı ---- */
.pkg {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(172deg, var(--ink-750), var(--ink-850));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px 26px 26px;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .4s;
  overflow: hidden;
}
.pkg:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow-3); }

.pkg--featured {
  border-color: rgba(227,6,19,.4);
  background: linear-gradient(172deg, rgba(227,6,19,.055), var(--ink-800) 45%, var(--ink-850));
  box-shadow: var(--glow);
}
.pkg--featured:hover { border-color: var(--turf); }
.pkg--featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--turf), transparent);
}

.pkg__badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--turf); color: var(--turf-ink);
  font-family: var(--f-cond);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 99px;
}
.pkg--featured .pkg__badge { box-shadow: 0 4px 16px -4px rgba(227,6,19,.7); }

.pkg__months {
  font-family: var(--f-display);
  font-size: 3.3rem;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -.045em;
  font-variation-settings: 'SOFT' 0, 'WONK' 1, 'opsz' 60;
}
.pkg__months sup { font-size: .9rem; color: var(--mist); font-family: var(--f-cond); letter-spacing: .1em; text-transform: uppercase; vertical-align: super; margin-left: 6px; }
.pkg__name { font-family: var(--f-cond); font-size: 1.16rem; color: var(--turf); letter-spacing: .04em; margin-top: 4px; }
.pkg__tagline { font-size: .89rem; color: var(--mist); margin-top: 8px; min-height: 42px; }

.pkg__price { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 6px; flex-wrap: wrap; }
.pkg__price b {
  font-family: var(--f-mono);
  font-size: 2.05rem;
  color: var(--paper);
  letter-spacing: -.05em;
  font-weight: 700;
}
.pkg__price del { font-family: var(--f-mono); font-size: 1rem; color: var(--mist-2); }
.pkg__monthly { font-size: .84rem; color: var(--mist); font-family: var(--f-cond); letter-spacing: .04em; }
.pkg__save {
  /* .pkg bir flex sütunu; align-self olmadan rozet tüm genişliğe yayılır */
  display: inline-block;
  align-self: flex-start;
  margin-top: 10px;
  background: rgba(79,217,138,.13);
  color: var(--ok);
  font-family: var(--f-cond);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px; border-radius: 7px;
}

.pkg__list { margin: 22px 0 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.pkg__list li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--paper-2); line-height: 1.5; }
.pkg__list svg { width: 16px; height: 16px; color: var(--turf); flex: none; margin-top: 3px; }

/* ---- Haber kartı ---- */
.post {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-800);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .35s;
}
.post:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-2); }
.post__img {
  aspect-ratio: 16/9;
  background:
    repeating-linear-gradient(125deg, rgba(227,6,19,.05) 0 18px, transparent 18px 36px),
    linear-gradient(140deg, var(--ink-700), var(--ink-850));
  position: relative;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.post__img svg { width: 46px; height: 46px; color: rgba(227,6,19,.22); }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post__cat {
  position: absolute; top: 12px; left: 12px;
  background: rgba(8,13,12,.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--turf);
  font-family: var(--f-cond);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 7px;
}
.post__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__body h3 { font-size: 1.1rem; line-height: 1.28; }
.post__body p { font-size: .89rem; color: var(--mist); flex: 1; }
.post__meta { display: flex; align-items: center; gap: 12px; font-size: .78rem; color: var(--mist-2); }

/* ---- Kupon kartı ---- */
.coupon {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(168deg, var(--ink-750), var(--ink-800));
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .35s;
  position: relative;
}
.coupon:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-2); }
.coupon--won { border-color: rgba(79,217,138,.38); }
.coupon--won::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--ok), transparent);
}
.coupon__head { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; background: rgba(16,24,40,0.056); }
.coupon__legs { padding: 6px 0; }
.coupon__leg {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px dashed var(--line);
}
.coupon__leg:last-child { border-bottom: 0; }
.coupon__legno {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--ink-700);
  color: var(--mist);
  display: grid; place-items: center;
  font-family: var(--f-mono);
  font-size: .78rem;
  flex: none;
  border: 1px solid var(--line);
}
.coupon__leg.is-hit .coupon__legno { background: rgba(79,217,138,.16); color: var(--ok); border-color: rgba(79,217,138,.35); }
.coupon__leg.is-miss .coupon__legno { background: rgba(180,35,24,.13); color: var(--silk-red); border-color: rgba(180,35,24,.3); }
.coupon__nos { display: flex; gap: 6px; flex-wrap: wrap; }
.coupon__info { margin-left: auto; font-family: var(--f-cond); font-size: .84rem; color: var(--mist-2); white-space: nowrap; }

/* ---------------------------------------------------------------
   9. Tablolar
   --------------------------------------------------------------- */
.tbl-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-800);
}
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.tbl { width: 100%; min-width: 620px; }
.tbl thead th {
  background: var(--ink-900);
  padding: 13px 16px;
  text-align: left;
  font-family: var(--f-cond);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  position: sticky; top: 0; z-index: 2;
}
.tbl tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
  color: var(--paper-2);
  vertical-align: middle;
}
.tbl tbody tr { transition: background .18s; }
.tbl tbody tr:hover { background: rgba(16,24,40,0.028); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td.num, .tbl th.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.tbl .ta-c { text-align: center; }
.tbl .ta-r { text-align: right; }
.tbl tr.is-win { background: rgba(79,217,138,.055); }
.tbl tr.is-win:hover { background: rgba(79,217,138,.09); }

/* Sıralama tablosu */
.rank {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--f-mono);
  font-size: .96rem; font-weight: 700;
  background: var(--ink-700);
  color: var(--mist);
  border: 1px solid var(--line);
}
.rank--1 { background: linear-gradient(140deg, var(--gold), var(--gold-dim)); color: #fff; border-color: transparent; box-shadow: 0 2px 8px -3px rgba(178,106,0,.5); }
.rank--2 { background: linear-gradient(140deg, #D8DEE3, #9AA5AC); color: #12181A; border-color: transparent; }
.rank--3 { background: linear-gradient(140deg, #D08B4F, #9E6431); color: #1A0F05; border-color: transparent; }

/* Program tablosu satırı */
.prog-row__no {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--ink-700);
  border: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 1rem;
  color: var(--paper);
  flex: none;
}
.prog-row__no.is-leg { background: rgba(227,6,19,.12); border-color: rgba(227,6,19,.34); color: var(--turf); }

/* Sonuç podyumu */
.podium { display: flex; gap: 10px; flex-wrap: wrap; }
.podium__item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 9px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--ink-800);
}
.podium__item:first-child { border-color: rgba(178,106,0,.4); background: linear-gradient(135deg, rgba(178,106,0,.09), transparent); }
.podium__pos {
  font-family: var(--f-display);
  font-size: 1.05rem;
  color: var(--mist-2);
  width: 18px;
}
.podium__item:first-child .podium__pos { color: var(--gold); }
.podium__name { font-family: var(--f-cond); font-size: .98rem; color: var(--paper); }
.podium__odds { font-family: var(--f-mono); font-size: .82rem; color: var(--turf); }

/* ---------------------------------------------------------------
   10. Formlar
   --------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label, .lbl {
  font-family: var(--f-cond);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
}
.field .hint { font-size: .8rem; color: var(--mist-2); }
.field .err { font-size: .82rem; color: var(--silk-red); }

.inp, .sel, .txt {
  width: 100%;
  padding: 12px 15px;
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--paper);
  font-size: .98rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.inp::placeholder, .txt::placeholder { color: var(--mist-2); }
.inp:focus, .sel:focus, .txt:focus {
  outline: none;
  border-color: var(--turf);
  background: var(--ink-850);
  box-shadow: 0 0 0 3px rgba(227,6,19,.13);
}
.inp:disabled, .sel:disabled { opacity: .55; cursor: not-allowed; }
.txt { resize: vertical; min-height: 118px; line-height: 1.6; font-family: var(--f-body); }

.sel {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2383978E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.sel option { background: var(--ink-800); color: var(--paper); }

.inp-group { position: relative; }
.inp-group .inp { padding-left: 44px; }
.inp-group__icon {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--mist-2); pointer-events: none;
}
.inp-group__btn {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; color: var(--mist); display: grid; place-items: center; border-radius: 6px;
}
.inp-group__btn:hover { color: var(--turf); background: rgba(16,24,40,0.05); }
.inp-group__btn svg { width: 17px; height: 17px; }

/* Onay kutusu */
.check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; font-size: .91rem; color: var(--paper-2); line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  width: 20px; height: 20px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--ink-900);
  display: grid; place-items: center;
  flex: none; margin-top: 1px;
  transition: all .2s;
}
.check__box svg { width: 12px; height: 12px; color: var(--turf-ink); opacity: 0; transform: scale(.5); transition: all .2s var(--ease-out); }
.check input:checked + .check__box { background: var(--turf); border-color: var(--turf); }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 3px rgba(227,6,19,.25); }
.check a { color: var(--turf); text-decoration: underline; text-underline-offset: 2px; }

/* Radyo kart */
.radio-card { position: relative; cursor: pointer; display: block; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card__in {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 15px 17px;
  background: var(--ink-800);
  transition: all .22s;
  display: flex; align-items: center; gap: 13px;
}
.radio-card:hover .radio-card__in { border-color: var(--line-2); }
.radio-card input:checked + .radio-card__in {
  border-color: var(--turf);
  background: rgba(227,6,19,.06);
  box-shadow: 0 0 0 1px rgba(227,6,19,.3);
}
.radio-card__dot {
  width: 19px; height: 19px; border-radius: 50%;
  border: 1px solid var(--line-2); flex: none;
  display: grid; place-items: center;
  transition: border-color .2s;
}
.radio-card__dot::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--turf); transform: scale(0); transition: transform .22s var(--ease-out); }
.radio-card input:checked + .radio-card__in .radio-card__dot { border-color: var(--turf); }
.radio-card input:checked + .radio-card__in .radio-card__dot::after { transform: scale(1); }

/* Filtre çubuğu */
.filters {
  display: flex; gap: 11px; flex-wrap: wrap; align-items: flex-end;
  padding: 18px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 26px;
}
.filters .field { min-width: 150px; flex: 1 1 150px; }
.filters .field > label { font-size: .74rem; letter-spacing: .13em; }
.filters .inp, .filters .sel { padding: 10px 13px; font-size: .92rem; }
.filters .sel { padding-right: 36px; }

/* Yatay sekmeler / hap filtreler */
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--ink-800);
  font-family: var(--f-cond);
  font-size: .95rem;
  letter-spacing: .04em;
  color: var(--paper-2);
  transition: all .2s;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
}
.pill:hover { border-color: var(--line-2); color: var(--paper); }
.pill.is-on { background: var(--turf); border-color: var(--turf); color: var(--turf-ink); font-weight: 600; }
.pill__n { font-family: var(--f-mono); font-size: .78rem; opacity: .7; }

/* Tarih şeridi */
.dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.date-chip {
  flex: none;
  min-width: 78px;
  padding: 11px 14px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--ink-800);
  text-align: center;
  transition: all .22s;
}
.date-chip:hover { border-color: var(--line-2); transform: translateY(-2px); }
.date-chip.is-on { background: var(--turf); border-color: var(--turf); }
.date-chip b { display: block; font-family: var(--f-mono); font-size: 1.16rem; color: var(--paper); line-height: 1.1; }
.date-chip span { font-family: var(--f-cond); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mist-2); }
.date-chip.is-on b, .date-chip.is-on span { color: var(--turf-ink); }
.date-chip.is-today { border-color: rgba(227,6,19,.42); }

/* ---------------------------------------------------------------
   11. Uyarılar
   --------------------------------------------------------------- */
.alert {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 14px 17px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--ink-800);
  font-size: .93rem;
  line-height: 1.55;
}
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.alert--success { border-color: rgba(79,217,138,.34); background: rgba(79,217,138,.07); color: #B8F0D0; }
.alert--success svg { color: var(--ok); }
.alert--error { border-color: rgba(180,35,24,.30); background: #FEF3F2; color: #912018; }
.alert--error svg { color: var(--silk-red); }
.alert--warning { border-color: rgba(245,197,24,.32); background: rgba(245,197,24,.07); color: #F7E5AC; }
.alert--warning svg { color: var(--warn); }
.alert--info { border-color: rgba(11,107,203,.28); background: #EFF6FF; color: #0A4F99; }
.alert--info svg { color: var(--sky); }

/* Yüzen flash */
.flash-zone {
  position: fixed;
  top: calc(var(--nav-h) + 16px);
  right: 20px;
  z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
  max-width: min(420px, calc(100vw - 40px));
}
.flash-zone .alert {
  box-shadow: var(--shadow-3);
  background: var(--ink-750);
  animation: slideIn .45s var(--ease-out) both;
}
@keyframes slideIn { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
.flash-zone .alert.is-out { animation: slideOut .35s var(--ease) forwards; }
@keyframes slideOut { to { opacity: 0; transform: translateX(32px); height: 0; padding: 0; margin: 0; } }
.flash__x { margin-left: auto; color: var(--mist-2); width: 18px; height: 18px; flex: none; }
.flash__x:hover { color: var(--paper); }

/* ---------------------------------------------------------------
   12. Kahraman bölümü
   --------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(112deg, rgba(227,6,19,.028) 0 2px, transparent 2px 26px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 72%);
  pointer-events: none;
}
/* Foto-finiş çizgisi */
.hero::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 14%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(227,6,19,.28), transparent);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(30px, 5vw, 62px);
  align-items: center;
}
.hero__title { margin: 18px 0 20px; }
.hero__title em {
  font-style: italic;
  color: var(--turf);
  font-variation-settings: 'SOFT' 40, 'WONK' 1, 'opsz' 60;
}
.hero__cta { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }

.hero__trust { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__trust-item b {
  display: block;
  font-family: var(--f-mono);
  font-size: 1.55rem;
  color: var(--paper);
  letter-spacing: -.05em;
  line-height: 1.1;
}
.hero__trust-item span { font-family: var(--f-cond); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist-2); }

/* Kahraman kartı — günün öne çıkanı */
.hero__panel {
  background: linear-gradient(165deg, var(--ink-750), var(--ink-850));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  position: relative;
}
.hero__panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--turf), transparent);
}
.hero__panel-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  background: rgba(16,24,40,0.06);
}
.hero__panel-head h3 { font-size: 1.02rem; font-family: var(--f-cond); letter-spacing: .05em; }
.hero__panel-list { max-height: 430px; overflow-y: auto; }
.hero__panel-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.hero__panel-row:hover { background: rgba(16,24,40,0.03); }
.hero__panel-row:last-child { border-bottom: 0; }
.hero__panel-row .meta { min-width: 0; flex: 1; }
.hero__panel-row .meta b { display: block; font-family: var(--f-cond); font-size: .98rem; color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__panel-row .meta span { font-size: .78rem; color: var(--mist-2); }

/* ---------------------------------------------------------------
   13. İstatistik döşemeleri
   --------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: linear-gradient(165deg, var(--ink-800), var(--ink-850));
  padding: 26px 22px;
  position: relative;
  transition: background .3s;
}
.stat:hover { background: var(--ink-750); }
.stat__icon { width: 22px; height: 22px; color: var(--turf); margin-bottom: 14px; }
.stat__val {
  font-family: var(--f-mono);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -.055em;
  line-height: 1;
}
.stat__val sup { font-size: .5em; color: var(--turf); margin-left: 2px; }
.stat__label {
  font-family: var(--f-cond);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mist-2);
  margin-top: 9px;
}

/* ---------------------------------------------------------------
   14. Sayfa başlığı / breadcrumb
   --------------------------------------------------------------- */
.phead {
  padding: clamp(18px, 2.6vw, 26px) 0 clamp(14px, 2vw, 20px);
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--ink-750);
}
.phead::after { content: none; }
.phead__in { position: relative; z-index: 1; }
.phead h1 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin: 4px 0 0; }
.phead p { color: var(--mist); margin-top: 4px; max-width: 74ch; font-size: .92rem; }

.crumbs { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--mist-2); flex-wrap: wrap; }
.crumbs a { color: var(--mist); transition: color .2s; }
.crumbs a:hover { color: var(--turf); }
.crumbs svg { width: 13px; height: 13px; opacity: .5; }

/* ---------------------------------------------------------------
   15. Sayfalama
   --------------------------------------------------------------- */
.pagination { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.pg {
  min-width: 42px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--ink-800);
  font-family: var(--f-cond);
  font-size: .96rem;
  color: var(--paper-2);
  text-align: center;
  transition: all .2s;
}
.pg:hover { border-color: var(--line-2); color: var(--paper); }
.pg--on { background: var(--turf); border-color: var(--turf); color: var(--turf-ink); font-weight: 700; }
.pg--gap { border: 0; background: none; color: var(--mist-2); }

/* ---------------------------------------------------------------
   16. Boş durum
   --------------------------------------------------------------- */
.empty {
  text-align: center;
  padding: 64px 24px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  background: rgba(16,24,40,0.014);
}
.empty svg { width: 46px; height: 46px; color: var(--line-2); margin: 0 auto 16px; }
.empty h3 { font-size: 1.22rem; margin-bottom: 8px; }
.empty p { color: var(--mist); font-size: .94rem; max-width: 42ch; margin: 0 auto 20px; }

/* ---------------------------------------------------------------
   17. Ödeme duvarı (CTA bloğu)
   --------------------------------------------------------------- */
.paywall {
  position: relative;
  border: 1px solid rgba(178,106,0,.32);
  border-radius: var(--r-xl);
  padding: clamp(30px, 5vw, 52px);
  text-align: center;
  background:
    linear-gradient(155deg, rgba(178,106,0,.09), rgba(178,106,0,.02) 45%, transparent),
    var(--ink-800);
  overflow: hidden;
}
.paywall::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(178,106,0,.028) 12px 24px);
  pointer-events: none;
}
.paywall__in { position: relative; z-index: 1; }
.paywall__icon {
  width: 62px; height: 62px;
  border-radius: 20px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(178,106,0,.22), rgba(178,106,0,.06));
  border: 1px solid rgba(178,106,0,.34);
}
.paywall__icon svg { width: 28px; height: 28px; color: var(--gold); }
.paywall h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 12px; }
.paywall p { color: var(--mist); max-width: 52ch; margin: 0 auto 26px; }
.paywall__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------
   18. CTA şeridi
   --------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(36px, 6vw, 66px) clamp(26px, 5vw, 58px);
  background: linear-gradient(140deg, var(--ink-700), var(--ink-850) 60%);
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 320px at 85% 15%, rgba(227,6,19,.14), transparent 68%),
    repeating-linear-gradient(112deg, rgba(16,24,40,0.018) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.cta-band__in { position: relative; z-index: 1; display: flex; align-items: center; gap: 34px; flex-wrap: wrap; justify-content: space-between; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); max-width: 20ch; }
.cta-band p { color: var(--mist); margin-top: 12px; max-width: 46ch; }

/* ---------------------------------------------------------------
   19. Zengin metin (yasal sayfalar / haber gövdesi)
   --------------------------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 {
  font-size: 1.6rem;
  margin: 40px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.24rem; margin: 30px 0 12px; }
.prose p { margin-bottom: 17px; line-height: 1.78; color: var(--paper-2); }
.prose strong { color: var(--turf); }
.prose ul, .prose ol { margin: 0 0 18px 4px; display: flex; flex-direction: column; gap: 9px; }
.prose ul li { padding-left: 20px; position: relative; color: var(--paper-2); }
.prose ul li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--turf); }
.prose ol { counter-reset: n; }
.prose ol li { padding-left: 30px; position: relative; counter-increment: n; }
.prose ol li::before {
  content: counter(n);
  position: absolute; left: 0; top: 1px;
  font-family: var(--f-mono); font-size: .82rem; color: var(--turf);
}
.prose a { color: var(--turf); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  border-left: 2px solid var(--turf);
  padding: 4px 0 4px 20px;
  margin: 22px 0;
  color: var(--mist);
  font-style: italic;
}

/* SSS akordeon */
.faq { border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-800); overflow: hidden; }
.faq + .faq { margin-top: 10px; }
.faq__q {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 17px 20px;
  text-align: left;
  font-family: var(--f-cond);
  font-size: 1.06rem;
  color: var(--paper);
  transition: background .2s;
}
.faq__q:hover { background: rgba(16,24,40,0.03); }
.faq__q svg { width: 18px; height: 18px; color: var(--turf); flex: none; margin-left: auto; transition: transform .3s var(--ease); }
.faq.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
.faq.is-open .faq__a { max-height: 620px; }
.faq__a-in { padding: 0 20px 20px; color: var(--mist); font-size: .95rem; line-height: 1.72; }

/* ---------------------------------------------------------------
   20. Alt bilgi
   --------------------------------------------------------------- */
.foot {
  margin-top: clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-900), var(--ink-950));
  position: relative;
  z-index: 1;
}
.foot__main {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 44px;
  padding: clamp(44px, 6vw, 72px) 0 44px;
}
.foot__about p { font-size: .91rem; color: var(--mist); margin-top: 16px; max-width: 40ch; line-height: 1.7; }
.foot__legal { margin-top: 18px; font-size: .8rem; color: var(--mist-2); line-height: 1.7; }
.foot__legal b { color: var(--mist); font-weight: 600; }

.foot h4 {
  font-family: var(--f-cond);
  font-size: .84rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--turf);
  margin-bottom: 17px;
}
.foot__links { display: flex; flex-direction: column; gap: 11px; }
.foot__links a { font-size: .92rem; color: var(--mist); transition: color .2s, padding-left .2s; }
.foot__links a:hover { color: var(--turf); padding-left: 4px; }

.foot__social { display: flex; gap: 9px; margin-top: 20px; }
.foot__social a {
  width: 38px; height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--ink-800);
  display: grid; place-items: center;
  color: var(--mist);
  transition: all .22s;
}
.foot__social a:hover { border-color: var(--turf); color: var(--turf); transform: translateY(-2px); background: rgba(227,6,19,.07); }
.foot__social svg { width: 17px; height: 17px; }

.foot__warn {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.foot__18 {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--silk-red);
  color: var(--silk-red);
  display: grid; place-items: center;
  font-family: var(--f-cond); font-weight: 700; font-size: .94rem;
  flex: none;
}
.foot__warn p { font-size: .84rem; color: var(--mist-2); line-height: 1.6; flex: 1; min-width: 260px; }

.foot__bar {
  border-top: 1px solid var(--line);
  padding: 20px 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .84rem; color: var(--mist-2);
}
.foot__pay { display: flex; align-items: center; gap: 10px; }
.foot__pay span { font-size: .78rem; }
.foot__pay-badge {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-800);
  font-family: var(--f-cond);
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--paper-2);
}

/* ---------------------------------------------------------------
   21. Kimlik doğrulama sayfaları
   --------------------------------------------------------------- */
.auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}
.auth__side {
  position: relative;
  padding: clamp(40px, 5vw, 68px);
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(155deg, var(--ink-800), var(--ink-950));
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.auth__side::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 20% 20%, rgba(227,6,19,.1), transparent 65%),
    repeating-linear-gradient(112deg, rgba(16,24,40,0.02) 0 2px, transparent 2px 24px);
}
.auth__side-in { position: relative; z-index: 1; max-width: 440px; }
.auth__side h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 16px 0 16px; }
.auth__points { display: flex; flex-direction: column; gap: 15px; margin-top: 30px; }
.auth__point { display: flex; gap: 13px; align-items: flex-start; }
.auth__point-ic {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: rgba(227,6,19,.1);
  border: 1px solid rgba(227,6,19,.24);
  display: grid; place-items: center;
}
.auth__point-ic svg { width: 16px; height: 16px; color: var(--turf); }
.auth__point b { display: block; font-family: var(--f-cond); font-size: 1rem; color: var(--paper); }
.auth__point span { font-size: .86rem; color: var(--mist); }

.auth__form {
  padding: clamp(36px, 5vw, 64px);
  display: flex; align-items: center; justify-content: center;
}
.auth__form-in { width: 100%; max-width: 420px; }
.auth__form h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 8px; }
.auth__form > .auth__form-in > p.sub { color: var(--mist); margin-bottom: 28px; font-size: .95rem; }
.auth__alt { text-align: center; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .93rem; color: var(--mist); }
.auth__alt a { color: var(--turf); font-weight: 600; }

/* ---------------------------------------------------------------
   22. Yardımcı sınıflar / animasyon
   --------------------------------------------------------------- */
/* Açığa çıkma animasyonları YALNIZCA JavaScript etkinken gizlemeyle başlar.
   .js sınıfı <head> içindeki satır içi betikle eklenir; böylece JS devre dışıysa
   veya betik yüklenemezse içerik baştan görünür kalır. */
.js .reveal { opacity: 0; transform: translateY(10px); }
.reveal.is-in { animation: reveal .38s var(--ease-out) forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }

.js .stagger > * { opacity: 0; transform: translateY(20px); }
.stagger.is-in > * { animation: reveal .36s var(--ease-out) forwards; }
.stagger.is-in > *:nth-child(1) { animation-delay: .03s; }
.stagger.is-in > *:nth-child(2) { animation-delay: .09s; }
.stagger.is-in > *:nth-child(3) { animation-delay: .15s; }
.stagger.is-in > *:nth-child(4) { animation-delay: .21s; }
.stagger.is-in > *:nth-child(5) { animation-delay: .27s; }
.stagger.is-in > *:nth-child(6) { animation-delay: .33s; }
.stagger.is-in > *:nth-child(7) { animation-delay: .39s; }
.stagger.is-in > *:nth-child(8) { animation-delay: .45s; }
.stagger.is-in > *:nth-child(n+9) { animation-delay: .5s; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); margin: 34px 0; }

.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}.mt-5{margin-top:48px}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:32px}
.tc{text-align:center}.tr{text-align:right}
.hide{display:none!important}
.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}
.fw{width:100%}
.nowrap{white-space:nowrap}

/* Yukarı çık */
.totop {
  position: fixed; right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--ink-750);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--paper);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all .3s var(--ease);
  z-index: 90;
  box-shadow: var(--shadow-2);
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--turf); color: var(--turf-ink); border-color: var(--turf); }
.totop svg { width: 19px; height: 19px; }

/* ---------------------------------------------------------------
   23. Duyarlılık
   --------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { max-width: 560px; }
  .foot__main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .auth { grid-template-columns: 1fr; }
  .auth__side { display: none; }
}

@media (max-width: 900px) {
  .nav__burger { display: block; }
  .nav__menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--ink-900);
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .38s var(--ease-out);
    z-index: 45;
  }
  .nav__menu.is-open { transform: none; }
  .nav__link { padding: 14px 16px; font-size: 1.12rem; border-radius: var(--r); }
  .nav__link.is-on::after { display: none; }
  .nav__link.is-on { background: rgba(227,6,19,.09); }
  .nav__actions .btn--ghost { display: none; }
  .umenu__name { display: none; }
}

@media (max-width: 640px) {
  :root { --nav-h: 62px; }
  .wrap, .wrap--narrow, .wrap--mid { width: calc(100% - 28px); }
  .section { padding: 46px 0; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .foot__main { grid-template-columns: 1fr; gap: 30px; }
  .card__body, .pred__body, .pkg { padding: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 16px; }
  .hero__trust { gap: 20px; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
  .ticker__label span:not(.dot) { display: none; }
  .flash-zone { right: 14px; left: 14px; max-width: none; }
  .tipster__stats { grid-template-columns: repeat(3, 1fr); }
  .filters { padding: 14px; }
  .filters .field { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
}

@media print {
  .nav, .ticker, .foot, .totop, .flash-zone { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------------------------------------------------------------
   24. Bülten — gün / hipodrom / koşu listesi
   Referans: bitalih, Misli, Nesine. Amaç: koşu listesi ilk ekranda.
   --------------------------------------------------------------- */

/* --- Gün seçici: kompakt şerit --- */
.daybar {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.daybar__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
  padding-right: 10px;
  border-right: 1px solid var(--line);
  margin-right: 4px;
}
.daybar__label svg { width: 15px; height: 15px; color: var(--turf); }

.daybar__days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; }
.dayb {
  flex: none;
  display: grid;
  place-items: center;
  gap: 1px;
  min-width: 62px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  line-height: 1.2;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.dayb b { font-family: var(--f-mono); font-size: .96rem; color: var(--paper); font-weight: 600; }
.dayb span { font-family: var(--f-cond); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mist-2); }
.dayb:hover { border-color: var(--line-2); background: var(--ink-750); }
.dayb.is-on { background: var(--turf); border-color: var(--turf); }
.dayb.is-on b, .dayb.is-on span { color: #fff; }
.dayb.is-today:not(.is-on) { border-color: var(--turf); }

/* --- Hipodrom sekme şeridi --- */
.trackbar {
  display: flex;
  gap: 0;
  background: var(--turf);
  border-radius: var(--r) var(--r) 0 0;
  padding: 8px 8px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.trackbar::-webkit-scrollbar { display: none; }

.trackb {
  flex: none;
  display: grid;
  gap: 1px;
  place-items: center;
  padding: 9px 20px;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  color: rgba(255,255,255,.86);
  line-height: 1.25;
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.trackb b { font-family: var(--f-cond); font-size: 1.02rem; font-weight: 600; }
.trackb span { font-family: var(--f-mono); font-size: .78rem; opacity: .85; }
.trackb:hover { background: rgba(255,255,255,.14); color: #fff; }
.trackb.is-on { background: #fff; color: var(--paper); }
.trackb.is-on b { color: var(--paper); }
.trackb.is-on span { color: var(--turf); opacity: 1; font-weight: 600; }
.trackb__done { font-size: .68rem !important; opacity: .75 !important; }

/* --- Hipodrom başlığı: hava / pist durumu --- */
.trackhead {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 13px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
}
.trackhead h2 {
  font-family: var(--f-display);
  font-size: 1.12rem;
  margin: 0;
  color: var(--paper);
}
.trackhead__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .86rem;
  color: var(--mist);
}
.trackhead__meta i { font-style: normal; color: var(--paper-2); font-weight: 600; }
.trackhead__meta svg { width: 14px; height: 14px; color: var(--mist-2); }
.trackhead__meta > span { display: inline-flex; align-items: center; gap: 5px; }

/* --- Koşu listesi --- */
.racelist {
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--r) var(--r);
  overflow: hidden;
  background: #fff;
}
.racerow {
  display: grid;
  grid-template-columns: 78px 118px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  transition: background .15s var(--ease);
}
.racerow:first-child { border-top: 0; }
.racerow:nth-child(even) { background: var(--ink-750); }
.racerow:hover { background: #FFF5F5; }

.racerow__no {
  display: grid;
  gap: 0;
  line-height: 1.25;
}
.racerow__no b { font-family: var(--f-cond); font-size: .98rem; color: var(--paper); font-weight: 600; }
.racerow__no span { font-family: var(--f-mono); font-size: .84rem; color: var(--mist); }

/* Mesafe + zemin rozeti — çim yeşil, kum amber (bültendeki renk kodu) */
.dist {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 99px;
  font-family: var(--f-mono);
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
}
.dist::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dist--cim  { background: #E7F6EE; color: var(--cim); }
.dist--kum  { background: #FDF3E3; color: var(--kum); }
.dist--sent { background: #EEF2FF; color: var(--violet); }

.racerow__name { min-width: 0; }
.racerow__name a {
  font-family: var(--f-cond);
  font-size: 1.02rem;
  color: var(--paper);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.racerow__name a:hover { color: var(--turf); }
.racerow__cond {
  font-size: .82rem;
  color: var(--mist);
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.racerow__side { display: flex; align-items: center; gap: 10px; }

/* Sonuç özeti: bitmiş koşuda kazanan */
.winner {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .86rem;
  color: var(--paper-2);
  white-space: nowrap;
}
.winner b { font-family: var(--f-cond); font-size: .96rem; color: var(--paper); }
.winner .odds { font-family: var(--f-mono); font-size: .8rem; color: var(--turf); font-weight: 600; }

@media (max-width: 900px) {
  .racerow { grid-template-columns: 66px 1fr; row-gap: 8px; padding: 11px 14px; }
  .racerow > .dist { grid-column: 2; justify-self: start; }
  .racerow__name { grid-column: 2; }
  .racerow__side { grid-column: 1 / -1; justify-content: space-between; }
  .trackb { padding: 8px 14px; }
}

/* --- Günün koşuları: hipodrom kartları (ana sayfa) --- */
.todaybar { padding: 18px 0 6px; }
.todaybar__head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.todaybar__head h2 {
  font-family: var(--f-display); font-size: 1.25rem; margin: 0; color: var(--paper);
}
.todaybar__head .when { font-size: .9rem; color: var(--mist); }

.trackcards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 12px;
}
.trackcard {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  padding: 14px 16px;
  display: grid;
  gap: 10px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.trackcard:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.trackcard__top { display: flex; align-items: center; gap: 10px; }
.trackcard__top b {
  font-family: var(--f-cond); font-size: 1.06rem; color: var(--paper); font-weight: 600;
}
.trackcard__time {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-mono); font-size: .84rem; color: var(--turf); font-weight: 600;
}
.trackcard__time svg { width: 13px; height: 13px; }
.trackcard__meta {
  display: flex; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: var(--mist);
}
.trackcard__meta i { font-style: normal; color: var(--paper-2); font-weight: 600; }
.trackcard__acts { display: flex; gap: 8px; }
.trackcard__acts .btn { flex: 1; justify-content: center; }
