/* LeagueGuess — "LeagueGuess v2" tasarımının uygulaması */

:root {
  --ink: #20242b;
  --cream: #fdf6ea;
  --cream-2: #fdfaf3;
  --card: #fff;
  --line: #ecdfc9;
  --line-2: #f2e7d5;
  --line-3: #f6eddd;
  --sand: #f4e9d6;
  --sand-2: #f1e5d1;
  --edge: #e3d6bf;
  --blue: oklch(.62 .19 258);
  --blue-tint: oklch(.95 .03 258);
  --orange: oklch(.68 .17 52);
  --orange-tint: oklch(.96 .04 62);
  --green: oklch(.58 .14 155);
  --green-tint: oklch(.95 .04 155);
  --yellow: oklch(.88 .16 95);
  --pos: oklch(.56 .15 150);
  --pos-soft: oklch(.93 .07 150);
  --neg: oklch(.58 .19 25);
  --neg-soft: oklch(.95 .04 25);
  --muted: rgba(32, 36, 43, .6);
  --faint: rgba(32, 36, 43, .45);
  --sans: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }

html, body {
  margin: 0; padding: 0;
  background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.5;
  -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.02em; font-weight: 800; }
button { font-family: inherit; cursor: pointer; touch-action: manipulation; }
input { font-family: var(--mono); }
ol, ul { list-style: none; margin: 0; padding: 0; }

@keyframes lgblink { 0%, 100% { opacity: 1 } 50% { opacity: .3 } }
@keyframes lgpop { from { transform: translateY(6px); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes spin { to { transform: rotate(360deg) } }

.boot { min-height: 100dvh; display: grid; place-items: center; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--sand-2); border-top-color: var(--ink); animation: spin .8s linear infinite; }

/* ------------------------------------------------------------------- giriş */

.login { min-height: 100dvh; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.login__pitch {
  padding: 48px 40px; display: flex; flex-direction: column; gap: 26px; justify-content: center;
  background: var(--blue); color: #fff;
}
.login__brand { display: flex; align-items: center; gap: 12px; }
.login__brand .mark { width: 40px; height: 40px; border-radius: 13px; font-size: 16px; }
.login__brand b { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.login__pitch h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: .98; letter-spacing: -.03em; text-wrap: balance; }
.login__pitch p { margin: 0; max-width: 30ch; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .86); }
.facts { display: flex; gap: 10px; flex-wrap: wrap; }
.fact {
  display: inline-flex; align-items: baseline; gap: 7px; padding: 9px 14px;
  background: rgba(255, 255, 255, .16); border-radius: 999px; font-size: 14px; font-weight: 600;
}
.fact b { font-family: var(--mono); font-size: 15px; font-weight: 700; }

.login__form { padding: 48px 32px; display: grid; place-items: center; }
.login__form form { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 18px; }
.login__form h2 { font-size: 30px; margin-bottom: 6px; }
.login__lead { margin: 0; font-size: 15px; color: var(--muted); }
.login__lead b { color: var(--ink); font-weight: 700; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 13px; font-weight: 600; color: rgba(32, 36, 43, .66); }
.field__hint { font-size: 12px; line-height: 1.4; color: rgba(32, 36, 43, .5); }
.field__hint code { font-family: var(--mono); font-size: 11.5px; background: var(--sand); padding: 1px 4px; border-radius: 4px; }
.field input {
  height: 52px; padding: 0 16px; background: #fff; border: 2px solid #eadfca; border-radius: 14px;
  font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--ink); outline: none;
}
.field input:focus { border-color: var(--blue); }
.form-error {
  margin: 0; padding: 11px 14px; background: var(--neg-soft); border: 1px solid oklch(.8 .12 25);
  border-radius: 12px; font-size: 14px; font-weight: 500; color: oklch(.5 .18 25);
}
.btn-hero {
  height: 54px; background: var(--ink); border: none; border-radius: 14px; color: #fff;
  font-size: 16px; font-weight: 700; box-shadow: 0 6px 0 var(--blue);
}
.btn-hero:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--blue); }
.btn-hero:disabled { opacity: .6; }
.login__foot { margin: 0; font-size: 13px; color: rgba(32, 36, 43, .5); }
.login__foot b { font-family: var(--mono); font-weight: 600; color: var(--ink); }

/* ------------------------------------------------------------------ kabuk */

.mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px;
  background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 800;
}
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(253, 246, 234, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.topbar__inner {
  max-width: 1220px; margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.tabs { display: flex; gap: 6px; padding: 4px; background: var(--sand); border-radius: 999px; }
.tab {
  padding: 10px 18px; min-height: 40px; border: none; border-radius: 999px;
  font-size: 15px; font-weight: 700; background: transparent; color: var(--muted);
}
.tab.is-on { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(32, 36, 43, .1); }
.spacer { flex: 1; }
.lock-chip {
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--yellow); color: var(--ink); border: 1px solid var(--ink);
}
.lock-chip.is-closed { background: var(--sand); border-color: var(--edge); }
.who-chip {
  display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600;
}
.who-chip .av { width: 26px; height: 26px; background: var(--blue); color: #fff; }
.av { display: grid; place-items: center; border-radius: 999px; font-weight: 700; font-size: 12px; }
.btn-quiet {
  padding: 8px 12px; min-height: 36px; background: none; border: 1px solid var(--edge);
  border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 600;
}
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }

.wrap { max-width: 1220px; margin: 0 auto; padding: 26px 22px 90px; }
.page-head { display: flex; gap: 22px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 22px; }
.page-head > div:first-child { flex: 1; min-width: 260px; }
.page-head h1 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 6px; letter-spacing: -.025em; }
.page-head p { margin: 0; font-size: 16px; color: var(--muted); }

/* -------------------------------------------------------------- tahmin fişi */

.lock-card {
  display: flex; flex-direction: column; gap: 5px; padding: 14px 18px; border-radius: 18px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); min-width: 210px;
}
.lock-card.is-closed { background: #fff; color: var(--ink); border-color: var(--line); }
.lock-card__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.lock-card__time { font-family: var(--mono); font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.lock-card__note { font-size: 13px; line-height: 1.3; opacity: .75; }

.progress {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 18px;
}
.progress__label { font-size: 15px; font-weight: 700; }
.progress__track { flex: 1; height: 10px; background: var(--sand-2); border-radius: 999px; overflow: hidden; }
.progress__fill { display: block; height: 100%; border-radius: 999px; background: var(--blue); transition: width .3s ease; }
.progress__fill.is-full { background: var(--pos); }
.progress__pct { font-family: var(--mono); font-size: 15px; font-weight: 700; }
.progress__saved { font-size: 13px; font-weight: 600; color: var(--pos); min-width: 74px; text-align: right; }

.teamtabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-bottom: 22px; }
.teamtab {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left;
  background: #fffdf8; border: 2px solid var(--line); border-radius: 18px;
  min-width: 0; /* ızgara öğesi: içerik sütunu taşırmasın */
}
.teamtab.is-on { background: #fff; border-color: var(--ink); }
.teamtab.is-on[data-comp="ucl"] { box-shadow: 0 4px 0 var(--blue); }
.teamtab.is-on[data-comp="uel"] { box-shadow: 0 4px 0 var(--orange); }
.teamtab.is-on[data-comp="uecl"] { box-shadow: 0 4px 0 var(--green); }
.teamtab__ring { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; flex: 0 0 42px; }
.teamtab__ring i {
  width: 32px; height: 32px; background: #fff; border-radius: 999px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 700; font-style: normal;
}
/* align-items:flex-start çocukları içeriğe göre boyutlandırıp kabı taşırıyordu;
   stretch ile genişlik kaba bağlanır ve ellipsis devreye girer. */
.teamtab__body { display: flex; flex-direction: column; gap: 3px; align-items: stretch; min-width: 0; }
.teamtab__name {
  font-size: 17px; font-weight: 700; letter-spacing: -.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.teamtab__comp { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); min-width: 0; }
.teamtab__comp > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Kart daraldığında lig adı kısaltmaya düşer — viewport'a değil, kartın kendi
   genişliğine bakar, böylece her ekran boyutunda doğru davranır. */
.teamtab { container-type: inline-size; }
.teamtab__compshort { display: none; }
@container (max-width: 215px) {
  .teamtab__compfull { display: none; }
  .teamtab__compshort { display: inline; }
  /* En uzun ad (Trabzonspor) bu genişlikte 17px'te kırpılıyordu. */
  .teamtab__name { font-size: 15.5px; }
}
@container (max-width: 165px) {
  .teamtab { gap: 8px; padding: 11px 12px; }
  .teamtab__name { font-size: 14px; }
}

.pill {
  display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.pill--sm { padding: 4px 8px; font-size: 10px; }
.pill[data-comp="ucl"] { background: var(--blue-tint); color: var(--blue); }
.pill[data-comp="uel"] { background: var(--orange-tint); color: var(--orange); }
.pill[data-comp="uecl"] { background: var(--green-tint); color: var(--green); }

.slip { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; animation: lgpop .22s ease; }
.slip__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.slip__mono { width: 46px; height: 46px; display: grid; place-items: center; background: var(--sand); border-radius: 15px; font-size: 15px; font-weight: 800; }
.slip__head h2 { font-size: 24px; }
.slip__head p { margin: 4px 0 0; font-size: 13px; font-weight: 500; color: rgba(32, 36, 43, .55); }

/* Sütun genişlikleri sabit: MD etiketi, EV/DEP rozeti ve takım adı her satırda
   aynı x konumunda başlar — rozet metni kısalıp uzasa bile hiza bozulmaz. */
.row {
  display: grid; align-items: center; gap: 14px;
  grid-template-columns: 96px 52px minmax(0, 1fr) auto auto;
  grid-template-areas: "md venue match score others";
  padding: 13px 20px; border-bottom: 1px solid var(--line-3); background: oklch(.99 .012 95);
}
.row.is-filled { background: #fff; }
.row__md { grid-area: md; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--faint); }
.venue {
  grid-area: venue; width: 52px; text-align: center;
  padding: 4px 0; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  background: var(--sand); border: 1px solid transparent; color: var(--muted);
}
.venue.is-away { background: transparent; border-color: var(--edge); }
.row__match { grid-area: match; display: flex; align-items: center; gap: 11px; min-width: 0; }
.row__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.row__opp { font-size: 18px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__note { font-size: 12px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .score-in { grid-area: score; }
/* "1 tahmin" ile "12 tahmin" farklı genişlikte olunca skor sütunu kayıyordu:
   rakamlar sabit genişlikte ve düğmeye alt sınır verildi. */
.row__others { grid-area: others; min-width: 112px; font-variant-numeric: tabular-nums; }

/* Takım logoları */
.tlogo { width: 22px; height: 22px; flex: 0 0 22px; object-fit: contain; }
.tlogo--lg { width: 30px; height: 30px; flex-basis: 30px; }

/* Kupa rozeti (yazı yerine logo) */
.cbadge { display: inline-grid; place-items: center; flex: 0 0 auto; }
.cbadge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cbadge--md { width: 26px; height: 26px; }
.cbadge--sm { width: 20px; height: 20px; }

/* Üzerine gelince adını gösteren ipucu */
.tip { position: relative; }
.tip::after {
  content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + 7px); transform: translateX(-50%);
  padding: 5px 9px; background: var(--ink); color: #fff; border-radius: 8px;
  font-family: var(--sans); font-size: 12px; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 50;
}
.tip:hover::after, .tip:focus-visible::after { opacity: 1; }

.score-in { display: flex; align-items: center; gap: 8px; }
.score-in input {
  width: 48px; height: 48px; text-align: center; background: var(--cream);
  border: 2px solid #eadfca; border-radius: 14px;
  font-size: 19px; font-weight: 700; color: var(--ink); outline: none;
}
.score-in input:focus { border-color: var(--blue); }
.score-in input::placeholder { color: rgba(32, 36, 43, .28); }
.score-in__sep { font-family: var(--mono); font-size: 15px; font-weight: 600; color: rgba(32, 36, 43, .35); }
.out-badge {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px;
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  background: var(--sand); color: rgba(32, 36, 43, .35);
}
.out-badge.is-set { background: var(--yellow); color: var(--ink); }

/* Lig puanı rozeti (galibiyet 3 / beraberlik 1 / mağlubiyet 0).
   Tahmin isabeti rozetinden (.pts) ayrışsın diye dolgulu değil, çerçeveli. */
.lgpts {
  min-width: 36px; height: 34px; display: inline-grid; grid-auto-flow: column; align-items: baseline;
  justify-content: center; align-content: center; border-radius: 9px;
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  border: 1.5px solid var(--line); background: #fff; color: var(--muted);
}
.lgpts i { font-style: normal; font-size: 9px; opacity: .55; margin-left: 1px; }
/* Zemin HER ZAMAN beyaz; renk yalnızca çerçeve ve yazıda. Böylece dolgulu
   tahmin-isabeti rozetiyle (.pts) karışmıyor — biri kare-çerçeveli, diğeri dolgulu pill. */
.lgpts.is-win { border-color: var(--pos); color: var(--pos); }
.lgpts.is-draw { border-color: var(--edge); color: rgba(32, 36, 43, .6); }
.lgpts.is-loss { border-color: var(--neg); color: var(--neg); }
.lgpts.is-empty { border-style: dashed; color: rgba(32, 36, 43, .3); }

/* Fişin lig tablosu karşılığı */
.proj {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 20px; background: var(--cream-2); border-bottom: 1px solid var(--line-2);
}
.proj__label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.proj__pts { font-family: var(--mono); font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.proj__pts i { font-style: normal; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 5px; }
.proj__split { display: flex; gap: 6px; }
.proj__cell { padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.proj__cell b { font-family: var(--mono); font-weight: 700; margin-right: 3px; color: var(--ink); }
.proj__cell.is-win { border-color: rgba(52, 169, 123, .4); }
.proj__cell.is-loss { border-color: rgba(217, 85, 106, .35); }
.proj__note { margin-left: auto; font-size: 13px; color: var(--muted); }

.saved-box {
  padding: 7px 12px; border-radius: 12px; background: var(--cream); border: 1px solid #eadfca;
  font-family: var(--mono); font-size: 16px; font-weight: 700;
}
.saved-box.is-empty { background: transparent; border-color: #f0e4cf; color: rgba(32, 36, 43, .35); }

.pts {
  min-width: 38px; text-align: center; padding: 5px 9px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  background: var(--sand); color: rgba(32, 36, 43, .4);
}
.pts.is-exact { background: var(--yellow); color: var(--ink); }
.pts.is-win { background: var(--pos-soft); color: var(--pos); }
.pts.is-miss { background: var(--neg-soft); color: var(--neg); }
.pts.is-soft { opacity: .8; }

.btn-ghost {
  padding: 0 14px; height: 38px; background: var(--cream); border: 1px solid var(--edge);
  border-radius: 999px; font-size: 13px; font-weight: 600; color: rgba(32, 36, 43, .7);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.slip__foot { display: grid; gap: 12px; padding: 16px 20px; background: var(--cream-2); border-top: 1px solid var(--line-2); }
.slip__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.slip__foot span.note { font-size: 14px; font-weight: 500; color: var(--muted); }
/* Takım fişini temizleme — iki adımlı, tarayıcı diyaloğu yok. */
/* Genişliği sabit: "Temizle" ile "Emin misin?" arasında geçerken düğmeler kaymasın. */
.btn-clear-team {
  min-width: 118px; padding: 0 14px; height: 46px; background: transparent; border: 1px solid var(--edge);
  border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted);
}
.btn-clear-team:hover { border-color: var(--neg); color: var(--neg); }
.btn-clear-team.is-armed { background: var(--neg); border-color: var(--neg); color: #fff; }
.btn-clear-team:disabled { opacity: .5; }
.btn-nav { padding: 0 16px; height: 46px; background: #fff; border: 1px solid var(--edge); border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink); }
.btn-next { padding: 0 20px; height: 46px; background: var(--ink); border: none; border-radius: 999px; color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 3px 0 var(--blue); }

/* Takım gezinme düğmeleri kulübün ana çift rengini taşır (--cbg / --cfg / --cedge). */
.btn-club { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.btn-club__arrow { opacity: .7; font-weight: 700; }
.btn-next.btn-club {
  background: var(--cbg, var(--ink)); color: var(--cfg, #fff);
  /* İkinci renk alt gölgede; beyaz olduğunda krem zeminde kaybolmasın diye ince koyu çizgi. */
  box-shadow: 0 3px 0 var(--cedge, var(--blue)), 0 4px 0 rgba(32, 36, 43, .22);
}
.btn-next.btn-club:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--cedge, var(--blue)), 0 2px 0 rgba(32, 36, 43, .22); }
.btn-nav.btn-club { background: #fff; color: var(--cbg, var(--ink)); border: 2px solid var(--cbg, var(--edge)); }
.btn-nav.btn-club:hover { background: color-mix(in srgb, var(--cbg) 8%, #fff); }
/* Takım logosu — koyu kulüp zemininde de okunsun diye beyaz daire içinde */
.clublogo {
  width: 24px; height: 24px; flex: 0 0 24px; border-radius: 999px;
  background: #fff; display: grid; place-items: center; padding: 2px;
  box-shadow: inset 0 0 0 1px rgba(32, 36, 43, .12);
}
.clublogo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* -------------------------------------------------------------- fikstür */

.scopes { display: flex; gap: 6px; padding: 5px; background: var(--sand); border-radius: 999px; flex-wrap: wrap; }
.scope {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; min-height: 40px;
  border: none; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: transparent; color: var(--muted);
}
.scope.is-on { background: var(--ink); color: #fff; }
.scope b { padding: 3px 7px; border-radius: 999px; font-family: var(--mono); font-size: 11px; font-weight: 700; background: rgba(32, 36, 43, .08); color: rgba(32, 36, 43, .55); }
.scope.is-on b { background: rgba(255, 255, 255, .22); color: #fff; }

.filterbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
}
.filterbar__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--faint); }
.filterbar__sep { width: 1px; height: 32px; background: var(--line); }
.fchips { display: flex; gap: 8px; }
.fchip {
  min-width: 42px; height: 42px; padding: 0 11px; display: grid; place-items: center; border-radius: 999px;
  border: 2px solid var(--line); background: #fff; color: rgba(32, 36, 43, .62);
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.fchip.is-on { color: #fff; border-color: var(--ink); box-shadow: 0 2px 0 var(--ink); }
.fchip--img { padding: 0; }
.fchip--img img { width: 24px; height: 24px; object-fit: contain; display: block; }
/* Logolu düğmede seçili hâli renk yerine koyu çerçeve + krem zemin anlatır. */
.fchip--img.is-on { background: var(--sand); border-color: var(--ink); }
.fchip--img.is-on img { filter: none; }
.fchip--img:not(.is-on) img { opacity: .55; }
.fchip--img:hover img { opacity: 1; }
.fchip.is-on[data-comp="ucl"] { background: var(--blue); }
.fchip.is-on[data-comp="uel"] { background: var(--orange); }
.fchip.is-on[data-comp="uecl"] { background: var(--green); }
.fchip.is-on[data-team] { background: var(--ink); }
.filterbar__note { font-size: 13px; color: rgba(32, 36, 43, .5); }
.btn-clear { padding: 0 14px; height: 36px; background: var(--sand); border: none; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); }

.banner {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 16px;
  background: var(--orange-tint); border: 1.5px solid oklch(.82 .12 62); border-radius: 18px;
}
.banner__tag { padding: 5px 10px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.banner p { flex: 1; min-width: 220px; margin: 0; font-size: 14px; font-weight: 500; color: rgba(32, 36, 43, .75); }

.empty {
  margin: 30px 0; padding: 60px 26px; background: #fff; border: 2px dashed #e8dbc4;
  border-radius: 22px; text-align: center;
}
.empty__icon { font-size: 40px; font-weight: 800; margin-bottom: 10px; }
.empty h3 { font-size: 24px; margin-bottom: 8px; }
.empty p { margin: 0; font-size: 15px; color: rgba(32, 36, 43, .55); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 430px), 1fr)); gap: 14px; }
.mcard {
  display: flex; flex-direction: column; gap: 12px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 2px 0 var(--line-2);
}
.mcard.is-live { border: 2px solid var(--neg); box-shadow: 0 2px 0 oklch(.9 .07 25); }
.mcard__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mcard__md { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--faint); }
.status { padding: 5px 10px; border-radius: 999px; background: var(--sand); color: rgba(32, 36, 43, .55); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.status.is-live { background: var(--neg-soft); color: var(--neg); animation: lgblink 1.6s ease-in-out infinite; }
/* Takımlar alt alta: her ad kartın tam genişliğini kullanır, bu yüzden hiçbir
   ekran boyutunda kelime ortasından bölünme ya da kırpılma olmaz. */
.mcard__teams { display: grid; gap: 5px; }
.trow {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 3px 0;
}
.trow__logo { width: 24px; height: 24px; object-fit: contain; }
.trow__name {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: rgba(32, 36, 43, .62);
}
.trow.is-own .trow__name { font-weight: 700; color: var(--ink); }
.trow__goal {
  min-width: 20px; text-align: right;
  font-family: var(--mono); font-size: 22px; font-weight: 700; letter-spacing: -.02em;
  color: rgba(32, 36, 43, .45);
}
.trow.is-winner .trow__goal { color: var(--ink); }
.trow--lg { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; }
.trow--lg .trow__logo { width: 32px; height: 32px; }
.trow--lg .trow__name { font-size: 20px; font-weight: 700; color: var(--ink); }
.trow--lg .trow__goal { font-size: 28px; font-weight: 800; color: var(--ink); }
.mine-strip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--cream-2); border-radius: 14px; }
.mine-strip__label { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: rgba(32, 36, 43, .5); }
.mine-strip__score { font-family: var(--mono); font-size: 17px; font-weight: 700; }
.mine-badge { margin-left: auto; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .03em; background: var(--sand); color: rgba(32, 36, 43, .4); }
.mine-badge.is-exact { background: var(--yellow); color: var(--ink); }
.mine-badge.is-win { background: var(--pos-soft); color: var(--pos); }
.mine-badge.is-miss { background: var(--neg-soft); color: var(--neg); }

.guesschips { display: flex; flex-wrap: wrap; gap: 6px; }
.gchip {
  display: inline-flex; gap: 6px; padding: 6px 10px; border: 1.5px solid var(--line);
  border-radius: 999px; background: #fff; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink);
}
.gchip em { font-style: normal; opacity: .6; font-weight: 600; }
.gchip.is-me { border-color: var(--ink); background: var(--cream-2); }
.gchip.is-exact { background: var(--yellow); }
.gchip.is-win { border-color: oklch(.8 .12 150); }
.gchip.is-miss { border-color: oklch(.85 .08 25); }

.bars { display: flex; gap: 10px; }
.bar { flex: 1; display: flex; align-items: center; gap: 7px; }
.bar__key {
  width: 20px; height: 20px; display: grid; place-items: center; border-radius: 999px; flex: 0 0 20px;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  background: var(--sand-2); color: var(--muted);
}
.bar__track { flex: 1; height: 6px; background: var(--sand-2); border-radius: 999px; overflow: hidden; }
.bar__fill { display: block; height: 100%; border-radius: 999px; background: rgba(32, 36, 43, .3); transition: width .3s ease; }
.bar__pct { font-family: var(--mono); font-size: 11px; font-weight: 600; color: rgba(32, 36, 43, .5); min-width: 28px; }
.bar.is-correct .bar__key { background: var(--pos); color: #fff; }
.bar.is-correct .bar__fill { background: var(--pos); }
.bars__locked { font-size: 13px; color: var(--faint); }

/* ------------------------------------------------------------- sıralama */

.podium { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin-bottom: 20px; }
.pod {
  display: flex; align-items: center; gap: 14px; padding: 18px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 3px 0 var(--line-2);
}
.pod.is-first { background: var(--yellow); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.pod__medal { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; font-family: var(--mono); font-size: 16px; font-weight: 800; background: var(--sand); }
.pod.is-first .pod__medal { background: var(--ink); color: #fff; }
.pod__body { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.pod__name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.pod__sub { font-size: 13px; font-weight: 500; opacity: .72; }
.pod__pts { margin-left: auto; font-family: var(--mono); font-size: 34px; font-weight: 800; letter-spacing: -.03em; }

.board-wrap { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.board-scroll { overflow-x: auto; }
.board { min-width: 720px; }
.board__head, .board__row {
  display: grid; grid-template-columns: 52px minmax(130px, 1fr) 68px 60px 66px 70px 54px 54px 58px;
  align-items: center; padding: 12px 18px;
}
/* Bonus sütunu görünürken bir sütun daha */
.board--bonus { min-width: 780px; }
.board--bonus .board__head, .board--bonus .board__row {
  grid-template-columns: 52px minmax(130px, 1fr) 68px 60px 60px 66px 70px 54px 54px 58px;
}
.board__head { background: var(--cream-2); border-bottom: 1px solid var(--line-2); font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: rgba(32, 36, 43, .5); }
.board__head span:not(:nth-child(-n+2)) { text-align: right; }
.board__row { border-bottom: 1px solid var(--line-3); background: #fff; text-align: left; width: 100%; border-left: 0; border-right: 0; border-top: 0; }
.board__row.is-me { background: oklch(.97 .02 258); }
.board__row .rank { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--faint); }
.board__row .who { display: flex; align-items: center; gap: 10px; }
.board__row .who .av { width: 30px; height: 30px; background: var(--sand); font-size: 13px; }
.board__row.is-me .who .av { background: var(--blue); color: #fff; }
.board__row .nm { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.board__row .num { text-align: right; font-family: var(--mono); font-size: 14px; font-weight: 500; color: rgba(32, 36, 43, .7); }
.board__row .num.big { font-size: 18px; font-weight: 700; color: var(--ink); }
.board__row .num.is-bonus { color: var(--pos); font-weight: 700; }
.board__row .num[data-comp="ucl"] { color: var(--blue); font-size: 13px; }
.board__row .num[data-comp="uel"] { color: var(--orange); font-size: 13px; }
.board__row .num[data-comp="uecl"] { color: var(--green); font-size: 13px; }
.foot-note { margin: 12px 4px 0; font-size: 14px; color: rgba(32, 36, 43, .5); }

/* ---------------------------------------------- takım projeksiyonları */

.projtable { margin-top: 34px; }
.projtable__title { font-size: 22px; margin-bottom: 6px; }
.projtable__lead { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.projtable__wrap { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.projtable__scroll { overflow-x: auto; }
.projtable__grid { min-width: 580px; }
.projtable__head, .projtable__row {
  display: grid; grid-template-columns: minmax(120px, 1fr) repeat(var(--clubs, 4), 54px) 74px 78px;
  align-items: center; padding: 11px 18px; gap: 8px;
}
.projtable__head {
  background: var(--cream-2); border-bottom: 1px solid var(--line-2);
  font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: rgba(32, 36, 43, .5);
}
.projtable__head > span:not(:first-child) { text-align: center; }
.projtable__club { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.projtable__club img { width: 20px; height: 20px; object-fit: contain; }
.projtable__club b { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .04em; }
.projtable__row {
  width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid var(--line-3);
}
.projtable__row.is-me { background: oklch(.97 .02 258); }
.projtable__row:hover { background: var(--cream-2); }
.projtable__name {
  display: flex; align-items: center; gap: 9px; min-width: 0;
  font-size: 16px; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Avatar sabit kalsın, uzun ad onu ezmesin; taşan ad üç noktayla kesilsin. */
.projtable__name .av { width: 26px; height: 26px; flex: 0 0 26px; background: var(--sand); font-size: 12px; }
.projtable__row.is-me .projtable__name .av { background: var(--blue); color: #fff; }
.projtable__cell {
  text-align: center; font-family: var(--mono); font-size: 15px; font-weight: 600; color: rgba(32, 36, 43, .7);
}
.projtable__cell.is-best { color: var(--ink); font-weight: 800; background: var(--yellow); border-radius: 8px; padding: 3px 0; }
.projtable__cell--total { font-size: 17px; font-weight: 800; color: var(--ink); }
.projtable__cell--fill { font-size: 12px; color: var(--faint); font-weight: 500; }
.projtable__row--avg {
  background: var(--cream-2); border-bottom: 0; border-top: 1px solid var(--line-2);
}
.projtable__row--avg .projtable__name { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.projtable__row--avg .projtable__cell { color: var(--muted); font-weight: 600; }

/* Kulüplerin şu anki gerçek puanı */
.projtable__row--now { background: #fff; border-bottom: 0; border-top: 1px solid var(--line); }
.projtable__row--now .projtable__name {
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
.projtable__row--now .projtable__cell { color: var(--ink); font-weight: 800; }
.projtable__row--now .projtable__cell--fill { font-size: 11px; font-weight: 500; color: var(--faint); }

/* Yeşil, sarıdan SONRA tanımlı — şu anki puanı bilen hücre sarıyı ezer. */
.projtable__cell.is-now {
  color: #fff; font-weight: 800; background: var(--pos); border-radius: 8px; padding: 3px 0;
}

/* Oyuncu fişi özeti (modal) */
.slipsum {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 12px 14px; margin-bottom: 10px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
}
.slipsum__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.slipsum__item { display: flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--muted); }
.slipsum__item b { font-family: var(--mono); font-size: 20px; font-weight: 800; color: var(--ink); }
.slipsum__item small { font-size: 11px; color: var(--faint); }
.slipsum__item.is-now b { color: var(--pos); }

/* ---------------------------------------------------------- bonus soru */

/* Cevaplanmamış açık soru işareti (üst sekme + alt çubuk) */
.tab__dot {
  display: inline-block; width: 8px; height: 8px; margin-left: 7px; vertical-align: 2px;
  border-radius: 999px; background: var(--neg); box-shadow: 0 0 0 2px var(--cream);
}

.poll { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin-bottom: 22px; animation: lgpop .22s ease; }
.poll__head { display: grid; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.poll__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.poll__pts {
  padding: 5px 10px; border-radius: 999px; background: var(--yellow); border: 1px solid var(--ink);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
}
.poll__state {
  padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--pos-soft); color: var(--pos);
}
.poll__state.is-closed { background: var(--sand); color: var(--muted); }
.poll__state.is-resolved { background: var(--ink); color: #fff; }
.poll__count { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--faint); }
.poll__head h2 { font-size: clamp(22px, 2.8vw, 30px); text-wrap: balance; }
.poll__head p { margin: 0; max-width: 72ch; font-size: 15px; color: var(--muted); }

.poll__answer {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 22px;
  background: var(--pos-soft); border-bottom: 1px solid var(--line-2);
}
.poll__answer-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--pos); }
.poll__answer b { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.poll__answer-note { font-size: 14px; font-weight: 600; color: rgba(32, 36, 43, .7); }

.poll__mine {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 22px;
  background: var(--cream-2); border-bottom: 1px solid var(--line-2);
}
.poll__mine .val { padding: 6px 12px; border-radius: 12px; background: var(--yellow); font-size: 16px; font-weight: 700; }
.poll__mine .val.is-empty { background: var(--sand); color: rgba(32, 36, 43, .45); font-weight: 600; }
.poll__mine .mine-badge { margin-left: 0; }

.popts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 10px; padding: 16px 18px; }
.popt {
  display: flex; flex-direction: column; gap: 9px; min-width: 0; padding: 12px 14px; text-align: left;
  background: #fffdf8; border: 2px solid var(--line); border-radius: 16px; color: var(--ink);
}
button.popt:not(:disabled):hover, .popt--other:has(.popt__pick:not(:disabled):hover) { border-color: var(--ink); }
.popt:disabled, .popt__pick:disabled { cursor: default; }
.popt.is-mine { background: #fff; border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.popt.is-pending { background: #fff; border-color: var(--ink); border-style: dashed; }
.popt.is-correct { background: var(--pos-soft); border-color: var(--pos); box-shadow: 0 3px 0 var(--pos); }
.popt.is-wrong { border-color: var(--neg); box-shadow: 0 3px 0 var(--neg); }
/* "Diğer" kartının içindeki seçim düğmesi: görünüşü kartın kendisi taşır. */
.popt__pick {
  display: flex; flex-direction: column; gap: 9px; width: 100%; padding: 0;
  background: none; border: 0; text-align: left; color: inherit;
}
.popt__top { display: flex; align-items: center; gap: 11px; min-width: 0; }
.popt__radio { width: 20px; height: 20px; flex: 0 0 20px; border-radius: 999px; border: 2px solid var(--edge); background: #fff; }
.popt.is-mine .popt__radio { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 3px #fff; }
.popt.is-mine.is-correct .popt__radio { border-color: var(--pos); background: var(--pos); }
.popt.is-wrong .popt__radio { border-color: var(--neg); background: var(--neg); }
.popt__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.popt__label { font-size: 16px; font-weight: 700; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.popt__note { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.popt__num { font-family: var(--mono); font-size: 15px; font-weight: 700; color: rgba(32, 36, 43, .7); }
.popt__bar { display: block; height: 6px; background: var(--sand-2); border-radius: 999px; overflow: hidden; }
.popt__bar i { display: block; height: 100%; border-radius: 999px; background: rgba(32, 36, 43, .3); transition: width .3s ease; }
.popt.is-mine .popt__bar i { background: var(--ink); }
.popt.is-correct .popt__bar i { background: var(--pos); }
.popt__voters { display: flex; flex-wrap: wrap; gap: 5px; }
.pchip {
  max-width: 100%; padding: 3px 9px; border-radius: 999px; background: var(--sand);
  font-size: 12px; font-weight: 600; color: rgba(32, 36, 43, .75);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pchip em { font-style: normal; font-weight: 700; color: var(--ink); }
.pchip.is-me { background: var(--ink); color: #fff; }
.pchip.is-me em { color: var(--yellow); }
.pchip.is-winner { background: var(--pos); color: #fff; }
.pchip.is-winner em { color: #fff; }

.pother { display: flex; gap: 8px; }
.pother input {
  flex: 1; min-width: 0; height: 44px; padding: 0 14px; background: var(--cream);
  border: 2px solid #eadfca; border-radius: 12px; outline: none;
  font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink);
}
.pother input:focus { border-color: var(--blue); }
.pother .btn-next { flex: 0 0 auto; height: 44px; padding: 0 16px; font-size: 14px; }

.poll__foot { margin: 0; padding: 0 22px 18px; font-size: 13px; color: rgba(32, 36, 43, .55); }

/* --------------------------------------------------------------- modal */

.overlay {
  position: fixed; inset: 0; z-index: 42; background: rgba(32, 36, 43, .5); backdrop-filter: blur(3px);
  display: grid; place-items: start center; padding: 36px 16px; overflow: auto;
}
.sheet { width: 100%; max-width: 620px; background: var(--cream); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(32, 36, 43, .28); animation: lgpop .2s ease; }
.sheet--wide { max-width: 700px; }
.sheet__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 18px; background: #fff; border-bottom: 1px solid var(--line-2); }
.sheet__status { font-size: 12px; font-weight: 600; letter-spacing: .05em; color: rgba(32, 36, 43, .5); }
.btn-x { width: 34px; height: 34px; background: var(--sand); border: none; border-radius: 999px; font-size: 16px; font-weight: 600; color: var(--ink); }
.sheet__body { padding: 22px 20px 8px; background: #fff; }
.sheet__teams { display: grid; gap: 6px; }
.sheet__stadium { margin: 12px 0 0; text-align: center; font-size: 13px; font-weight: 500; color: var(--faint); }
.sheet__mine { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 0 18px; }
.sheet__mine .val { padding: 8px 14px; border-radius: 14px; background: var(--yellow); font-family: var(--mono); font-size: 18px; font-weight: 700; }
.sheet__mine .val.is-empty { background: var(--sand); color: rgba(32, 36, 43, .4); }
.sheet__mine .bars { flex: 1; min-width: 200px; }
.sheet__list { padding: 16px 18px 22px; }
.sheet__listhead { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.sheet__listhead p { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: rgba(32, 36, 43, .5); }
.sheet__listhead span { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.guessrow {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 11px 14px;
  border-radius: 14px; background: #fff; border: 1px solid #f0e4cf; margin-bottom: 6px;
}
.guessrow.is-me { background: oklch(.97 .02 258); border-color: var(--blue); }
.guessrow__name { font-size: 16px; font-weight: 700; min-width: 80px; }
.guessrow__score { font-family: var(--mono); font-size: 15px; font-weight: 600; }
.guessrow__at { margin-left: auto; font-family: var(--mono); font-size: 11px; color: rgba(32, 36, 43, .35); }
.sheet__note { margin: 12px 2px 0; font-size: 13px; color: rgba(32, 36, 43, .5); }

.phead { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px; background: var(--blue); color: #fff; }
.phead .av { width: 46px; height: 46px; background: rgba(255, 255, 255, .22); font-size: 18px; font-weight: 800; }
.phead__name { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.phead__sub { margin-top: 5px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .82); }
.phead .btn-x { width: 38px; height: 38px; margin-left: auto; background: rgba(255, 255, 255, .18); color: #fff; }
.pstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(50%, 150px), 1fr)); gap: 10px; padding: 16px 18px; }
.pstat { padding: 13px 15px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.pstat b { display: block; font-family: var(--mono); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.pstat span { display: block; margin-top: 5px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(32, 36, 43, .5); }
.pslip { padding: 2px 18px 22px; }
.pslip__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.pslip__head p { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: rgba(32, 36, 43, .5); }
.pslip__head .fchip { min-width: 36px; height: 36px; }
.pslip__note { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.prow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 11px 14px; background: #fff; border: 1px solid #f0e4cf; border-radius: 14px; margin-bottom: 6px; }
.prow__match { flex: 1; min-width: 150px; font-size: 15px; font-weight: 600; }
.prow__actual { font-family: var(--mono); font-size: 14px; font-weight: 500; color: rgba(32, 36, 43, .5); }
.prow__guess { font-family: var(--mono); font-size: 15px; font-weight: 700; min-width: 44px; text-align: right; }
.pempty { margin: 0 0 10px; padding: 22px; background: #fff; border: 2px dashed #e8dbc4; border-radius: 16px; text-align: center; font-size: 14px; font-weight: 500; color: rgba(32, 36, 43, .55); }

/* --------------------------------------------------------------- toast */

.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(10px);
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: .2s; z-index: 60;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.is-error { background: var(--neg); }

/* ---------------------------------------------------- mobil (Mobil.dc.html) */

.botnav { display: none; }

@media (max-width: 860px) {
  body { font-size: 15px; }
  .wrap { padding: 20px 16px calc(96px + env(safe-area-inset-bottom)); }
  .topbar__inner { padding: 10px 14px; gap: 8px; flex-wrap: nowrap; }
  .topbar__inner > * { min-width: 0; }
  /* Dar ekranda rozet kısalır: "Kayıtlar açık ·" düşer, geri sayım kalır. */
  .lock-chip__label { display: none; }
  .topbar .tabs { display: none; }
  .brand { font-size: 16px; gap: 8px; }
  .brand .mark { width: 28px; height: 28px; border-radius: 9px; font-size: 12px; }
  /* Başlık tek satırda kalsın: kilit rozeti kısalır, kullanıcı adı gizlenir. */
  .lock-chip { padding: 6px 10px; font-size: 12px; white-space: nowrap; }
  .who-chip { padding: 3px; gap: 0; font-size: 0; border: none; background: none; }
  .who-chip .av { width: 30px; height: 30px; font-size: 12px; }
  .btn-quiet { padding: 6px 9px; min-height: 32px; font-size: 12px; }
  .page-head h1 { font-size: 28px; }
  .page-head p { font-size: 15px; }

  /* Sekmeler alt çubuğa iner */
  .botnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(253, 246, 234, .95); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .botnav button {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 8px 4px; border: none; background: none; border-radius: 14px;
    font-size: 12px; font-weight: 700; color: var(--muted);
  }
  .botnav button.is-on { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(32, 36, 43, .1); }
  .botnav i { font-style: normal; font-family: var(--mono); font-size: 15px; font-weight: 700; }
  .botnav button { position: relative; }
  .botnav .tab__dot { position: absolute; top: 5px; left: calc(50% + 7px); margin: 0; }

  .poll__head, .poll__answer, .poll__mine { padding-left: 16px; padding-right: 16px; }
  .popts { padding: 12px; }
  .poll__foot { padding: 0 16px 16px; }

  .teamtabs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .teamtab { padding: 11px 12px; gap: 9px; border-radius: 16px; }
  .teamtab__ring { width: 36px; height: 36px; flex-basis: 36px; }
  .teamtab__ring i { width: 27px; height: 27px; font-size: 11px; }
  .teamtab__name { font-size: 15px; }

  .row {
    gap: 8px 10px; padding: 12px 14px;
    grid-template-columns: 96px 52px 1fr;
    grid-template-areas:
      "md    venue  others"
      "match match  match"
      "score score  score";
  }
  .row__others { justify-self: end; }
  .row .score-in { justify-self: start; flex-wrap: wrap; }
  .proj { padding: 11px 14px; gap: 9px; }
  .proj__note { margin-left: 0; flex-basis: 100%; font-size: 12.5px; }
  .proj__pts { font-size: 22px; }
  .score-in input { width: 44px; height: 44px; }
  .slip__foot { gap: 8px; }
  .btn-nav, .btn-next { flex: 1 1 0; min-width: 0; padding: 0 12px; font-size: 14px; }
  .btn-clear-team { flex: 1 1 100%; min-width: 0; order: -1; }
  .slip__actions .spacer { display: none; }

  .filterbar { gap: 8px; padding: 10px 12px; border-radius: 20px; }
  .filterbar__label, .filterbar__note, .filterbar__sep { display: none; }
  .fchip { min-width: 38px; height: 38px; font-size: 12px; }
  .cards { grid-template-columns: 1fr; }
  .guesschips { display: none; }
  .podium { display: none; }

  .overlay { padding: 0; place-items: end stretch; }
  .sheet, .sheet--wide { max-width: none; border-radius: 22px 22px 0 0; max-height: 92dvh; overflow: auto; overscroll-behavior: contain; }
  .trow--lg .trow__name { font-size: 17px; }
  .trow--lg .trow__goal { font-size: 24px; }
  .lock-card { min-width: 0; width: 100%; }
  .progress__saved { min-width: 0; }
}
