@layer base, theme;
@layer base {
/* DenizAksoy topluluk sitesi: tüm görünüm. Önce telefon, sonra geniş ekran. Tek tema: koyu zemin, yeşil vurgu. */
:root {
  --bg: #080d0b; --panel: #101814; --panel2: #17221d; --line: #24332c;
  --ink: #eaf3ee; --mute: #a3b7ad;
  --go: #34e18f; --go-ink: #04140c; --coin: #f4c64f; --live: #ff5466; --sky: #5fd0f7;
  --display: "Outfit", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 16px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --ease: cubic-bezier(.2, .7, .2, 1); --t: .14s; --top: calc(56px + env(safe-area-inset-top, 0px)); --tab: 62px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; }
html.lock, html.lock body { overflow: hidden; }
body {
  background: var(--bg); color: var(--ink); font: 15px/1.5 var(--body);
  -webkit-font-smoothing: antialiased; min-height: 100vh; min-height: 100dvh;
  padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom) + 8px);
  background-image: radial-gradient(900px 420px at 85% -120px, rgba(52, 225, 143, .09), transparent 70%);
  background-repeat: no-repeat;
}
button, input, select, textarea { font: inherit; color: inherit; }
input, textarea, select { font-size: 16px; } /* iPhone'da yazarken ekran yakınlaşmasın */
button, a, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--go); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(30px, 8.4vw, 50px); letter-spacing: -.02em; line-height: 1; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.mute { color: var(--mute); } .go { color: var(--go); } .gold { color: var(--coin); } .bad { color: var(--live); }
.sm { font-size: 13px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--go); color: var(--go-ink); padding: 8px 12px; border-radius: 0 0 8px 0; font-weight: 700; }
.skip:focus { left: 0; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- üst çubuk ---------- */
.top {
  position: sticky; top: 0; z-index: 30; height: var(--top); display: flex; align-items: center; gap: 10px; padding: 0 14px;
  background: rgba(8, 13, 11, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; min-width: 0; }
.logo img { width: 28px; height: 32px; object-fit: contain; flex: none; }
.logo b { font: 700 19px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.logo b span { color: var(--go); }
.nav-d { display: none; }
.bal {
  display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 9px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--panel); text-decoration: none; font-weight: 700; transition: border-color .3s, box-shadow .3s;
}
.bal.up { border-color: var(--go); box-shadow: 0 0 0 4px rgba(52, 225, 143, .18); }
.dot { width: 17px; height: 19px; background: url(/img/coin-s.webp) center/contain no-repeat; flex: none; display: inline-block; }
.ava { width: 36px; height: 36px; border-radius: 50%; background: var(--panel2); border: 1px solid var(--go); display: grid; place-items: center; font-weight: 700; text-decoration: none; flex: none; text-transform: uppercase; }
@media (max-width: 359px) { .logo b { font-size: 16px; } .logo b span { display: none; } }

/* ---------- canlı ve kelime şeridi ---------- */
.strip { position: sticky; top: var(--top); z-index: 29; }
.strip > div {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 14px; font-weight: 600;
  border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.strip p { flex: 1; min-width: 0; }
.strip .s-live { background: rgba(60, 14, 22, .92); border-color: rgba(255, 84, 102, .45); }
.strip .s-kw { background: rgba(52, 40, 6, .94); border-color: rgba(244, 198, 79, .55); }
.strip .s-ok { background: rgba(8, 44, 28, .94); border-color: rgba(52, 225, 143, .5); }
.strip b.num { color: var(--coin); font-size: 15px; }
.pd { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; animation: pulse 1.6s ease-in-out infinite; }
.s-kw .pd { background: var(--coin); animation-duration: .8s; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.8); } }

/* ---------- sayfa iskeleti ---------- */
main { max-width: 1120px; margin: 0 auto; padding: 16px 14px 28px; display: flex; flex-direction: column; gap: 26px; min-width: 0; outline: none; }
main > * { animation: rise .32s cubic-bezier(.2, .7, .2, 1) both; }
main > *:nth-child(2) { animation-delay: .04s; } main > *:nth-child(3) { animation-delay: .08s; }
main > *:nth-child(4) { animation-delay: .12s; } main > *:nth-child(n+5) { animation-delay: .16s; }
main.still > * { animation: none; }
/* Başlangıç neredeyse opak: animasyon bir nedenle takılırsa (arka plandaki sekme vb.) içerik yine rahat okunur. */
@keyframes rise { from { opacity: .85; transform: translateY(10px); } }
.sec { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sec > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.sec > header p { color: var(--mute); font-size: 14px; margin-top: 4px; }
.more { font-size: 14px; font-weight: 600; color: var(--go); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.more svg { width: 15px; height: 15px; }
.grid { display: grid; gap: 12px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row.nw { flex-wrap: nowrap; }
.sp { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }

/* ---------- ortak parçalar ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 1px solid var(--line);
  background: var(--panel2); border-radius: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .08s, border-color .15s, filter .15s;
}
.btn:hover { border-color: var(--mute); }
.btn:active { transform: scale(.97); }
.btn.pri { background: var(--go); border-color: var(--go); color: var(--go-ink); font-weight: 700; box-shadow: 0 10px 24px -14px rgba(52, 225, 143, .9); }
.btn.pri:hover { filter: brightness(1.08); }
.btn.kick { background: #53fc18; border-color: #53fc18; color: #051402; font-weight: 700; }
.btn.gold { background: var(--coin); border-color: var(--coin); color: #3a2a00; font-weight: 700; }
.btn.sm { min-height: 38px; padding: 0 13px; font-size: 14px; border-radius: 12px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn svg.i { width: 17px; height: 17px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; background: var(--panel2); color: var(--mute); white-space: nowrap; align-self: flex-start; }
.tag.live { background: var(--live); color: #fff; } .tag.live .pd { background: #fff; }
.tag.g { background: rgba(52, 225, 143, .16); color: var(--go); }
.tag.c { background: rgba(244, 198, 79, .16); color: var(--coin); }
.tag b { color: var(--ink); letter-spacing: .02em; }
.chip { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 12px; background: var(--panel2); color: var(--mute); white-space: nowrap; align-self: flex-start; }
.chip.k-spo { background: rgba(244, 198, 79, .16); color: var(--coin); } .chip.k-fs { background: rgba(95, 208, 247, .14); color: var(--sky); }
.chip.k-den { background: rgba(52, 225, 143, .14); color: var(--go); } .chip.k-sans { background: rgba(255, 84, 102, .14); color: #ff8a96; }
.chip.ok { background: rgba(52, 225, 143, .14); color: var(--go); } .chip.wait { background: rgba(244, 198, 79, .16); color: var(--coin); } .chip.no { background: rgba(255, 84, 102, .14); color: #ff8a96; }
.price { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.bar { height: 8px; border-radius: 4px; background: var(--panel2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--go); border-radius: 4px; transition: width .5s ease; }
.bar.gold i { background: var(--coin); }
.inp { width: 100%; min-width: 0; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.inp:focus { border-color: var(--go); outline: none; }
.inp::placeholder { color: #6f837a; }
.inp.code { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.inp.code::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }
.lab { display: block; font-size: 13px; font-weight: 600; color: var(--mute); margin-bottom: 6px; }
.empty { border: 1px dashed var(--line); border-radius: 16px; padding: 22px 16px; color: var(--mute); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty img { height: 92px; width: auto; }
.note { font-size: 13px; color: var(--mute); padding: 10px 12px; border: 1px dashed var(--line); border-radius: 12px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .tabs a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 15px; border-radius: 20px; border: 1px solid var(--line); background: none; font-weight: 600; color: var(--mute); text-decoration: none; }
.tabs .on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tabs .n { font-weight: 500; opacity: .6; }
.hs { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 14px; margin: 0 -14px; padding: 0 14px 4px; scrollbar-width: none; }
.hs::-webkit-scrollbar { display: none; }
.hs > * { flex: 0 0 min(72%, 250px); scroll-snap-align: start; }
.hs.sm > * { flex-basis: min(46%, 190px); }

/* ---------- karşılama ---------- */
.hero {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; min-height: 300px; padding: 18px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px;
  background: linear-gradient(90deg, rgba(8, 13, 11, .97) 0%, rgba(8, 13, 11, .86) 48%, rgba(8, 13, 11, .5) 100%), url(/img/hero.webp) 72% center/cover no-repeat;
}
.hero > * { position: relative; z-index: 1; }
.hero .hero-me { position: absolute; z-index: 0; right: -7%; top: 4px; width: 56%; height: auto; pointer-events: none; -webkit-mask-image: linear-gradient(#000 58%, transparent 96%); mask-image: linear-gradient(#000 58%, transparent 96%); }
.hero h1 { max-width: 62%; }
.hero h1 span { color: var(--go); }
.hero p { color: var(--mute); max-width: 34ch; text-shadow: 0 1px 8px rgba(8, 13, 11, .9); }
.hero .row { width: 100%; }
.hero .btn { flex: 1 1 auto; }
.hero .perk { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 13px; color: var(--mute); }
.hero .perk span { display: inline-flex; align-items: center; gap: 5px; }
.hero .perk svg { width: 15px; height: 15px; color: var(--go); }

/* giriş yapmış üyenin özet kartı */
.panel { gap: 14px; background: linear-gradient(140deg, rgba(52, 225, 143, .1), transparent 46%), var(--panel); }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.who img { height: 48px; width: auto; flex: none; }
.who span { display: flex; flex-direction: column; min-width: 0; }
.who b { font: 700 18px/1.15 var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who small { color: var(--mute); font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); min-width: 0; text-decoration: none; }
a.stat:hover { border-color: var(--go); }
.stat small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.stat > b { font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; } /* uzun ürün adı kesilmez, iki satıra iner */
.stat .big { font: 800 28px/1 var(--display); }
.stat.w2 { grid-column: span 2; }

/* üç adım */
.steps { display: grid; gap: 10px; grid-template-columns: 1fr; counter-reset: st; }
.step { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; counter-increment: st; text-decoration: none; }
.step img { height: 84px; width: auto; flex: none; margin: -6px 0 -14px; -webkit-mask-image: linear-gradient(#000 76%, transparent); mask-image: linear-gradient(#000 76%, transparent); }
.step div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.step small { font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--go); }
.step small::before { content: "Adım " counter(st); }
.step b { font: 700 17px/1.15 var(--display); }
.step span { font-size: 14px; color: var(--mute); }

/* kazanma satırları */
.earn { display: flex; flex-direction: column; }
.earn > div, .earn > a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.earn > :last-child { border-bottom: 0; padding-bottom: 0; }
.earn > :first-child { padding-top: 0; }
.earn img { width: 44px; height: 44px; object-fit: contain; }
.earn div > b { display: block; font-weight: 700; }
.earn span b { font-weight: 700; }
.earn span { font-size: 13px; color: var(--mute); }
.earn .amt { font: 700 16px/1 var(--display); color: var(--coin); white-space: nowrap; text-align: right; }
.earn .amt small { display: block; font: 500 12px/1.3 var(--body); color: var(--mute); margin-top: 3px; }
.earn .done .amt { color: var(--go); }
.now.on { border-color: rgba(255, 84, 102, .5); background: linear-gradient(180deg, rgba(255, 84, 102, .1), transparent 40%), var(--panel); }

/* günün ödülü */
.cash { position: relative; overflow: hidden; border-color: rgba(244, 198, 79, .45); background: radial-gradient(120% 120% at 100% 0%, rgba(244, 198, 79, .22), transparent 60%), var(--panel); padding-right: 124px; min-height: 132px; justify-content: center; }
.cash > img { position: absolute; right: -8px; bottom: -8px; width: 124px; height: auto; pointer-events: none; }
.cash .amount { font: 800 34px/1 var(--display); color: var(--coin); }
.cash .amount small { font: 600 14px/1 var(--body); color: var(--ink); margin-left: 6px; }

/* ---------- yayın ---------- */
.player { position: relative; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #000; aspect-ratio: 16/9; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.offline { aspect-ratio: auto; min-height: 230px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px;
  background: linear-gradient(180deg, rgba(8, 13, 11, .3), rgba(8, 13, 11, .96) 78%), url(/img/hero.webp) center/cover no-repeat; }
.offline .cd { font: 800 clamp(34px, 11vw, 54px)/1 var(--display); letter-spacing: .01em; }
.kwc { border-color: rgba(244, 198, 79, .4); }
.kwc.on { border-color: var(--coin); box-shadow: 0 0 0 4px rgba(244, 198, 79, .14); background: linear-gradient(160deg, rgba(244, 198, 79, .16), transparent 55%), var(--panel); }
.kwc.hit { border-color: var(--go); box-shadow: 0 0 0 4px rgba(52, 225, 143, .14); }
.kwc .cdl { font: 800 46px/1 var(--display); color: var(--coin); }
.how3 { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: h; }
.how3 li { counter-increment: h; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--mute); }
.how3 li::before { content: counter(h); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(52, 225, 143, .16); color: var(--go); font: 700 13px/1 var(--display); }
.how3 b { color: var(--ink); }

/* ---------- mağaza ---------- */
.banner { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; padding: 18px; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  background-color: var(--panel); background-size: cover; background-position: center; }
.banner p { color: var(--mute); max-width: 40ch; }
.prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prod { padding: 12px; gap: 8px; text-align: left; transition: transform .18s, border-color .18s; }
.thumb { aspect-ratio: 1.25; /* görsel de 5:4 */ border-radius: 12px; background: var(--panel2) center/cover no-repeat; position: relative; overflow: hidden; }
.thumb .out { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 13, 11, .72); font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; }
.prod > b { line-height: 1.25; font-size: 15px; }
.prod .hint { font-size: 13px; color: var(--mute); min-height: 1.5em; }
.prod .btn { margin-top: auto; }
.raffle { padding: 0; overflow: hidden; gap: 0; }
.raffle > img { width: 100%; aspect-ratio: 16/8; object-fit: cover; display: block; background: var(--panel2); }
.raffle > div { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.raffle .prize { font: 800 38px/1 var(--display); color: var(--coin); }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.kv div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); min-width: 0; }
.kv dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.kv dd { margin: 2px 0 0; font-weight: 700; white-space: nowrap; }
.qty { display: grid; grid-template-columns: 50px 1fr 50px; gap: 8px; align-items: center; }
.qty input { text-align: center; font: 700 20px/1 var(--display); }
.qty button { min-height: 46px; padding: 0; font-size: 22px; }

/* ---------- sponsorlar ---------- */
.spo-main { position: relative; overflow: hidden; border: 1px solid rgba(var(--c), .5); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  background: radial-gradient(90% 130% at 92% 0%, rgba(var(--c), .46), rgba(var(--c), 0) 62%), linear-gradient(165deg, rgba(var(--c), .2), rgba(var(--c), 0) 60%), var(--panel); }
.spo-main .masc { position: absolute; right: -4px; top: 46px; height: 150px; width: auto; pointer-events: none; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.spo-main .lg { height: 40px; width: auto; max-width: 55%; object-fit: contain; object-position: left center; }
.spo-main .bonus { font: 800 clamp(34px, 10vw, 48px)/1 var(--display); color: var(--coin); }
.spo-main > * { position: relative; }
.spos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.spo { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 14px 12px 12px; border-radius: 16px; border: 1px solid rgba(var(--c), .26); overflow: hidden; text-decoration: none;
  background: radial-gradient(130% 85% at 50% -15%, rgba(var(--c), .32), rgba(var(--c), .09) 52%, rgba(var(--c), 0) 78%), var(--panel); transition: transform .15s, border-color .15s, box-shadow .15s; }
.spo::before { content: ""; position: absolute; left: 20%; right: 20%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgb(var(--c)), transparent); }
.spo .lg { display: flex; align-items: center; justify-content: center; height: 38px; margin: 2px 0 10px; }
.spo .lg img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); }
.spo > b { font: 700 clamp(18px, 5.4vw, 22px)/1.05 var(--display); color: var(--coin); }
.spo .t { font-size: 13px; line-height: 1.3; color: var(--mute); margin-top: 4px; min-height: 2.6em; }
.spo .cta { margin-top: 10px; display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; }
.spo .cta svg { width: 15px; height: 15px; transition: transform .15s; }
.spo.off { opacity: .62; } .spo.off .cta { color: var(--mute); font-weight: 600; }
.spo.w2 { grid-column: span 2; }

/* ---------- hesabım ---------- */
.prof { flex-direction: row; align-items: center; gap: 14px; background: linear-gradient(140deg, rgba(52, 225, 143, .1), transparent 50%), var(--panel); }
.prof > img { height: 86px; width: auto; flex: none; }
.prof h2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.streak { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.streak div { padding: 9px 2px; border: 1px solid var(--line); border-radius: 12px; text-align: center; font-size: 12px; color: var(--mute); background: var(--bg); min-width: 0; }
.streak b { display: block; font: 700 clamp(13px, 4vw, 17px)/1.1 var(--display); color: var(--ink); }
.streak .done { border-color: var(--go); background: rgba(52, 225, 143, .1); } .streak .done b { color: var(--go); }
.streak .next { border-color: var(--coin); } .streak .next b { color: var(--coin); }
.list { display: flex; flex-direction: column; }
.list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.list > div:last-child { border-bottom: 0; padding-bottom: 0; } .list > div:first-child { padding-top: 0; }
.list .grow b { display: block; overflow-wrap: anywhere; }
.list .grow span { font-size: 13px; color: var(--mute); }
.link-ok { display: inline-flex; align-items: center; gap: 5px; color: var(--go); font-weight: 600; font-size: 14px; white-space: nowrap; }
.link-ok svg { width: 16px; height: 16px; }
.login { align-items: center; text-align: center; padding: 22px 18px; }
.login > img { height: 150px; width: auto; }
.login ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; text-align: left; align-self: stretch; }
.login li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.login li svg { color: var(--go); width: 18px; height: 18px; margin-top: 2px; }

/* ---------- nasıl kazanırım ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); text-align: left; padding: 0 8px 8px 0; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:last-child, .tbl th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.tbl td small { display: block; color: var(--mute); font-size: 13px; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
details:last-child { border-bottom: 0; padding-bottom: 0; } details:first-of-type { padding-top: 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--go); font: 700 20px/1 var(--display); }
details[open] summary::after { content: "–"; }
details p { color: var(--mute); margin-top: 8px; font-size: 14px; }
.rules { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--mute); font-size: 14px; }
.rules b { color: var(--ink); }

/* ---------- alt bilgi ---------- */
footer { max-width: 1120px; margin: 0 auto; padding: 18px 14px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--mute); }
footer .row { gap: 4px 16px; }
footer a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 4px 0; }
footer .age { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--live); color: var(--live); font: 800 12px/1 var(--display); flex: none; }

/* ---------- alt menü (telefon) ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
  background: rgba(10, 15, 13, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px 6px; border-radius: 12px; font-size: 12px; font-weight: 600; color: var(--mute); text-decoration: none; transition: background .18s, color .18s; }
.tabbar a.on { background: var(--panel2); color: var(--ink); }
.tabbar a.on svg { color: var(--go); }
.tabbar svg { width: 22px; height: 22px; }
/* Ortadaki Sponsorlar düğmesi: çubuğun üstüne taşan yeşil daire. */
.tabbar a.mid { color: var(--ink); font-weight: 700; }
.tabbar a.mid, .tabbar a.mid.on { background: none; }
.tabbar a.mid svg, .tabbar a.mid.on svg {
  box-sizing: content-box; width: 26px; height: 26px; padding: 12px; margin-top: -30px; border-radius: 50%;
  background: var(--go); color: var(--go-ink); stroke-width: 2;
  box-shadow: 0 0 0 5px rgba(10, 15, 13, .96), 0 10px 22px -6px rgba(52, 225, 143, .75); transition: transform .15s;
}
.tabbar a.mid:active svg { transform: scale(.94); }
.tabbar a.mid.on { color: var(--go); }
.tabbar .badge { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--live); color: #fff; font: 700 12px/16px var(--body); text-align: center; }
.tabbar .ld { position: absolute; top: 6px; left: calc(50% + 9px); width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 1.6s ease-in-out infinite; }

/* ---------- pencere ve bildirim ---------- */
.mod { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .68); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: min(100%, 460px); max-height: 90vh; max-height: 90dvh; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 20px 20px 0 0;
  padding: 18px 16px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; animation: up .22s ease-out; }
.sheet:focus { outline: none; }
.sheet > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet .x { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: none; display: grid; place-items: center; padding: 0; flex: none; }
.sheet.ctr { align-items: center; text-align: center; }
.sheet.ctr > img { height: 130px; width: auto; }
.sum { display: flex; gap: 12px; align-items: center; }
.sum .thumb { width: 84px; flex: none; aspect-ratio: 1; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; text-align: left; }
.chk.err { border-color: var(--live); }
.chk input { width: 22px; height: 22px; margin: 0; accent-color: var(--go); flex: none; }
@keyframes up { from { transform: translateY(20px); opacity: .9; } }
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab) + env(safe-area-inset-bottom) + 16px); z-index: 60; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 400px); pointer-events: none; }
html.lock .toasts { bottom: auto; top: 66px; }
.toast { padding: 12px 14px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px; box-shadow: 0 8px 28px rgba(0, 0, 0, .5); animation: up .2s ease-out; pointer-events: auto; cursor: pointer; }   /* dokununca kapanır (ui.js toast); dokunma arkadaki pencereye geçmez */
.toast.bad { background: var(--live); color: #fff; }
.toast.win { background: var(--go); color: var(--go-ink); }
.skel { border-radius: var(--r); background: linear-gradient(90deg, var(--panel) 25%, var(--panel2) 50%, var(--panel) 75%); background-size: 200% 100%; animation: sk 1.2s linear infinite; min-height: 120px; }
.skel.tall { min-height: 300px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- geniş ekran ---------- */
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; align-items: flex-start; padding: 16px; }
  .step img { height: 110px; margin: -4px 0 -8px; }
  .prods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat.w2 { grid-column: span 1; }
  .mod { align-items: center; }
  .sheet { border-radius: 20px; }
  .hero { min-height: 340px; padding: 28px; }
  .hero .hero-me { right: 2%; top: auto; bottom: 0; width: auto; height: 104%; -webkit-mask-image: none; mask-image: none; }
  .hero h1 { max-width: 9em; }
  .hero .row { width: auto; }
  .hero .btn { flex: none; }
  .spo-main { padding: 26px; }
  .spo-main .masc { height: 230px; top: auto; bottom: -10px; right: 20px; }
  .cash { padding-right: 170px; } .cash > img { width: 170px; }
  h2 { font-size: 26px; }
}
@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .top { padding: 0 max(20px, calc((100% - 1120px) / 2)); height: 64px; --top: 64px; }   /* % (100vw değil): kaydırma çubuğu olan ekranlarda da içerikle aynı hizada */
  :root { --top: 64px; }
  .logo { margin-right: 18px; }
  .logo b { font-size: 22px; }
  .nav-d { display: flex; gap: 2px; margin-right: auto; }
  .nav-d a { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--mute); }
  .nav-d a:hover { color: var(--ink); background: var(--panel); }
  .nav-d a.on { color: var(--ink); background: var(--panel2); }
  .nav-d a.on svg { color: var(--go); }
  .nav-d svg { width: 18px; height: 18px; }
  .nav-d .ld { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 1.6s ease-in-out infinite; }
  main { padding: 24px 20px 40px; gap: 34px; }
  footer { padding: 22px 20px 30px; }
  .strip > div { padding: 9px max(20px, calc((100% - 1120px) / 2)); }
  .prods { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .spos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .toasts { bottom: 24px; }
  /* Yayın sayfası: solda oynatıcı (kaydırırken yerinde kalır), sağda kazanma kartları. */
  .two { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: start; }
  .two > .player { position: sticky; top: calc(var(--top) + 60px); }
  .tabs { margin: 0; padding: 0; }
  .hs { margin: 0; padding: 0 0 4px; overflow: visible; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hs > *, .hs.sm > * { flex-basis: auto; }
  @media (hover: hover) {
    .prod:hover, a.spo:hover, a.step:hover { transform: translateY(-3px); border-color: rgba(52, 225, 143, .4); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .9); }
    a.spo:hover { border-color: rgba(var(--c), .7); box-shadow: 0 12px 26px -16px rgba(var(--c), .9); }
    a.spo:hover .cta svg { transform: translateX(3px); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
/* Yönetim paneli ve listeler: boşluksuz uzun metin (üye notu, kayıt satırı, uzun ürün adı) sayfayı ya da pencereyi yana taşırmasın. */
.list .grow, .list .grow b, .list .grow span, .list > div > span, td, .sum .grow, .sum h3, .sheet p { overflow-wrap: anywhere; min-width: 0; }
}
