html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background: #f4f7f5;
}

.site-nav {
  background: linear-gradient(90deg, #14532d, #1f7a3a);
}

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  font-weight: 600;
}

.btn-google:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/* Nasıl çalışır */
.guide-num {
  width: 2rem; height: 2rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #1f7a3a; color: #fff; font-weight: 700;
}
.guide-timeline li {
  display: grid; grid-template-columns: 10rem 1fr; gap: .75rem;
  padding: .75rem 0; border-bottom: 1px solid #dfe7e2;
}
.guide-timeline li:last-child { border-bottom: 0; }
.guide-when { font-weight: 700; color: #14532d; }
@media (max-width: 575.98px) {
  .guide-timeline li { grid-template-columns: 1fr; gap: .25rem; }
}

/* SSS */
.faq-item { background: #fff; border-radius: .75rem; margin-bottom: .5rem; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.faq-item summary { cursor: pointer; padding: .9rem 1rem; font-weight: 600; list-style: none; position: relative; padding-right: 2.5rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1rem; top: .75rem; font-size: 1.25rem; color: #1f7a3a; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 1rem 1rem; color: #374151; }

/* Üst menü bağlantıları: dar ekranda (360 px) ikinci satıra iner, taşmaz */
@media (max-width: 575.98px) {
  .site-nav .site-links { order: 3; width: 100%; margin: .5rem 0 0 !important; column-gap: 1rem !important; }
}

/* Halı sahalar */
.venue-card { overflow-wrap: anywhere; }
.venue-card .btn { white-space: normal; }
.venue-cities { columns: 2 140px; column-gap: 1.5rem; }
.venue-cities li { break-inside: avoid; padding: .15rem 0; }
/* Halı sahalar: il / ilçe ızgarası (sade kutular: ad + saha sayısı) */
.venue-grid-title { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748b; margin: 1.75rem 0 .75rem; }
.venue-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: .5rem; }
.venue-tile { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 2.6rem; padding: .5rem .5rem .5rem .8rem;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; color: #1f2937; text-decoration: none; font-size: .92rem; font-weight: 600;
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.venue-tile:hover, .venue-tile:focus-visible { border-color: #22c55e; color: #14532d; box-shadow: 0 4px 12px rgba(20, 83, 45, .08); transform: translateY(-1px); }
.venue-tile-name { min-width: 0; overflow-wrap: anywhere; line-height: 1.25; }
.venue-tile-n { flex: 0 0 auto; min-width: 2rem; padding: .1rem .45rem; border-radius: 999px; background: #f0fdf4; color: #166534; font-size: .78rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.venue-tile.is-empty { color: #9ca3af; font-weight: 500; }
.venue-tile.is-empty .venue-tile-n { background: #f3f4f6; color: #9ca3af; }
@media (max-width: 575.98px) { .venue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.venue-source { margin: 2rem 0 0; font-size: .78rem; color: #94a3b8; }
.venue-source a { color: inherit; }
@media (prefers-reduced-motion: reduce) { .venue-tile { transition: none; } .venue-tile:hover { transform: none; } }

/* Sizden Gelenler: mini saha (partials/mini-pitch.ejs) */
.mini-pitch {
  position: relative;
  display: flex;
  flex-direction: column-reverse; /* rows[0] kaleci altta, hücum üstte */
  justify-content: space-around;
  gap: .4rem;
  padding: .75rem .5rem;
  border-radius: .75rem;
  border: 2px solid rgba(255,255,255,.75);
  outline: 4px solid #2f8f4a;
  background: repeating-linear-gradient(180deg, #36a055 0 12.5%, #2f8f4a 12.5% 25%);
  overflow: hidden;
}
.mini-pitch::before { /* orta çizgi */
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 2px solid rgba(255,255,255,.6);
}
.mini-pitch::after { /* orta yuvarlak */
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 2px solid rgba(255,255,255,.6); border-radius: 50%;
}
.mini-pitch-row {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: space-evenly; gap: .3rem;
}
.mini-chip {
  display: inline-block;
  max-width: 100%;
  padding: .15rem .55rem;
  border-radius: 999px;
  border: 2px solid #fff;
  font-weight: 700;
  font-size: .75rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.mini-pitch-sm { min-height: 13rem; margin: 4px; }
.mini-pitch-lg { min-height: 24rem; padding: 1.25rem .75rem; margin: 4px; }
.mini-pitch-lg .mini-chip { font-size: .95rem; padding: .3rem .8rem; }
@media (max-width: 575.98px) {
  .mini-pitch-lg { min-height: 20rem; }
  .mini-pitch-lg .mini-chip { font-size: .85rem; }
}
.lineup-card { overflow-wrap: anywhere; transition: transform .15s, box-shadow .15s; }
.lineup-card:hover, .lineup-card:focus-within { transform: translateY(-2px); box-shadow: 0 .5rem 1rem rgba(0,0,0,.12) !important; }
.lineup-card .stretched-link:focus-visible { outline: none; }
.lineup-card:focus-within { outline: 3px solid #258cfb; outline-offset: 2px; }
.lineup-detail { max-width: 34rem; }

/* Giriş / kayıt: "ya da" ayracı */
.auth-divider { display: flex; align-items: center; gap: .75rem; color: #6b7280; font-size: .85rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; border-top: 1px solid #e5e7eb; }

/* Logo işareti (üst menü) */
.brand-mark { border-radius: 9px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); flex: 0 0 auto; }

/* Oyuncu kartı (profil ve lobi; lineup.js cardHtml ile aynı yapı) */
.player-card { min-width: 0; }
.player-card-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.player-card-photo {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
}
.player-card-photo.is-empty { background: #1f7a3a; color: #fff; font-weight: 800; font-size: 1.4rem; }
.player-card-title { min-width: 0; }
.player-card-name { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.player-card-tags { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .15rem; }
.player-card-tag { font-size: .7rem; font-weight: 700; border-radius: 999px; padding: .05rem .5rem; }
.player-card-tag.is-owner { background: #fef9c3; color: #854d0e; }
.player-card-tag.is-checked { background: #dbeafe; color: #1e40af; }
.player-card-list { margin: 0; display: grid; gap: .2rem; font-size: .9rem; }
.player-card-list > div { display: flex; justify-content: space-between; gap: 1rem; }
.player-card-list dt { font-weight: 600; color: #6b7280; }
.player-card-list dd { margin: 0; text-align: right; }
.player-card-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.player-card-link { display: inline-flex; align-items: center; min-height: 2rem; padding: .25rem .7rem; border-radius: 999px;
  font-size: .8rem; font-weight: 700; text-decoration: none; }
.player-card-link::after { content: "↗"; margin-left: .3rem; font-weight: 400; }
.player-card-link.is-social { background: #ecfdf3; color: #14532d; }
.player-card-link.is-social:hover { background: #d1fadf; }
.player-card-link.is-youtube { background: #fee2e2; color: #991b1b; }
.player-card-link.is-youtube:hover { background: #fecaca; }

/* Sıralama */
.rank-table { --bs-table-bg: transparent; }
.rank-table td, .rank-table th { vertical-align: middle; padding-top: .6rem; padding-bottom: .6rem; border-color: #eef2ef; }
.rank-table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; font-weight: 600; background: #f8faf9; }
.rank-table tbody tr { transition: background-color .15s; }
.rank-table tbody tr:hover { background: #f8faf9; }
.rank-photo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(0,0,0,.15); }
.rank-photo.is-empty { display: inline-flex; align-items: center; justify-content: center; background: #e5efe8; color: #14532d; font-weight: 700; font-size: .9rem; }
.rank-num { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; height: 2rem; border-radius: 50%; background: #f1f5f2; color: #374151; font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.rank-name { font-weight: 600; color: #1f2937; }
.rank-name-btn { all: unset; cursor: pointer; font: inherit; color: inherit; border-radius: 4px; overflow-wrap: anywhere; }
.rank-name-btn:hover, .rank-name-btn[aria-expanded="true"] { color: #14532d; text-decoration: underline; text-underline-offset: 3px; }
.rank-name-btn:focus-visible { outline: 2px solid #1f7a3a; outline-offset: 2px; }
.rank-table tbody tr:has(.rank-name-btn) { cursor: pointer; }
/* Sıralama oyuncu kartı açılır penceresi (lobidekiyle aynı görünüm; lineup.css bu sayfada yüklü değil) */
#rankCardPop {
  position: absolute; z-index: 1500; width: 15rem; max-width: calc(100vw - 16px);
  background: #fff; border-radius: 12px; padding: .75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.rank-pts { display: inline-block; min-width: 3.2rem; padding: .2rem .6rem; border-radius: 999px; background: #ecfdf3; color: #14532d; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.rank-you { display: inline-block; margin-left: .35rem; padding: .05rem .45rem; border-radius: 999px; background: #16a34a; color: #fff; font-size: .7rem; font-weight: 700; vertical-align: .1em; }
.rank-table tr.is-mine { background: #f0fdf4; }
.rank-table tr.is-mine td:first-child { box-shadow: inset 4px 0 0 #16a34a; }
/* İlk 3: altın / gümüş / bronz */
.rank-trophy { display: inline-block; vertical-align: middle; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.25)); }
.rank-trophy .t-shine { fill: rgba(255,255,255,.55); }
.rank-trophy.is-gold { color: #eab308; }
.rank-trophy.is-silver { color: #9ca3af; }
.rank-trophy.is-bronze { color: #c2763a; }
.rank-table tr.is-top .rank-name { font-size: 1.02rem; }
.rank-table tr.is-top .rank-photo { width: 42px; height: 42px; }
.rank-table tr.is-gold { background: linear-gradient(90deg, #fef9c3 0%, #fffdf0 60%, transparent 100%); }
.rank-table tr.is-silver { background: linear-gradient(90deg, #f1f5f9 0%, #f8fafc 60%, transparent 100%); }
.rank-table tr.is-bronze { background: linear-gradient(90deg, #fdeee2 0%, #fff8f2 60%, transparent 100%); }
.rank-table tr.is-gold .rank-photo { box-shadow: 0 0 0 2px #eab308; }
.rank-table tr.is-silver .rank-photo { box-shadow: 0 0 0 2px #9ca3af; }
.rank-table tr.is-bronze .rank-photo { box-shadow: 0 0 0 2px #c2763a; }
.rank-table tr.is-gold .rank-pts { background: #fde68a; color: #713f12; }
.rank-table tr.is-silver .rank-pts { background: #e5e7eb; color: #1f2937; }
.rank-table tr.is-bronze .rank-pts { background: #fcd9bd; color: #7c2d12; }
.rank-me { background: #f0fdf4; border-radius: 12px; padding: .6rem 1rem; }
/* Sıralama açıklaması: sahadaki rozetlerle aynı simgeler (kesin = yeşil tik, Geldim = mavi tik, organizatör = altın yıldız). */
.rank-ico { display: inline-flex; align-items: center; justify-content: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; color: #fff; font-size: .7rem; font-weight: 800; vertical-align: -.15em; }
.rank-ico.is-confirm { background: #16a34a; }
.rank-ico.is-checkin { background: #2563eb; }
.rank-ico.is-owner { background: #14532d; color: #fde047; }
.profile-card { max-width: 22rem; background: #f8faf9; border-radius: 12px; padding: .75rem 1rem; }

/* Maç skoru şeridi (partials/match-score.ejs): Sizden Gelenler, maç detayı, ana sayfa "Son oynanan maç", lobi */
.match-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem .75rem; background: #0f3d22; color: #fff; border-radius: 14px; padding: .75rem 1rem; }
.match-score .ms-team { display: flex; align-items: center; gap: .35rem; min-width: 0; font-weight: 600; opacity: .8; }
.match-score .ms-team1 { justify-content: flex-end; text-align: right; }
.match-score .ms-team.is-winner { opacity: 1; font-weight: 800; color: #fde047; }
.match-score .ms-name { overflow-wrap: anywhere; }
.match-score .ms-board { display: flex; align-items: center; gap: .35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.match-score .ms-goal { background: #fff; color: #0f3d22; border-radius: 8px; min-width: 2.2em; text-align: center; padding: .1em .35em; }
.match-score .ms-sep { opacity: .7; }
.match-score .ms-note { grid-column: 1 / -1; text-align: center; font-size: .8rem; opacity: .85; }
.match-score-lg { font-size: 1.15rem; }
.match-score-lg .ms-board { font-size: 1.8rem; }
.match-score-sm { font-size: .85rem; padding: .5rem .6rem; border-radius: 10px; }
.match-score-sm .ms-board { font-size: 1.1rem; }
.last-match-score { margin: .8rem 0 1rem; }
.last-match-score .match-score { background: rgba(0, 0, 0, .28); }

/* Takım arkadaşı puanlaması (lobi) ve Sizden Gelenler oyuncu puanları */
.rate-list .rate-row, .rating-list li { display: flex; align-items: center; gap: .5rem; padding: .4rem 0; border-bottom: 1px solid #eef2ef; }
.rate-list .rate-row:last-child, .rating-list li:last-child { border-bottom: 0; }
.rate-name, .rl-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.rate-stars { display: inline-flex; gap: 2px; flex: 0 0 auto; }
.rate-star { border: 0; background: none; padding: 0 2px; font-size: 1.45rem; line-height: 1; color: #cbd5e1; cursor: pointer; }
.rate-star.is-on { color: #f59e0b; }
.rate-star:focus-visible { outline: 2px solid #15803d; border-radius: 4px; }
.rate-avg, .rl-avg { font-weight: 800; font-variant-numeric: tabular-nums; background: #fef3c7; color: #92400e; border-radius: 8px; padding: .05rem .5rem; }
.rate-row.is-top .rate-name, .rating-list li.is-top .rl-name { color: #a16207; }
.rl-rank { width: 1.8rem; text-align: center; font-weight: 700; color: #64748b; }

/* Nasıl çalışır? */
.hiw { --hiw-green: #15803d; --hiw-dark: #0f3d22; }
.hiw-hero, .hiw-final { position: relative; overflow: hidden; color: #fff; border-radius: 24px; padding: clamp(1.75rem, 4vw, 3rem); margin: 1rem 0 2.5rem;
  background: radial-gradient(circle at 90% 10%, rgba(250, 204, 21, .28), transparent 38%), linear-gradient(125deg, #0f3d22 0%, #166534 55%, #16a34a 100%); box-shadow: 0 14px 40px rgba(20, 83, 45, .25); }
.hiw-hero::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border: 3px solid rgba(255, 255, 255, .12); border-radius: 50%; }
.hiw-kicker { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 700; color: #fde047; margin-bottom: .5rem; }
.hiw-title { font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.15; max-width: 44rem; margin-bottom: .75rem; }
.hiw-lead { font-size: 1.1rem; opacity: .9; max-width: 40rem; margin-bottom: 1.25rem; }
.hiw-cta { display: flex; flex-wrap: wrap; gap: .6rem; position: relative; z-index: 1; }
.hiw-section { margin-bottom: 3rem; }
.hiw-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .25rem; }
.hiw-h2 { font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--hiw-dark); margin: 0 0 .25rem; }
.hiw-sub { color: #64748b; margin-bottom: 1.25rem; max-width: 46rem; }
.hiw-steps { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 576px) { .hiw-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .hiw-steps { grid-template-columns: repeat(3, 1fr); } }
.hiw-step { position: relative; background: #fff; border-radius: 18px; padding: 1.25rem 1.2rem 1.1rem; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); border-top: 4px solid var(--hiw-green); transition: transform .15s, box-shadow .15s; }
.hiw-step:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(21, 128, 61, .14); }
.hiw-step-num { position: absolute; top: .9rem; right: 1rem; font-weight: 800; font-size: 2rem; line-height: 1; color: #dcfce7; }
.hiw-step-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: var(--hiw-green); margin-bottom: .75rem; }
.hiw-step:nth-child(5) { border-top-color: #f59e0b; } .hiw-step:nth-child(5) .hiw-step-icon { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #b45309; }
.hiw-step:nth-child(6) { border-top-color: #eab308; } .hiw-step:nth-child(6) .hiw-step-icon { background: linear-gradient(135deg, #fef9c3, #fde047); color: #a16207; }
.hiw-step-title { font-size: 1.1rem; font-weight: 800; margin-bottom: .35rem; }
.hiw-step-text { color: #475569; font-size: .92rem; margin: 0; }
.hiw-timeline { position: relative; background: #fff; border-radius: 18px; padding: 1.25rem 1.5rem; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.hiw-timeline li { position: relative; display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .85rem 0 .85rem 1.6rem; border-left: 3px solid #bbf7d0; }
.hiw-timeline li::before { content: ""; position: absolute; left: -9px; top: 1.05rem; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--hiw-green); }
.hiw-timeline li:last-child::before { background: var(--hiw-green); }
.hiw-when { font-weight: 800; color: var(--hiw-dark); }
@media (max-width: 575.98px) { .hiw-timeline li { grid-template-columns: 1fr; gap: .2rem; } }
.hiw-role { height: 100%; background: #fff; border-radius: 18px; padding: 1.25rem 1.4rem; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.hiw-role.is-owner { border-left: 5px solid #eab308; } .hiw-role.is-player { border-left: 5px solid var(--hiw-green); }
.hiw-role-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.hiw-role-head h3 { font-size: 1.2rem; font-weight: 800; margin: 0; }
.hiw-role-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #f0fdf4; color: var(--hiw-green); }
.hiw-role.is-owner .hiw-role-icon { background: #fef9c3; color: #a16207; }
.hiw-role-mark { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #14532d; color: #fde047; font-weight: 700; }
.hiw-role-mark.is-tick { background: #16a34a; color: #fff; }
.hiw-role ul { margin: 0; padding-left: 1.1rem; color: #475569; } .hiw-role li { margin-bottom: .35rem; }
.hiw-card { display: block; height: 100%; background: #fff; border-radius: 18px; padding: 1.2rem; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.hiw-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(21, 128, 61, .14); color: inherit; }
.hiw-card h3, .hiw-soon h3 { font-size: 1.05rem; font-weight: 800; margin: .6rem 0 .3rem; }
.hiw-card p, .hiw-soon p { color: #475569; font-size: .92rem; margin: 0; }
.hiw-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #f0fdf4; color: var(--hiw-green); flex: 0 0 auto; }
.hiw-soon { display: flex; gap: 1rem; height: 100%; padding: 1.2rem; border-radius: 18px; border: 2px dashed #cbd5e1; background: #f8fafc; }
.hiw-soon .hiw-card-icon { background: #e2e8f0; color: #475569; } .hiw-soon h3 { margin-top: 0; }
.hiw-final { text-align: center; margin-bottom: 1.5rem; }
.hiw-final h2 { font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); }
.hiw-final p { opacity: .9; } .hiw-final a:not(.btn) { color: #fde047; }
.hiw-final .hiw-cta { justify-content: center; }

/* ===== Üst bant (header) ===== */
.hse-header { position: sticky; top: 0; z-index: 1030; margin-bottom: 1rem; }
.hse-ticker { background: #0b2e19; color: #d1fae5; font-size: .8rem; overflow: hidden; }
.hse-ticker-row { display: flex; align-items: center; gap: 1.1rem; padding: .35rem .75rem; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.hse-ticker-row::-webkit-scrollbar { display: none; }
.hse-ticker-item strong { color: #fde047; font-variant-numeric: tabular-nums; margin-right: .2rem; }
.hse-live { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; color: #86efac; }
.hse-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: hsePulse 1.8s infinite; }
.hse-ticker-cta { margin-left: auto; color: #fde047; text-decoration: none; font-weight: 600; }
.hse-ticker-cta:hover { color: #fff; }
@keyframes hsePulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); } 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

.hse-nav { position: relative; padding: .6rem 0; transition: box-shadow .25s ease;
  background: linear-gradient(100deg, #0f3d22 0%, #166534 45%, #15803d 75%, #16a34a 100%); background-size: 200% 100%; animation: hseFlow 14s ease-in-out infinite alternate; }
.hse-nav::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background: repeating-linear-gradient(90deg, transparent 0 60px, rgba(255, 255, 255, .25) 60px 61px); }
.hse-nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #facc15, #4ade80, #facc15); background-size: 200% 100%; animation: hseFlow 6s linear infinite; }
@keyframes hseFlow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.hse-header.is-scrolled .hse-nav { box-shadow: 0 8px 24px rgba(15, 61, 34, .35); }

.hse-brand { display: flex; align-items: center; gap: .6rem; color: #fff; }
.hse-brand-mark { display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .14); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.hse-brand:hover .hse-brand-mark { transform: rotate(-12deg) scale(1.08); }
.hse-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.hse-brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.hse-brand-tag { font-size: .7rem; color: #bbf7d0; letter-spacing: .04em; }

.hse-links { gap: .25rem; }
.hse-link { display: inline-flex !important; align-items: center; gap: .4rem; position: relative; border-radius: 999px; padding: .45rem .9rem !important;
  color: rgba(255, 255, 255, .82) !important; font-weight: 600; font-size: .92rem; transition: background .2s, color .2s; }
.hse-link svg { opacity: .8; }
.hse-link:hover { background: rgba(255, 255, 255, .12); color: #fff !important; }
.hse-link::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 2px; height: 3px; border-radius: 3px; background: #facc15; opacity: 0; transform: scaleX(0); transform-origin: center; transition: transform .25s ease, opacity .2s ease; }
.hse-link:hover::after, .hse-link.is-active::after { opacity: 1; transform: scaleX(1); }
.hse-link.is-active { color: #fff !important; background: rgba(255, 255, 255, .16); }
.hse-link.is-active svg { color: #fde047; opacity: 1; }

.hse-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.hse-cta { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: #14532d; border: 0; border-radius: 999px; padding: .45rem 1rem;
  background: linear-gradient(135deg, #fde047, #facc15 55%, #f59e0b); box-shadow: 0 4px 14px rgba(250, 204, 21, .35); transition: transform .15s, box-shadow .15s; }
.hse-cta:hover { color: #14532d; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(250, 204, 21, .5); }
.hse-cta-ball { display: inline-block; transition: transform .6s ease; }
.hse-cta:hover .hse-cta-ball { transform: rotate(360deg); }
.hse-login { border-radius: 999px; font-weight: 700; background: #fff; color: #14532d; padding: .45rem 1rem; border: 0; }
.hse-login:hover { background: #f0fdf4; color: #14532d; }
.hse-user { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; padding: .25rem .8rem .25rem .3rem; color: #fff; font-weight: 600;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); }
.hse-user:hover, .hse-user.show { background: rgba(255, 255, 255, .24); color: #fff; }
.hse-user-ini { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #facc15; color: #14532d; font-weight: 800; }

.hse-toggler { border: 0; padding: .5rem; display: flex; flex-direction: column; gap: 5px; box-shadow: none !important; }
.hse-toggler span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.hse-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hse-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hse-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 991.98px) {
  .hse-nav .navbar-collapse { margin-top: .6rem; padding: .75rem; border-radius: 16px; background: rgba(11, 46, 25, .55); backdrop-filter: blur(6px); }
  .hse-link { width: 100%; }
  .hse-link::after { display: none; }
  .hse-actions { margin-top: .6rem; }
}
@media (max-width: 400px) { .hse-brand-name { font-size: 1.05rem; } }
/* Masaüstü menü tek satır (6 öğe, 2026-11-19): yazılar kırılmaz; dar masaüstünde ikonlar gizlenir, boşluklar daralır. */
@media (min-width: 992px) {
  .hse-nav .navbar-collapse { flex-wrap: nowrap; }
  .hse-links { flex-wrap: nowrap; }
  .hse-link, .hse-actions .btn { white-space: nowrap; }
  .hse-actions { flex-wrap: nowrap; }
}
@media (min-width: 992px) and (max-width: 1399.98px) {
  .hse-links { gap: 0; }
  .hse-link { padding: .4rem .55rem !important; font-size: .9rem; }
  .hse-link svg { display: none; }
  .hse-link::after { left: .55rem; right: .55rem; }
  .hse-actions { gap: .35rem; }
  .hse-actions .btn { padding: .4rem .75rem; font-size: .9rem; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hse-brand-tag { display: none; }
  .hse-brand-name { font-size: 1rem; }
  .hse-link { padding: .4rem .4rem !important; font-size: .85rem; }
  .hse-actions .btn { padding: .35rem .6rem; font-size: .85rem; }
  .hse-user .text-truncate { max-width: 90px !important; }
  /* İç sayfalarda "Özel Maç Kur" düğmesi menüyü sağ butonlara dayıyordu: bu aralıkta gizlenir. */
  .hse-cta { display: none !important; }
  .hse-links { margin-right: .5rem; }
}

/* ===== Alt bant (footer) ===== */
body { margin-bottom: 0; }
.hse-footer { position: relative; overflow: hidden; margin-top: 3rem; color: #d1fae5;
  background: radial-gradient(circle at 15% 0%, rgba(250, 204, 21, .14), transparent 35%), linear-gradient(160deg, #0b2e19 0%, #0f3d22 50%, #14532d 100%); }
.hse-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #facc15, #4ade80, #facc15); background-size: 200% 100%; animation: hseFlow 6s linear infinite; }
.hse-footer-pitch { position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background:
    radial-gradient(circle at 50% 100%, transparent 0 90px, #fff 90px 92px, transparent 92px),
    linear-gradient(90deg, transparent calc(50% - 1px), #fff calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.hse-counters { display: grid; grid-template-columns: 1fr; gap: .75rem; padding: 2rem 0 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 576px) { .hse-counters { grid-template-columns: repeat(3, 1fr); } }
.hse-counter { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .9rem; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); transition: transform .2s, background .2s; }
.hse-counter:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .1); }
.hse-counter-emoji { font-size: 1.4rem; }
.hse-counter strong { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: #fde047; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hse-counter span:last-child { font-size: .85rem; color: #a7f3d0; }
.hse-footer-main { padding: 2rem 0 1.5rem; }
.hse-footer-brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.3rem; margin-bottom: .6rem; }
.hse-footer-brand:hover { color: #fff; }
.hse-footer-text { color: #a7f3d0; font-size: .92rem; max-width: 22rem; }
/* Footer: Google Play düğmesi (H15.6). Uygulamanın içinde (TWA, standalone) gösterilmez. */
.hse-play { display: flex; align-items: center; gap: .6rem; width: max-content; max-width: 100%; margin-top: .9rem; padding: .45rem 1rem .45rem .75rem; border-radius: .7rem; background: #0b2e1a; border: 1px solid rgba(167, 243, 208, .35); color: #fff; text-decoration: none; transition: border-color .2s, transform .2s; }
.hse-play:hover { color: #fff; border-color: #fde047; transform: translateY(-1px); }
.hse-play span { display: flex; flex-direction: column; line-height: 1.15; }
.hse-play small { font-size: .7rem; color: #a7f3d0; }
.hse-play strong { font-size: .95rem; }
@media (display-mode: standalone) { .hse-play { display: none; } }
.is-ios .hse-play { display: none; } /* iPhone/iPad'de Google Play düğmesi anlamsız (M16) */
.hse-ios-share { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.15em; color: #0a84ff; }
/* Mobil bildirim izni kartı (H15.7, push.js). */
.hse-push-card { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin: 0 0 1rem; padding: .75rem 1rem; border-radius: .9rem; background: #ecfdf5; border: 1px solid #a7f3d0; }
.hse-push-icon { font-size: 1.5rem; line-height: 1; }
.hse-push-text { display: flex; flex-direction: column; flex: 1 1 12rem; min-width: 0; }
.hse-push-text strong { color: #14532d; }
.hse-push-text span { font-size: .88rem; color: #3f6b52; }
.hse-push-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
@media (max-width: 575.98px) { .hse-push-actions { flex-basis: 100%; justify-content: flex-end; } }
.hse-footer-h { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #fde047; margin-bottom: .8rem; }
.hse-footer-links { list-style: none; padding: 0; margin: 0; }
.hse-footer-links li { margin-bottom: .45rem; }
.hse-footer-links a { color: #d1fae5; text-decoration: none; position: relative; transition: color .2s, padding .2s; overflow-wrap: anywhere; }
.hse-footer-links a:hover { color: #fff; padding-left: .35rem; }
.hse-footer-links a::before { content: "\203A"; position: absolute; left: -.6rem; opacity: 0; color: #facc15; transition: opacity .2s, left .2s; }
.hse-footer-links a:hover::before { opacity: 1; left: -.4rem; }
.hse-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; padding: 1rem 0 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #86efac; }
.hse-footer-bottom a { color: #86efac; }
.hse-footer-bottom a:hover { color: #fff; }
.hse-top { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 0; color: #14532d; background: #facc15; transition: transform .2s; }
.hse-top:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .hse-nav, .hse-nav::after, .hse-footer::before, .hse-live-dot { animation: none; }
}

.hse-contact a { display: inline-flex; align-items: center; gap: .45rem; }
.hse-contact svg { flex: 0 0 auto; color: #fde047; }
.hse-contact a[href*="instagram"]:hover svg { color: #f472b6; }

/* Profil: sıralamada görünüm (ad + fotoğraf ya da takma ad + avatar) */
.identity-choice { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.identity-opt { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .9rem; border: 2px solid #d1d5db; border-radius: 12px; cursor: pointer; background: #fff; }
.btn-check:checked + .identity-opt { border-color: #16a34a; background: #f0fdf4; }
.btn-check:focus-visible + .identity-opt, .btn-check:focus-visible + .avatar-opt { outline: 3px solid #86efac; outline-offset: 2px; }
.identity-nick { transition: opacity .15s; }
.identity-nick.is-off { opacity: .5; }
.avatar-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.avatar-opt { display: inline-flex; padding: 3px; border: 3px solid transparent; border-radius: 50%; cursor: pointer; }
.avatar-opt img { display: block; width: 56px; height: 56px; border-radius: 50%; }
.btn-check:checked + .avatar-opt { border-color: #16a34a; box-shadow: 0 0 0 3px #bbf7d0; }
@media (max-width: 400px) { .identity-choice { grid-template-columns: 1fr; } }

/* Takım arkadaşı puanı: Davranış + Yetenek (iki yıldız satırı) */
.rate-list .rate-row-2 { flex-wrap: wrap; row-gap: .25rem; }
.rate-row-2 .rate-name { flex: 1 1 100%; }
.rate-kinds { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.rate-kind { display: inline-flex; align-items: center; gap: .4rem; }
.rate-kind-label { font-size: .8rem; color: #475569; min-width: 4.2rem; }
.rate-parts, .rl-parts { flex: 0 0 auto; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* İletişim (/iletisim) */
.contact-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-info dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; font-weight: 600; }
.contact-info dd { margin: .1rem 0 .9rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-info dd a { color: #14532d; text-decoration: none; }
.contact-info dd a:hover { text-decoration: underline; }
.contact-social { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px;
  background: #ecfdf3; color: #14532d; font-weight: 700; text-decoration: none; }
.contact-social:hover { background: #d1fadf; color: #14532d; }
