:root {
  color-scheme: dark;
  --bg: #0a0e14;
  --bg-2: #0f151e;
  --card: #121924;
  --card-2: #18212f;
  --line: #1f2a3a;
  --text: #e4e9f1;
  --muted: #8592a6;
  --accent: #3ddc97;
  --accent-ink: #04150d;
  --gold: #f5c542;
  --warn: #f0a94b;
  --bad: #ef6b63;
  /* 1-10 puan: trafik ışığı (düşük ihtimal kırmızımsı -> yüksek ihtimal yeşil), göz yormayan tonlar */
  --s1: #9c3b36; --s2: #a8493a; --s3: #ad5d3a; --s4: #a9743a; --s5: #9c8a35;
  --s6: #7f9a3a; --s7: #57a24a; --s8: #3aa95f; --s9: #2bb275; --s10: #22bd88;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(255,255,255,.025) inset, 0 10px 30px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.loading, .empty { padding: 64px 0; text-align: center; color: var(--muted); }

/* ---------- üst bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; letter-spacing: -.01em; }
.brand b { color: var(--accent); font-weight: 800; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
}
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; }
.nav a.active, .nav a:hover { color: var(--text); background: var(--card); }

/* ---------- başlık ---------- */
.hero { padding: 28px 0 8px; }
.hero h1 { margin: 0 0 4px; font-size: 26px; letter-spacing: -.02em; }
.hero p { margin: 0; color: var(--muted); }

/* ---------- filtreler ---------- */
.filters { display: grid; gap: 10px; padding: 16px 0 6px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--card); color: var(--muted);
  padding: 7px 13px; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer;
  white-space: nowrap;
}
.chip:hover { color: var(--text); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chip .n { opacity: .65; margin-left: 4px; font-weight: 500; }

.finder {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px;
}
.finder label { color: var(--muted); font-size: 13.5px; }
.finder select {
  background: var(--card-2); color: var(--text); border: 1px solid var(--line); border-radius: 9px;
  padding: 7px 10px; font: inherit; font-size: 13.5px;
}
.finder .reset { margin-left: auto; }
.btn-link { background: none; border: 0; color: var(--accent); font: inherit; font-size: 13.5px; cursor: pointer; padding: 4px; }

/* ---------- maç listesi ---------- */
.league-block { margin-top: 22px; }
.league-head {
  display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 13px;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600;
}
.lg {
  display: inline-grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: .04em;
  padding: 2px 6px; border-radius: 5px; color: #fff; background: #556; vertical-align: 1px;
}
.lg-E0 { background: #5b2a86; } .lg-SP1 { background: #c8102e; } .lg-I1 { background: #0b5fa5; }
.lg-D1 { background: #222; } .lg-F1 { background: #1d3f8f; } .lg-T1 { background: #d81e2a; }
.matches { display: grid; gap: 10px; }
.match {
  position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: border-color .15s, transform .15s;
}
.match:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); transform: translateY(-1px); }
.match-in {
  display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 14px;
  padding: 14px 16px 14px 0; min-width: 0;
}
.match .star { justify-self: center; }
.m-time { text-align: center; }
.m-time b { display: block; font-size: 16px; }
.m-time span { font-size: 12px; color: var(--muted); }
.m-teams { min-width: 0; display: grid; gap: 4px; }
.m-team { display: flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; min-width: 0; }
.m-team .nm { overflow: hidden; text-overflow: ellipsis; }
.m-team .xg { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 13px; font-variant-numeric: tabular-nums; }
.badge-miss {
  font-size: 11px; font-weight: 600; color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent);
  border-radius: 6px; padding: 0 5px; line-height: 17px;
}
.crest {
  width: 22px; height: 22px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  font-size: 10px; font-weight: 800; color: #fff;
}
.m-scores { display: grid; grid-template-columns: repeat(6, 54px); gap: 6px; }
.sc { text-align: center; }
.sc small { display: block; font-size: 10.5px; color: var(--muted); margin-bottom: 3px; white-space: nowrap; }
.pill {
  display: grid; place-items: center; height: 30px; border-radius: 8px; font-weight: 800; font-size: 14px;
  color: #fff; font-variant-numeric: tabular-nums;
}
.pill.hl { outline: 2px solid var(--text); outline-offset: 1px; }

/* puan renkleri */
.p1{background:var(--s1)}.p2{background:var(--s2)}.p3{background:var(--s3)}.p4{background:var(--s4)}.p5{background:var(--s5)}
.p6{background:var(--s6)}.p7{background:var(--s7)}.p8{background:var(--s8)}.p9{background:var(--s9)}.p10{background:var(--s10)}

/* ---------- detay ---------- */
.back { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); margin: 22px 0 12px; font-weight: 500; }
.back:hover { color: var(--text); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
}
.card h2 { margin: 0 0 14px; font-size: 16px; letter-spacing: -.01em; }
.card h2 .muted { font-weight: 500; font-size: 13px; margin-left: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stack { display: grid; gap: 14px; margin-bottom: 14px; }

.matchhead { text-align: center; padding: 22px 18px; }
.mh-meta { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.mh-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.mh-team { display: grid; justify-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.mh-team .crest { width: 48px; height: 48px; font-size: 16px; }
.mh-xg { display: grid; gap: 2px; }
.mh-xg b { white-space: nowrap; font-size: 30px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mh-xg span { font-size: 12px; color: var(--muted); }
.mh-adj { font-size: 12px; color: var(--warn); margin-top: 4px; }
.topscores { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.ts { background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font-size: 13px; }
.ts b { font-size: 15px; margin-right: 6px; }

.mkt-group + .mkt-group { margin-top: 18px; }
.mkt-group h3 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mkt {
  display: grid; grid-template-columns: minmax(130px, 1.3fr) 2fr 44px 150px; align-items: center; gap: 12px;
  padding: 8px 0; border-top: 1px solid var(--line);
}
.mkt:first-of-type { border-top: 0; }
.mkt-name { font-weight: 500; font-size: 14px; }
.bar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.bar i { height: 10px; border-radius: 3px; background: var(--bg-2); }
.mkt-score { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.mkt-score small { color: var(--muted); font-weight: 500; }
.mkt-side { font-size: 12px; color: var(--muted); text-align: right; line-height: 1.35; font-variant-numeric: tabular-nums; }
.mkt-side b { color: var(--text); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); margin-top: 14px; }

.miss-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.miss-list li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
.miss-list .tag { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 5px; flex: 0 0 auto; }
.tag.inj { background: color-mix(in srgb, var(--bad) 18%, transparent); color: var(--bad); }
.tag.out { background: color-mix(in srgb, var(--muted) 20%, transparent); color: var(--muted); }
.tag.sus { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.miss-list .who { font-weight: 600; }
.miss-list .info { color: var(--muted); font-size: 12.5px; }

.cmp { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.cmp td { padding: 9px 0; border-top: 1px solid var(--line); }
.cmp tr:first-child td { border-top: 0; }
.cmp td:nth-child(1) { text-align: left; font-weight: 700; width: 25%; }
.cmp td:nth-child(2) { text-align: center; color: var(--muted); }
.cmp td:nth-child(3) { text-align: right; font-weight: 700; width: 25%; }
.cmp .better { color: var(--accent); }
.cmp-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form { display: inline-flex; gap: 3px; }
.form i {
  width: 20px; height: 20px; border-radius: 5px; font-style: normal; font-size: 11px; font-weight: 800;
  display: grid; place-items: center; color: #fff;
}
.form .G { background: #22b573; } .form .B { background: #8a94a6; } .form .M { background: #e5534b; }

.notes { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.h2h { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.h2h li { display: flex; justify-content: space-between; gap: 10px; background: var(--card-2); padding: 8px 12px; border-radius: 9px; }
.h2h .yr { color: var(--muted); }
.warnbox {
  border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent);
  background: color-mix(in srgb, var(--warn) 9%, transparent);
  border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px;
}

/* ---------- güvenilirlik ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat b { display: block; font-size: 26px; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 13px; }
.calib svg { width: 100%; height: auto; display: block; }
.calib text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.calib .axis { stroke: var(--line); }
.calib .ideal { stroke: var(--muted); stroke-dasharray: 4 4; }
.calib .bar-r { fill: var(--accent); opacity: .85; }
.calib .dot { fill: var(--text); }
.calib-tabs { margin-bottom: 12px; }
.prose p { margin: 0 0 10px; }
.prose p:last-child { margin: 0; }

.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 22px 0 34px; font-size: 13px; }
.footer p { margin: 0 0 6px; }

/* ---------- mobil ---------- */
@media (max-width: 760px) {
  .match { grid-template-columns: 40px 1fr; }
  .match-in { grid-template-columns: 48px 1fr; gap: 10px; padding: 12px 12px 12px 0; }
  .m-scores { grid-column: 1 / -1; grid-template-columns: repeat(6, 1fr); gap: 5px; }
  .sc small { font-size: 9.5px; }
  .nav a { padding: 8px 9px; font-size: 14px; }
  .brand span:last-child { display: none; }
  .scale-l, .scale-r { font-size: 11px; }
  .grid2, .stat-row { grid-template-columns: 1fr; }
  .mkt { grid-template-columns: 1fr 60px; gap: 6px 10px; }
  .mkt .bar { grid-column: 1 / -1; grid-row: 2; }
  .mkt-side { grid-column: 1 / -1; text-align: left; }
  .mkt-score { grid-row: 1; grid-column: 2; }
  .mh-team { font-size: 15px; }
  .mh-xg b { font-size: 21px; }
  .mh-row { gap: 8px; }
  .mh-team .crest { width: 40px; height: 40px; }
  .mh-adj { font-size: 11px; }
  .hero h1 { font-size: 22px; }
}

.risk { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.risk h3 { margin: 0 0 10px; font-size: 13px; }
.risk h3 .muted { font-weight: 500; font-size: 12px; }
.ycard { width: 11px; height: 15px; border-radius: 2px; background: #f5c400; flex: 0 0 auto; transform: translateY(2px); }

/* ---------- favori yıldızı ---------- */
.star {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px;
  border-radius: 10px; cursor: pointer; color: var(--muted); font: inherit;
}
.star svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; transition: transform .15s; }
.star:hover { color: var(--gold); }
.star:hover svg { transform: scale(1.12); }
.star.on { color: var(--gold); }
.star.on svg { fill: var(--gold); }
.star.big { border: 1px solid var(--line); background: var(--card-2); padding: 7px 12px; font-size: 13.5px; font-weight: 600; }
.star.big.on { border-color: color-mix(in srgb, var(--gold) 45%, transparent); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.mh-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.mh-top .mh-meta { margin: 0; }

.nav-fav { display: inline-flex; align-items: center; gap: 6px; }
.nav-fav svg { color: var(--gold); }
.nav-fav .count {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #1a1400;
  font-size: 11px; font-weight: 800; display: inline-grid; place-items: center;
}
.nav-fav .count[hidden] { display: none; }

/* ---------- öne çıkan ---------- */
.signal { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.signal i { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.signal b { color: var(--text); font-weight: 600; }

/* ---------- puan rehberi ---------- */
.scale { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.scale-bar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; flex: 0 1 340px; }
.scale-bar .pill { height: 22px; font-size: 11px; border-radius: 5px; }

/* ---------- boş favoriler ---------- */
.empty-fav { text-align: center; padding: 56px 16px; color: var(--muted); }
.empty-fav svg { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.4; }
.empty-fav h2 { color: var(--text); font-size: 18px; margin: 12px 0 6px; }
.empty-fav p { margin: 0 0 18px; }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700;
  padding: 10px 18px; border-radius: 11px;
}
.hint { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }

/* ---------- marka / menü ---------- */
.brand-name b { color: var(--accent); font-weight: 800; }
.mh-team { color: inherit; }
.mh-team:hover span { color: var(--accent); }
.card h2 a:hover, .opp a:hover, .ltable a:hover, .foot-links a:hover, .result-more a:hover { color: var(--accent); }
.foot-links a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- hologram filigran: görünür görünmez ---------- */
.holo {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 5;
  display: flex; align-items: center; gap: 8px; pointer-events: none; user-select: none;
  font-weight: 800; font-size: 22px; letter-spacing: .02em; opacity: .15;
  background: linear-gradient(110deg, #7cf7d4, #8aa8ff 22%, #f08cff 40%, #ffd37a 58%, #7cf7d4 76%, #8aa8ff);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: holo 9s linear infinite;
}
.holo-mark { display: inline-grid; color: #9fdcff; }
.holo-mark svg { width: 22px; height: 22px; }
@keyframes holo { to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) { .holo { animation: none; } }

/* ---------- sonuçlar ---------- */
.result {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.result[open] { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.result summary { list-style: none; cursor: pointer; }
.result summary::-webkit-details-marker { display: none; }
.result-in { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; }
.src { display: inline-block; margin-top: 4px; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 5px; line-height: 16px; }
.src.live { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.src.back { color: var(--muted); background: var(--card-2); }
.m-team .score { margin-left: auto; font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--muted); }
.m-team.win .score { color: var(--text); }
.sc.res { position: relative; }
.sc.res em {
  position: absolute; right: -4px; bottom: -5px; width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 900;
  border: 2px solid var(--card);
}
.sc.res.yes em { background: #22b573; color: #04150d; }
.sc.res.no em { background: #3a4558; color: #aab4c4; }
.sc.res.no .pill { opacity: .55; }
.result-more { padding: 0 16px 16px; border-top: 1px solid var(--line); }
.result-more h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 10px; }
.res-all { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 14px; }
.res-all li { display: grid; grid-template-columns: 1fr 32px 18px; align-items: center; gap: 8px; font-size: 13.5px; }
.res-all .pill { height: 24px; font-size: 12px; border-radius: 6px; }
.res-all em { font-style: normal; font-weight: 900; text-align: center; }
.res-all .yes em { color: #22b573; }
.res-all .no em { color: var(--muted); }
.res-all .no span, .res-all .no .pill { opacity: .55; }
.result-more p { margin: 12px 0 0; font-size: 12.5px; }

/* ---------- takım sayfası ---------- */
.teamhead { display: flex; align-items: center; gap: 16px; }
.teamhead .crest { width: 64px; height: 64px; font-size: 22px; }
.teamhead h1 { margin: 0 0 4px; font-size: 24px; letter-spacing: -.02em; }
.teamhead p { margin: 0 0 8px; }
.tstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tstat h3 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tstat dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 13.5px; }
.tstat dt { color: var(--muted); }
.tstat dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.lastlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lastlist li { display: grid; grid-template-columns: 22px 56px 1fr auto auto; align-items: center; gap: 10px; font-size: 14px; background: var(--card-2); padding: 7px 10px; border-radius: 9px; }
.lastlist .date { color: var(--muted); font-size: 12.5px; }
.lastlist .opp { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lastlist .sc2 { font-variant-numeric: tabular-nums; }
.lastlist .ht { font-size: 12px; }
.ltable { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.ltable th { color: var(--muted); font-weight: 600; font-size: 11.5px; text-align: center; padding: 0 4px 8px; }
.ltable td { text-align: center; padding: 6px 4px; border-top: 1px solid var(--line); }
.ltable .tl { text-align: left; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.ltable tr.me td { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.ltable tr.me td:first-child { border-radius: 8px 0 0 8px; }
.ltable tr.me td:last-child { border-radius: 0 8px 8px 0; }
.ltable .form i { width: 16px; height: 16px; font-size: 9.5px; }
.card .matches .match { box-shadow: none; background: var(--card-2); }

@media (max-width: 760px) {
  .hide-sm { display: none; }
  .nav-fav .lbl { display: none; }
  .result-in { grid-template-columns: 74px 1fr; gap: 10px; padding: 12px; }
  .result-in .m-scores { grid-column: 1 / -1; }
  .tstats { grid-template-columns: 1fr; }
  .holo { font-size: 17px; bottom: 10px; }
  .lastlist li { grid-template-columns: 22px 46px 1fr auto; }
  .lastlist .ht { display: none; }
}
@media (max-width: 480px) { .hide-xs { display: none; } }
@media (max-width: 760px) {
  .stat-row { gap: 8px; margin: 14px 0; }
  .stat { padding: 11px 14px; display: flex; align-items: center; gap: 12px; }
  .stat b { font-size: 21px; flex: 0 0 auto; min-width: 58px; }
}

/* Marka: ilk kısım yeşil (Gol), ikinci kısım kırmızı (metre) */
.brand-name .a { color: var(--accent); font-weight: 800; }
.brand-name b { color: #ff5a52; font-weight: 800; }

/* =================== Ana sayfa: geniş düzen =================== */
body {
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(61, 220, 151, .10), transparent 60%),
    radial-gradient(800px 480px at 96% 4%, rgba(255, 90, 82, .07), transparent 60%),
    radial-gradient(1200px 700px at 50% 120%, rgba(110, 140, 255, .06), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
#app.wide { max-width: 1440px; }
.home { display: grid; grid-template-columns: 236px minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.side { position: sticky; top: 78px; display: grid; gap: 14px; padding-top: 28px; max-height: calc(100vh - 90px); overflow-y: auto; scrollbar-width: none; }
.side::-webkit-scrollbar { display: none; }
.widget {
  background: color-mix(in srgb, var(--card) 88%, transparent); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; backdrop-filter: blur(6px);
}
.widget h3 { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.widget h3 .muted { text-transform: none; letter-spacing: 0; font-weight: 500; margin-left: 4px; }
.widget .small { font-size: 12px; margin: 10px 0 8px; }
.wlink { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* ligler */
.lglist { display: grid; gap: 2px; }
.lgrow {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 9px;
  background: none; border: 0; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; text-align: left;
}
.lgrow:hover { background: var(--card-2); }
.lgrow.on { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.lgrow em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }

/* mini puan durumu */
.mini-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.mini-table td { padding: 5px 2px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.mini-table tr:first-child td { border-top: 0; }
.mini-table .tl { text-align: left; color: var(--text); max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-table b { color: var(--text); }
.mini-table .tl a:hover { color: var(--accent); }
.mini-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; margin-top: 10px; }
.mini-tabs button {
  background: var(--card-2); border: 1px solid var(--line); color: var(--muted); border-radius: 6px;
  font: inherit; font-size: 10px; font-weight: 700; padding: 4px 0; cursor: pointer;
}
.mini-tabs button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* öne çıkanlar */
.spots { display: grid; gap: 6px; }
.spot {
  display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center;
  padding: 8px; border-radius: 10px; background: var(--card-2); border: 1px solid transparent; transition: border-color .15s;
}
.spot:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.spot .pill { height: 34px; font-size: 15px; }
.spot b { display: block; font-size: 13.5px; }
.spot span { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot small { display: block; font-size: 11px; color: var(--muted); }
.spot div { min-width: 0; }
.spot-strip { display: none; }

/* halkalar (model karnesi, sonuç karnesi) */
.rings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ring {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--ring, var(--accent)) calc(var(--p) * 1%), var(--card-2) 0);
}
.ring > div {
  width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--card); display: grid; place-content: center; text-align: center;
}
.ring b { font-size: 22px; letter-spacing: -.02em; }
.ring span { font-size: 11px; color: var(--muted); }

/* son sonuçlar */
.recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.recent li {
  display: grid; grid-template-columns: 1fr auto 1fr 44px; gap: 8px; align-items: center;
  font-size: 12.5px; padding: 6px 4px; border-top: 1px solid var(--line);
}
.recent li:first-child { border-top: 0; }
.recent .rt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent b { font-variant-numeric: tabular-nums; }
.recent em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); text-align: right; }
.recent em.good { color: var(--accent); }

/* hero + günün maçı */
.hero-home { padding-top: 28px; }
.hero-home h1, .hero-grad h1 {
  font-size: 30px;
  background: linear-gradient(90deg, var(--text), color-mix(in srgb, var(--accent) 70%, var(--text)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.featured {
  position: relative; display: block; overflow: hidden; margin: 16px 0 6px;
  border-radius: 18px; padding: 18px 20px 16px;
  background:
    linear-gradient(135deg, rgba(61, 220, 151, .13), rgba(110, 140, 255, .07) 45%, rgba(255, 90, 82, .09)),
    var(--card);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .2s, border-color .2s;
}
.featured:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.fx-glow {
  position: absolute; inset: -40% -10% auto auto; width: 60%; height: 160%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(61, 220, 151, .16), transparent);
}
.fx-top { position: relative; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.fx-tag {
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 11px; letter-spacing: .04em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 6px;
}
.fx-row { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 16px 0; }
.fx-team { display: grid; justify-items: center; gap: 6px; text-align: center; }
.fx-team .crest { width: 54px; height: 54px; font-size: 18px; box-shadow: 0 0 0 3px rgba(255,255,255,.06); }
.fx-team b { font-size: 18px; }
.fx-team small { color: var(--muted); font-size: 12px; }
.fx-mid { text-align: center; }
.fx-xg { font-size: 34px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fx-xg i { font-style: normal; color: var(--muted); margin: 0 8px; font-weight: 500; }
.fx-mid span { font-size: 12px; color: var(--muted); }
.fx-cells { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.fx-cell { text-align: center; background: rgba(0, 0, 0, .18); border-radius: 10px; padding: 8px 4px 6px; }
.fx-cell span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 5px; white-space: nowrap; }
.fx-cell .pill { height: 32px; font-size: 16px; }
.fx-cell em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.fx-foot { position: relative; display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 10px; }
.fx-go { font-weight: 700; color: var(--accent); font-size: 14px; white-space: nowrap; }

/* sonuç karnesi */
.scorecard {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 1.3fr; gap: 14px; align-items: center;
  margin: 18px 0; padding: 18px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(61, 220, 151, .10), rgba(110, 140, 255, .05) 60%, rgba(255, 90, 82, .06)), var(--card);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
}
.sc-item { display: grid; justify-items: center; gap: 8px; text-align: center; }
.sc-item .ring { width: 100%; max-width: 116px; }
.sc-item .ring b { font-size: 24px; }
.sc-item p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.sc-item p b { color: var(--text); font-size: 13.5px; display: block; }
.sc-side { display: grid; gap: 10px; padding-left: 14px; border-left: 1px solid var(--line); }
.sc-side div b { display: block; font-size: 26px; letter-spacing: -.02em; }
.sc-side div span { font-size: 12.5px; color: var(--muted); }
.sc-side .src { width: max-content; }

/* daha canlı maç kartları */
.match { background: linear-gradient(180deg, color-mix(in srgb, var(--card) 97%, #fff), var(--card)); }
.match:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent); }
.crest { box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), 0 0 0 2px rgba(255,255,255,.05); }

/* orta genişlik: sol sütun gizli */
@media (max-width: 1180px) {
  .home { grid-template-columns: minmax(0, 1fr) 290px; }
  .side-l { display: none; }
}
/* telefon / tablet: tek sütun, öne çıkanlar yatay şerit */
@media (max-width: 900px) {
  .home { grid-template-columns: 1fr; gap: 0; }
  .side { position: static; max-height: none; padding-top: 18px; }
  .side-r .widget:first-child { display: none; }
  .side-l { display: grid; }
  .spot-strip {
    display: flex; gap: 8px; overflow-x: auto; margin: 10px -16px 4px; padding: 2px 16px 6px; scrollbar-width: none;
  }
  .spot-strip::-webkit-scrollbar { display: none; }
  .spot-strip .spot { flex: 0 0 230px; background: var(--card); border-color: var(--line); }
  .fx-xg { font-size: 26px; }
  .fx-team b { font-size: 15px; }
  .fx-team .crest { width: 44px; height: 44px; }
  .fx-cells { grid-template-columns: repeat(3, 1fr); }
  .hero-home h1, .hero-grad h1 { font-size: 24px; }
  .scorecard { grid-template-columns: repeat(2, 1fr); padding: 14px; }
  .sc-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
}

.ten { margin: 10px 0 0; text-align: center; font-size: 13px; padding: 7px; border-radius: 9px; background: var(--card-2); }
.ten b { color: var(--s10); }
.spot .pill { display: grid; white-space: normal; overflow: visible; }
.home > * { min-width: 0; }
@media (max-width: 900px) {
  .home { grid-template-columns: minmax(0, 1fr); }
  .home-main { order: 1; }
  .side-r { order: 2; }
  .side-l { order: 3; }
  .side-l .widget:first-child { display: none; }
}
.fx-cell .pill { display: grid; color: #fff; margin: 0; font-size: 16px; }

/* =================== Marka: daha büyük logo + yazı =================== */
.topbar-in { height: 70px; }
.brand { gap: 12px; font-size: 25px; letter-spacing: -.02em; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, #3ddc97, #1fb47a);
  box-shadow: 0 6px 18px rgba(61, 220, 151, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-name .a { color: #3ddc97; }
/* "metre": daha sıcak, canlı bir kırmızı + hafif parıltı */
.brand-name b {
  background: linear-gradient(180deg, #ff6b6b, #f0364f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(240, 54, 79, .25));
}
.side { top: 86px; }

/* =================== Menü: büyük, renkli =================== */
.nav { gap: 6px; }
.nav a.nv {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 11px;
  font-size: 15.5px; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 18%, transparent); transition: background .15s, transform .15s;
}
.nav a.nv svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav a.nv:hover { background: color-mix(in srgb, var(--c) 16%, transparent); transform: translateY(-1px); }
.nav a.nv.active { background: var(--c); color: #0a0e14; border-color: var(--c); box-shadow: 0 6px 18px color-mix(in srgb, var(--c) 35%, transparent); }
.nv-m { --c: #3ddc97; }
.nv-s { --c: #6ea8ff; }
.nv-f { --c: #f5c542; }
.nv-g { --c: #c08bff; }
.nav a.nv-f svg { fill: currentColor; stroke-width: 1.4; }
.nav a.nv.active .count { background: #0a0e14; color: var(--c); }

/* =================== Alt tanıtım alanı (hologram) =================== */
.footer { padding-top: 34px; }
.promo { margin-bottom: 26px; }
.promo-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 26px;
  padding: 22px 28px; border-radius: 22px;
  background:
    radial-gradient(600px 220px at 15% 0%, rgba(61, 220, 151, .14), transparent 70%),
    radial-gradient(500px 220px at 100% 100%, rgba(240, 54, 79, .12), transparent 70%),
    linear-gradient(135deg, #111a26, #0d131d);
  border: 1px solid transparent;
}
/* hologram kenarlık: dönen gökkuşağı */
.promo-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: conic-gradient(from var(--ang, 0deg), #3ddc97, #6ea8ff, #c08bff, #ff6b6b, #f5c542, #3ddc97);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: holo-spin 8s linear infinite; opacity: .75;
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes holo-spin { to { --ang: 360deg; } }
/* tarama çizgileri + üzerinden geçen parıltı */
.promo-scan {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .07) 45%, rgba(160, 220, 255, .10) 50%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px);
  background-size: 250% 100%, auto;
  animation: holo-sweep 5.5s ease-in-out infinite;
}
@keyframes holo-sweep { 0% { background-position: 130% 0, 0 0; } 60%, 100% { background-position: -60% 0, 0 0; } }

.gauge { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 20px rgba(61, 220, 151, .18)); }
.gauge text { fill: var(--muted); font: 700 11px Inter, sans-serif; }
.gauge .needle { transform-origin: 110px 110px; animation: needle 4.5s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes needle {
  0% { transform: rotate(-80deg); } 22% { transform: rotate(48deg); } 34% { transform: rotate(38deg); }
  55% { transform: rotate(62deg); } 75% { transform: rotate(-20deg); } 100% { transform: rotate(-80deg); }
}

.promo-brand { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.holo-text {
  background: linear-gradient(100deg, #3ddc97, #8ff0c8 20%, #6ea8ff 40%, #3ddc97 60%, #b6ffe0 80%, #3ddc97);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: holo-text 6s linear infinite;
}
.holo-text.b { background-image: linear-gradient(100deg, #ff6b6b, #ffb0a8 20%, #c08bff 40%, #f0364f 60%, #ffc2c2 80%, #ff6b6b); }
@keyframes holo-text { to { background-position: -250% 0; } }
.promo-tag { margin: 6px 0 14px; color: #c9d3e1; font-size: 15px; }
.promo-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.promo-stats span {
  display: inline-flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--muted);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}
.promo-stats b { color: var(--text); font-size: 14.5px; }
.promo-cta {
  align-self: center; white-space: nowrap; font-weight: 800; padding: 12px 18px; border-radius: 12px;
  background: linear-gradient(135deg, #3ddc97, #1fb47a); color: #04150d;
  box-shadow: 0 10px 26px rgba(61, 220, 151, .28);
}
.promo-cta:hover { filter: brightness(1.08); }

@media (prefers-reduced-motion: reduce) {
  .promo-card::before, .promo-scan, .gauge .needle, .holo-text { animation: none; }
}
@media (max-width: 900px) {
  .promo-card { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 20px 18px; gap: 12px; }
  .promo-gauge { width: 190px; }
  .promo-brand { font-size: 32px; }
  .promo-stats { justify-content: center; }
}
@media (max-width: 760px) {
  .brand { font-size: 21px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand span.brand-name { display: inline; }
  .topbar-in { height: 62px; }
  .nav { gap: 4px; }
  .nav a.nv { padding: 8px 9px; }
  .nav a.nv .lbl { display: none; }
  .nav a.nv svg { width: 20px; height: 20px; }
}
.promo-stats .promo-hit { border-color: color-mix(in srgb, var(--s10) 45%, transparent); background: color-mix(in srgb, var(--s10) 12%, transparent); }
.promo-stats .promo-hit b { color: var(--s10); }
.promo-stats .promo-hit[hidden] { display: none; }
/* tanıtım rozetleri: her biri kendi renginde, öne çıksın */
.promo-stats { gap: 10px; }
.promo-stats .ps {
  --pc: #3ddc97; padding: 8px 15px; font-size: 13.5px; font-weight: 600;
  color: color-mix(in srgb, var(--pc) 75%, #fff);
  background: linear-gradient(135deg, color-mix(in srgb, var(--pc) 22%, transparent), color-mix(in srgb, var(--pc) 8%, transparent));
  border: 1px solid color-mix(in srgb, var(--pc) 55%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--pc) 22%, transparent), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.promo-stats .ps b { color: var(--pc); font-size: 19px; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 0 14px color-mix(in srgb, var(--pc) 55%, transparent); }
.promo-stats .ps-g { --pc: #3ddc97; }
.promo-stats .ps-b { --pc: #6ea8ff; }
.promo-stats .ps-y { --pc: #f5c542; }
.promo-stats .ps-p { --pc: #c08bff; }

/* =================== Üyelik / kilit / vitrin =================== */
:root { --gold: #f5c542; }
.center { text-align: center; }
.small { font-size: 12.5px; }
.gold { color: var(--gold); }
.btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; text-align: center; }
.btn.wide { display: block; width: 100%; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); }
.btn.gold { background: linear-gradient(135deg, #f7d264, #e0a722); color: #2a1d00; }
.btn[disabled] { opacity: .65; cursor: not-allowed; }

/* kilitli puan rozeti */
.pill.lock {
  background: repeating-linear-gradient(135deg, #2a2412, #2a2412 6px, #241f10 6px, #241f10 12px);
  color: var(--gold); border: 1px solid rgba(245, 197, 66, .35);
}
.pill.lock svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.xg-lock svg, .lockxg svg, .xg-locked svg, .ts-lock svg, .teaser-lock svg, .ab-icon svg, .veil-icon svg, .veil-lock svg, .unlock-row svg {
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round;
}
.xg-lock { color: var(--gold); display: inline-grid; }
.xg-lock svg { width: 13px; height: 13px; }

/* ziyaretçi: bulanık süs puanlar + üstünde kilit */
.pill.decoy { filter: blur(5px) saturate(.8); opacity: .75; }
.m-scores.veiled { position: relative; }
.veil-lock {
  position: absolute; inset: 14px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--text); text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}
.veil-lock svg { width: 15px; height: 15px; color: var(--gold); }
.blur-text { filter: blur(7px); user-select: none; }

/* öne çıkanlar yerine premium teşviki */
.teaser {
  display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; padding: 12px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 197, 66, .14), rgba(245, 197, 66, .04));
  border: 1px solid rgba(245, 197, 66, .35);
}
.teaser-lock { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(245, 197, 66, .18); color: var(--gold); }
.teaser-lock svg { width: 20px; height: 20px; }
.teaser b { display: block; font-size: 14px; }
.teaser span { display: block; font-size: 12.5px; color: var(--muted); }
.teaser em { grid-column: 1 / -1; font-style: normal; font-weight: 800; color: var(--gold); text-align: right; }

/* liste üstündeki erişim bandı */
.access-banner {
  display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; padding: 14px 16px; border-radius: 14px; flex-wrap: wrap;
}
.access-banner b { display: block; font-size: 15px; }
.access-banner span { display: block; font-size: 13px; color: var(--muted); }
.access-banner > div:first-child, .access-banner > div:nth-child(2) { flex: 1 1 240px; }
.access-banner.guest {
  background: linear-gradient(135deg, rgba(61, 220, 151, .16), rgba(61, 220, 151, .04)); border: 1px solid rgba(61, 220, 151, .4);
}
.access-banner.member { background: linear-gradient(135deg, rgba(245, 197, 66, .14), rgba(245, 197, 66, .03)); border: 1px solid rgba(245, 197, 66, .38); }
.access-banner.member em { font-style: normal; font-weight: 800; color: var(--gold); white-space: nowrap; }
.ab-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(245, 197, 66, .18); color: var(--gold); }
.ab-icon svg { width: 20px; height: 20px; }
.ab-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ab-btns .btn { padding: 10px 16px; }

/* detay: kilitli satırlar */
.mkt.locked { cursor: pointer; }
.mkt.locked:hover .mkt-name { color: var(--gold); }
.bar.blurred { filter: blur(4px); opacity: .6; }
.xg-locked { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 18px; color: var(--gold); }
.xg-locked svg { width: 18px; height: 18px; }
.ts-lock { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); }
.ts-lock svg { width: 14px; height: 14px; }
.lockxg { color: var(--gold); }
.lockxg svg { width: 30px; height: 30px; }
.unlock-row {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px;
  background: rgba(245, 197, 66, .08); border: 1px solid rgba(245, 197, 66, .3); font-size: 13.5px;
}
.unlock-row svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; }
.unlock-row span { flex: 1; }
.unlock-row em { font-style: normal; font-weight: 800; color: var(--gold); white-space: nowrap; }

/* ziyaretçi detay: bulanık kart + ortada çağrı */
.veiled-card { position: relative; }
.veiled-body { filter: blur(6px); opacity: .55; pointer-events: none; user-select: none; max-height: 560px; overflow: hidden; }
.veil-cta {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 24px; gap: 10px;
}
.veil-cta h2 { margin: 0; font-size: 22px; }
.veil-cta p { margin: 0 0 6px; max-width: 460px; color: #c9d3e1; }
.veil-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(245, 197, 66, .16); color: var(--gold); border: 1px solid rgba(245, 197, 66, .4); }
.veil-icon svg { width: 26px; height: 26px; }
.veil-proof { margin-top: 6px; color: var(--accent); font-weight: 600; font-size: 14px; }

/* üst bar: giriş */
.topbar-in { gap: 14px; }
.nav { margin-left: auto; }
.authnav { display: flex; align-items: center; gap: 8px; }
.auth-btn {
  padding: 9px 14px; border-radius: 11px; font-weight: 700; font-size: 14.5px; color: var(--text);
  border: 1px solid var(--line); white-space: nowrap;
}
.auth-btn:hover { border-color: var(--accent); }
.auth-btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.auth-btn.gold { color: var(--gold); border-color: rgba(245, 197, 66, .5); background: rgba(245, 197, 66, .08); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #04150d;
  background: linear-gradient(135deg, #3ddc97, #6ea8ff);
}
.avatar.big { width: 64px; height: 64px; font-size: 26px; margin: 0 auto 8px; }
.lvl { font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 4px 9px; border-radius: 7px; background: var(--card-2); color: var(--muted); }
.lvl.premium { background: linear-gradient(135deg, #f7d264, #e0a722); color: #2a1d00; }
.lvl.uye { background: rgba(61, 220, 151, .15); color: var(--accent); }

/* giriş / kayıt / hesap */
.auth-wrap { display: grid; place-items: center; padding: 40px 0 10px; }
.auth-card {
  width: 100%; max-width: 420px; text-align: center; padding: 28px 26px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(61, 220, 151, .08), transparent 50%), var(--card); border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.auth-card h1 { margin: 10px 0 4px; font-size: 24px; }
.auth-card .brand-mark.big { width: 52px; height: 52px; margin: 0 auto; display: grid; }
.auth-card .brand-mark.big svg { width: 28px; height: 28px; }
.auth-card form { display: grid; gap: 12px; margin-top: 18px; text-align: left; }
.auth-card label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.auth-card input {
  font: inherit; font-size: 15px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px;
}
.auth-card input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61, 220, 151, .18); }
.auth-card .btn { padding: 12px; margin-top: 4px; }
.auth-card > .btn { margin-top: 12px; }
.form-err { margin: 0; min-height: 18px; color: var(--bad); font-size: 13px; }
.auth-switch { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.auth-switch a { color: var(--accent); font-weight: 700; }
.perks { list-style: none; padding: 14px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); text-align: left; display: grid; gap: 6px; font-size: 13.5px; }

/* premium sayfası */
.hero.center { text-align: center; }
.prem-proof { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 18px; }
.prem-proof div { text-align: center; padding: 10px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.prem-proof b { display: block; font-size: 24px; color: var(--accent); }
.prem-proof span { font-size: 12px; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 330px)); justify-content: center; gap: 18px; margin-bottom: 18px; }
.plan { position: relative; padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.plan h3 { margin: 0; font-size: 18px; }
.price b { font-size: 36px; letter-spacing: -.03em; }
.price span { color: var(--muted); margin-left: 4px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; flex: 1; }
.plan li.no { color: var(--muted); opacity: .6; }
.featured-plan {
  border-color: rgba(245, 197, 66, .55);
  background: linear-gradient(160deg, rgba(245, 197, 66, .12), transparent 55%), var(--card);
  box-shadow: 0 20px 50px rgba(245, 197, 66, .08);
}
.featured-plan .price b { color: var(--gold); }
.plan-badge {
  position: absolute; top: -11px; right: 18px; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(135deg, #f7d264, #e0a722); color: #2a1d00;
}
.plan-current { text-align: center; font-weight: 700; color: var(--accent); padding: 10px; border: 1px dashed var(--line); border-radius: 11px; }
.plan-current.gold { color: var(--gold); }

@media (max-width: 760px) {
  .authnav .auth-btn { padding: 7px 10px; font-size: 13px; }
  .authnav .auth-btn:not(.primary):not(.gold) { display: none; }
  .avatar { width: 34px; height: 34px; }
  .plans { grid-template-columns: 1fr; }
  .brand-name { display: none !important; }
  .veil-cta h2 { font-size: 19px; }
}
.avatar.prem { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold); }
@media (max-width: 760px) {
  .topbar-in { gap: 8px; }
  .nav { gap: 3px; }
  .nav a.nv { padding: 7px 7px; }
  .authnav { gap: 6px; }
  .authnav .lvl, .authnav .auth-btn.gold { display: none; }
}

/* =================== Hologram mühür =================== */
.foot-row { display: flex; align-items: center; gap: 28px; }
.foot-text { flex: 1; min-width: 0; }
.seal {
  position: relative; flex: 0 0 auto; width: 118px; height: 118px; border-radius: 50%; overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 10px 30px rgba(0, 0, 0, .45), 0 0 26px rgba(160, 200, 255, .18);
  transform: rotate(-8deg);
}
/* sim folyo: gökkuşağı yanardöner zemin, yavaşça renk kayar */
.seal-foil {
  position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .55), transparent 35%),
    conic-gradient(from 0deg, #b8ffe6, #9fd2ff, #d9b8ff, #ffc2d6, #fff0b3, #b8ffe6, #9fd2ff, #d9b8ff, #ffc2d6, #fff0b3, #b8ffe6);
  animation: seal-turn 12s linear infinite, seal-hue 6s ease-in-out infinite alternate;
}
/* kırınım çizgileri: gerçek hologram dokusu */
.seal-lines {
  position: absolute; inset: 0; mix-blend-mode: overlay; opacity: .7;
  background:
    repeating-conic-gradient(rgba(255, 255, 255, .35) 0 2deg, rgba(0, 0, 0, .12) 2deg 4deg),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .18) 0 1px, transparent 1px 4px);
}
/* üzerinden geçen ışık */
.seal-shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .85) 48%, transparent 62%);
  background-size: 300% 100%; mix-blend-mode: soft-light;
  animation: seal-shine 4.5s ease-in-out infinite;
}
.seal-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-ring { font: 800 8.6px Inter, sans-serif; letter-spacing: .1em; fill: rgba(20, 30, 45, .78); }
.seal-logo { stroke: rgba(20, 30, 45, .82); fill: rgba(20, 30, 45, .82); }
@keyframes seal-turn { to { transform: rotate(360deg); } }
@keyframes seal-hue { to { filter: hue-rotate(70deg) saturate(1.3); } }
@keyframes seal-shine { 0% { background-position: 120% 0; } 55%, 100% { background-position: -80% 0; } }
.seal:hover .seal-foil { animation-duration: 4s, 2s; }
@media (prefers-reduced-motion: reduce) { .seal-foil, .seal-shine { animation: none; } }
@media (max-width: 760px) {
  .foot-row { flex-direction: column-reverse; align-items: center; text-align: center; gap: 18px; }
  .seal { width: 100px; height: 100px; }
}

/* Sabit hologram mühür: her sayfada sağ alt köşede (eski yazı filigranının yerine) */
.holo {
  left: auto; right: 18px; bottom: 18px; transform: none; opacity: .92; z-index: 30;
  background: none; animation: none; color: inherit; -webkit-background-clip: border-box; background-clip: border-box;
  font-size: inherit; display: block;
}
.holo .seal { width: 76px; height: 76px; transform: rotate(-8deg); }
.holo .seal-ring { font-size: 9px; }
@media (max-width: 760px) {
  .holo { right: 10px; bottom: 10px; }
  .holo .seal { width: 58px; height: 58px; }
}

/* =================== Filigran deseni (Binance tarzı) =================== */
/* Arka planın en üst katmanı: desen sayfayla kayar, renkli ışıklar sabit kalır. Kartlar ve yazılar üstünde. */
body {
  background:
    var(--wm, none) 0 0 / 300px 180px repeat scroll,
    radial-gradient(900px 520px at 8% -8%, rgba(61, 220, 151, .10), transparent 60%) fixed,
    radial-gradient(800px 480px at 96% 4%, rgba(255, 90, 82, .07), transparent 60%) fixed,
    radial-gradient(1200px 700px at 50% 120%, rgba(110, 140, 255, .06), transparent 60%) fixed,
    var(--bg);
}

/* =================== Golradar: radar animasyonu =================== */
.radar { width: 100%; height: auto; display: block; max-width: 190px; margin: 0 auto; filter: drop-shadow(0 0 22px rgba(61, 220, 151, .25)); }
.radar .sweep { transform-origin: 100px 100px; animation: radar-spin 3.2s linear infinite; }
.radar .blip { fill: #3ddc97; opacity: 0; animation: blip 3.2s ease-out infinite; }
.radar .b1 { animation-delay: .35s; fill: #4fe36f; }
.radar .b2 { animation-delay: 1.85s; fill: #f5c542; }
.radar .b3 { animation-delay: 1.25s; fill: #3ddc97; }
.radar .b4 { animation-delay: 2.6s; fill: #ff6b6b; }
@keyframes radar-spin { to { transform: rotate(360deg); } }
@keyframes blip { 0% { opacity: 1; r: 6; } 70% { opacity: .15; } 100% { opacity: 0; } }
.seal-logo { color: rgba(20, 30, 45, .82); }
@media (prefers-reduced-motion: reduce) { .radar .sweep, .radar .blip { animation: none; } .radar .blip { opacity: .8; } }

/* =================== Sol panel: büyük, bayraklı, renkli puan durumu =================== */
.home { grid-template-columns: 300px minmax(0, 1fr) 300px; }
.flag { width: 26px; height: 17px; border-radius: 3px; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 2px 6px rgba(0, 0, 0, .35); }
.flag.sm { width: 20px; height: 13px; vertical-align: -2px; margin-right: 4px; }
.league-head .flag { width: 22px; height: 15px; }
.mh-meta .flag, .fx-top .flag { width: 22px; height: 15px; vertical-align: -3px; }

.lgrow { font-size: 15.5px; font-weight: 600; padding: 10px; gap: 12px; position: relative; }
.lgrow::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--lc); opacity: 0; transition: opacity .15s;
}
.lgrow:hover::before, .lgrow.on::before { opacity: 1; }
.lgrow.on { background: color-mix(in srgb, var(--lc) 16%, transparent); }
.lgrow em { font-size: 12.5px; background: var(--card-2); padding: 2px 8px; border-radius: 999px; }

.table-widget h3 { display: flex; align-items: center; gap: 4px; }
.table-widget { border-top: 3px solid var(--lc); }
.mini-tabs { grid-template-columns: repeat(6, 1fr); margin: 0 0 10px; }
.mini-tabs button { padding: 6px 0; display: grid; place-items: center; border-radius: 8px; }
.mini-tabs button .flag { width: 24px; height: 16px; }
.mini-tabs button.on { background: color-mix(in srgb, var(--lc) 28%, transparent); border-color: var(--lc); }
.mini-table th { font-size: 10.5px; color: var(--muted); font-weight: 700; padding: 0 2px 6px; text-align: center; text-transform: uppercase; }
.mini-table th.tl { text-align: left; }
.mini-table td { padding: 6px 3px; font-size: 13px; }
.mini-table td.pos { position: relative; font-weight: 700; color: var(--text); width: 26px; }
.mini-table .tl a { display: flex; align-items: center; gap: 7px; min-width: 0; }
.mini-table .tl a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-table .tl .crest { width: 18px; height: 18px; font-size: 8px; }
.mini-table .tl { max-width: 150px; }
.mini-table b { font-size: 14px; }
.pos-gd { color: #3ddc97 !important; }
.neg-gd { color: #ef6b63 !important; }
/* bölge renkleri: sıra numarasının solunda şerit + hafif zemin */
.mini-table tr[class^="z-"] td.pos::before {
  content: ""; position: absolute; left: -4px; top: 5px; bottom: 5px; width: 3px; border-radius: 3px; background: var(--zc);
}
.mini-table tr[class^="z-"] td { background: color-mix(in srgb, var(--zc) 7%, transparent); }
.z-cl { --zc: #3d8bff; }
.z-el { --zc: #ff8a3d; }
.z-ecl { --zc: #3ddc97; }
.z-po { --zc: #f5c542; }
.z-rel { --zc: #ef4b4b; }
.zone-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; font-size: 11px; color: var(--muted); }
.zone-legend span { display: inline-flex; align-items: center; gap: 5px; }
.zone-legend span::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--zc); }
.side-l { max-height: none; position: static; }
@media (max-width: 1180px) { .home { grid-template-columns: minmax(0, 1fr) 290px; } }
@media (max-width: 900px) { .home { grid-template-columns: minmax(0, 1fr); } }
