/* BALIKÇI HASAN (ADIM 190) — tasarım B "Göl kenarı — sabah sisi, iskele". Sahne (göl, Hasan, makaralar) tuvalde (PixiJS); bu dosya arayüz katmanını çizer.
   Yerleşim: arayuz.js her boyutta öğelerin yerini tasarım ölçüsünden hesaplar (yatay 1600×900, dik 540×960) ve --u (ana) / --uf (alt çubuk) birimini yazar.
   Bilgisayar · tablet · telefon (dik / yatay, 320 px'e kadar) · tam ekran. Emoji yok (yalnız SVG). */
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url(../fonts/Poppins-Medium.ttf) format('truetype'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url(../fonts/Poppins-Bold.ttf) format('truetype'); }

:root {
  --u: 1px; --uf: 1px;
  --koyu: #0b2f2a; --koyu2: #124a42; --yesil: #2f9a5a; --yesil2: #1d6e3e; --altin: #e9c86b; --altin2: #c99a34; --krem: #fff6d6; --kontur: #2a1a12;
  --kutu-bg: linear-gradient(180deg, #145247 0%, #0e3a33 55%, #0b2f2a 100%);
  --golge: 0 calc(var(--u) * 6) calc(var(--u) * 18) rgba(0, 18, 22, .45);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #8fc4d8; color: #fff; font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; overscroll-behavior: none; }
body { position: fixed; inset: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
button:disabled { cursor: default; }
button:focus-visible { outline: 3px solid #fff3b0; outline-offset: 2px; }
svg { display: block; }
[hidden] { display: none !important; }

#sahne { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }

/* ------------------------------------------------------------------ yükleniyor ekranı (marka altında) */
.yukle { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: radial-gradient(120% 80% at 70% 18%, rgba(255, 244, 205, .85) 0%, rgba(255, 244, 205, 0) 46%), linear-gradient(180deg, #8fc4d8 0%, #cfe6e2 48%, #5f9c94 66%, #12484e 100%);
  transition: opacity .45s ease; }
.yukle.gizle { opacity: 0; pointer-events: none; }
.yk-ic { width: min(460px, 92vw); text-align: center; }
.yk-levha { position: relative; display: inline-block; text-transform: uppercase; font-size: clamp(26px, 7.4vw, 44px); padding: .28em .9em .32em; margin-bottom: 14px; }
.yk-sahne { width: min(220px, 52vw); margin: 0 auto 10px; }
.yk-sahne svg { width: 100%; height: auto; overflow: visible; }
.yk-su { fill: #2f7f7a; opacity: .85; animation: ykSu 2.4s ease-in-out infinite alternate; }
.yk-olta { stroke: #8a5a2e; stroke-width: 5; stroke-linecap: round; fill: none; transform-origin: 18px 104px; animation: ykOlta 1.6s ease-in-out infinite alternate; }
.yk-misina { stroke: #fff; stroke-width: 1.6; fill: none; opacity: .85; animation: ykMis 1.6s ease-in-out infinite alternate; }
.yk-sam { fill: #e8261c; stroke: #fff; stroke-width: 2.5; animation: ykSam 1.1s ease-in-out infinite alternate; }
@keyframes ykSu { to { transform: translateX(-12px); } }
@keyframes ykOlta { from { transform: rotate(-2deg); } to { transform: rotate(3deg); } }
@keyframes ykMis { to { transform: translate(3px, 2px); } }
@keyframes ykSam { to { transform: translateY(4px); } }
.yk-cubuk { height: 14px; border-radius: 10px; background: rgba(6, 30, 32, .55); border: 2px solid rgba(255, 246, 214, .75); overflow: hidden; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .4); }
.yk-cubuk i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, #3fae5a, #9be36a); box-shadow: 0 0 10px rgba(155, 227, 106, .7); transition: width .25s ease; }
.yk-yazi { margin: 12px 0 0; font-size: 15px; color: #fff; text-shadow: 0 2px 4px rgba(0, 30, 30, .6); }
.yk-yazi b { color: var(--altin); }
.yk-marka { margin: 26px 0 0; font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 3px rgba(0, 30, 30, .7); }

/* ------------------------------------------------------------------ logo levhası (yazı; levhanın ahşabı tuvalde) */
.levha { color: #fff; white-space: nowrap; letter-spacing: .5px; line-height: 1; text-align: center;
  text-shadow: 0 2px 0 var(--kontur), 0 -2px 0 var(--kontur), 2px 0 0 var(--kontur), -2px 0 0 var(--kontur), 2px 2px 0 var(--kontur), -2px 2px 0 var(--kontur), 2px -2px 0 var(--kontur), -2px -2px 0 var(--kontur), 0 5px 6px rgba(0, 0, 0, .45); }
.levha .l1 { font-size: .74em; vertical-align: .1em; }
.levha .l2 { background: linear-gradient(180deg, #fff6c8 0%, #ffd76a 55%, #e8a21c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  filter: drop-shadow(0 2px 0 var(--kontur)) drop-shadow(0 -2px 0 var(--kontur)) drop-shadow(2px 0 0 var(--kontur)) drop-shadow(-2px 0 0 var(--kontur)) drop-shadow(0 4px 4px rgba(0, 0, 0, .4)); }
.yk-levha { background: linear-gradient(180deg, #b48a56 0%, #8a6234 55%, #6b4622 100%); border: 4px solid var(--kontur); border-radius: 22px; box-shadow: inset 0 4px 0 rgba(255, 255, 255, .22), 0 8px 18px rgba(0, 20, 24, .45); }

/* ------------------------------------------------------------------ uygulama katmanı: öğelerin yeri arayuz.js'ten (left / top / width / height) */
.uyg { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.uyg > *, .orta > *, .sag > * { pointer-events: auto; }
.orta { position: absolute; inset: 0; pointer-events: none; }
.orta > .sol, .orta > .izgara-alan { position: absolute; pointer-events: none; }   /* görünmez yer tutucular (Hasan alanı, 5×3 ızgara): DOM'daki yerleri sahnedekiyle aynı */
.yerli { position: absolute; }
#logo { position: absolute; display: flex; align-items: center; justify-content: center; gap: .28em; font-size: calc(var(--u) * 54); pointer-events: none; padding-bottom: calc(var(--u) * 4); text-transform: uppercase; }
body.dik #logo { font-size: calc(var(--u) * 38); }

.ust-sag { position: absolute; display: flex; gap: calc(var(--u) * 8); z-index: 5; }
.ikon { position: relative; width: calc(var(--u) * 40); height: calc(var(--u) * 40); min-width: 32px; min-height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(8, 40, 38, .55); border: 2px solid rgba(255, 246, 214, .55); box-shadow: 0 2px 8px rgba(0, 20, 24, .35); backdrop-filter: blur(3px); }
.ikon svg { width: 58%; height: 58%; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ikon .t-cik { display: none; } body.tam .ikon .t-gir { display: none; } body.tam .ikon .t-cik { display: block; }
.rozet { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e8261c; color: #fff; font-size: 11px; line-height: 18px; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }

/* ------------------------------------------------------------------ kutular (alt çubuk) */
.kutu { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--kutu-bg);
  border: calc(var(--uf) * 3) solid #d9b45a; border-radius: calc(var(--uf) * 14); box-shadow: inset 0 calc(var(--uf) * 3) 0 rgba(255, 255, 255, .12), inset 0 calc(var(--uf) * -6) calc(var(--uf) * 10) rgba(0, 0, 0, .25), var(--golge); }
.kutu small { font-size: max(9px, calc(var(--uf) * 15)); color: var(--altin); letter-spacing: .06em; line-height: 1.1; }
.kutu b { font-size: max(15px, calc(var(--uf) * 34)); line-height: 1.12; color: #fff; text-shadow: 0 2px 2px rgba(0, 0, 0, .45); font-variant-numeric: tabular-nums; white-space: nowrap; }
.k-kazanc b { color: var(--altin); }
.k-bahis { flex-direction: row; justify-content: space-between; padding: 0 calc(var(--uf) * 12); }
.k-bahis .kb-ic { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 0; }
.yuv { width: calc(var(--uf) * 54); height: calc(var(--uf) * 54); min-width: 26px; min-height: 26px; border-radius: calc(var(--uf) * 12); display: grid; place-items: center;
  background: linear-gradient(180deg, #4fc46e 0%, #2a9a4c 60%, #1f7a3c 100%); border: calc(var(--uf) * 3) solid #10301f; box-shadow: inset 0 calc(var(--uf) * 3) 0 rgba(255, 255, 255, .35), 0 3px 6px rgba(0, 0, 0, .35); }
.yuv svg { width: 62%; height: 62%; fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; }
.yuv:disabled { filter: grayscale(.8) brightness(.7); }
.yuv:active:not(:disabled) { transform: translateY(1px) scale(.96); }

.kare { position: absolute; display: grid; place-items: center; border-radius: calc(var(--uf) * 16); background: linear-gradient(180deg, #1c4f47 0%, #12403a 50%, #0c302b 100%);
  border: calc(var(--uf) * 3) solid rgba(4, 20, 18, .85); box-shadow: inset 0 calc(var(--uf) * 3) 0 rgba(255, 255, 255, .14), 0 4px 10px rgba(0, 20, 24, .4); }
.kare svg { width: 54%; height: 54%; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.kare.yazi b { font-size: max(11px, calc(var(--uf) * 22)); letter-spacing: .04em; color: #fff; }
.kare[aria-pressed="true"], .kare.acik { background: linear-gradient(180deg, #3aa866 0%, #23804a 100%); }
.kare:active { transform: translateY(1px) scale(.97); }
#btnSes .s-kapali { display: none; } #btnSes[aria-pressed="false"] .s-acik { display: none; } #btnSes[aria-pressed="false"] .s-kapali { display: block; }
#oto.dur b { color: #ffe08a; }

.cevir { position: absolute; border-radius: 50%; display: grid; place-items: center; z-index: 3;
  background: radial-gradient(circle at 38% 32%, #7cf0a4 0%, #3cc46e 34%, #1f9a50 62%, #137a3f 100%);
  border: calc(var(--uf) * 9) solid #e3ece6; box-shadow: 0 0 0 calc(var(--uf) * 4) #0d3a2c, 0 calc(var(--uf) * 10) calc(var(--uf) * 22) rgba(0, 24, 20, .5), inset 0 calc(var(--uf) * -8) calc(var(--uf) * 14) rgba(0, 60, 30, .45); transition: filter .2s; }
.cevir svg { width: 56%; height: 56%; fill: none; stroke: #fff; stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 2px rgba(0, 50, 20, .5)); }
.cevir .c-dur { display: none; }
body.oto .cevir .c-ok, body.bedava .cevir .c-ok { display: none; }
body.oto .cevir .c-dur { display: block; fill: #fff; stroke: none; }
body.donuyor:not(.oto):not(.bedava) .cevir .c-ok { animation: cevirDon .7s linear infinite; }
@keyframes cevirDon { to { transform: rotate(360deg); } }
.cevir:active:not(:disabled) { transform: scale(.96); }
body.kilit:not(.oto) .cevir { filter: saturate(.55) brightness(.9); }
#cevirSayi { position: absolute; font-size: max(12px, calc(var(--uf) * 30)); color: #fff; text-shadow: 0 2px 3px rgba(0, 40, 20, .7); }
body.bedava #cevirSayi, body.oto #cevirSayi { display: block; }
body.bedava .cevir .c-dur { display: none !important; }

/* ------------------------------------------------------------------ bedava dönüş paneli (yatay ekranda dikey sütun; dik ekranda yatay şerit) */
.fs-panel { position: absolute; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(13, 59, 53, .94) 0%, rgba(10, 44, 40, .96) 100%);
  border: calc(var(--u) * 3) solid #d9b45a; border-radius: calc(var(--u) * 16); padding: calc(var(--u) * 12) calc(var(--u) * 14); box-shadow: inset 0 calc(var(--u) * 3) 0 rgba(255, 255, 255, .1), var(--golge); }
.fs-bas { display: flex; flex-direction: column; align-items: center; }
.fs-bas small { font-size: max(9px, calc(var(--u) * 17)); color: var(--altin); letter-spacing: .05em; }
.fs-bas b { font-size: max(16px, calc(var(--u) * 50)); line-height: 1.05; color: #fff; text-shadow: 0 3px 0 var(--kontur), 0 4px 6px rgba(0, 0, 0, .4); }
.fs-ipucu { color: #cfe8e0 !important; font-weight: 500; font-size: max(8px, calc(var(--u) * 14)) !important; margin-top: calc(var(--u) * 2); }
body.bedava .fs-ipucu { display: none; }
.fs-sev { flex: 1; display: flex; flex-direction: column-reverse; gap: calc(var(--u) * 8); margin: calc(var(--u) * 10) 0; }
.sv { position: relative; flex: 1; display: flex; align-items: center; gap: calc(var(--u) * 10); padding: 0 calc(var(--u) * 12); border-radius: calc(var(--u) * 10);
  background: rgba(255, 255, 255, .06); border: calc(var(--u) * 2) solid rgba(255, 255, 255, .14); }
.sv > b { width: calc(var(--u) * 54); font-size: max(11px, calc(var(--u) * 26)); color: rgba(255, 255, 255, .62); text-align: center; }
.sv .rz { flex: 1; display: flex; justify-content: space-around; }
.sv .rz img { width: calc(var(--u) * 36); height: calc(var(--u) * 36); filter: grayscale(1) brightness(.75); opacity: .55; transition: filter .3s, opacity .3s, transform .3s; }
.sv .rz img.dolu { filter: none; opacity: 1; }
.sv .cb { display: none; }
.sv.aktif { background: linear-gradient(180deg, #4dbb6a 0%, #2c8a48 100%); border-color: #ffe08a; box-shadow: 0 0 calc(var(--u) * 14) rgba(255, 224, 138, .45); }
.sv.aktif > b { color: #fff; text-shadow: 0 2px 0 var(--kontur); }
.sv.gecti > b { color: #ffe08a; }
.sv.gecti .rz img { filter: none; opacity: .9; }
.sv.patla { animation: svPatla .7s ease-out; }
@keyframes svPatla { 0% { transform: scale(1); } 30% { transform: scale(1.12); box-shadow: 0 0 calc(var(--u) * 40) rgba(255, 236, 160, .95); } 100% { transform: scale(1); } }
.fs-alt { display: flex; flex-direction: column; align-items: center; gap: calc(var(--u) * 6); }
.fs-alt span { font-size: max(9px, calc(var(--u) * 17)); color: #fff; font-weight: 500; }
.fs-cubuk { display: block; width: 100%; height: calc(var(--u) * 10); min-height: 4px; border-radius: 10px; background: rgba(0, 0, 0, .45); overflow: hidden; }
.fs-cubuk u { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, #ffd76a, #ffb52e); transition: width .45s cubic-bezier(.2, .9, .3, 1.2); }
body:not(.bedava) .fs-panel .sv { opacity: .75; }

body.dik .fs-panel { flex-direction: row; align-items: stretch; padding: calc(var(--u) * 6); gap: calc(var(--u) * 6); border-radius: calc(var(--u) * 12); }
body.dik .fs-bas { justify-content: center; min-width: calc(var(--u) * 86); }
body.dik .fs-bas small { font-size: max(8px, calc(var(--u) * 13)); }
body.dik .fs-bas b { font-size: max(14px, calc(var(--u) * 30)); }
body.dik .fs-ipucu { display: none; }
body.dik .fs-sev { flex-direction: row; margin: 0; gap: calc(var(--u) * 6); }
body.dik .sv { flex-direction: column; justify-content: center; gap: calc(var(--u) * 4); padding: calc(var(--u) * 4); }
body.dik .sv > b { width: auto; font-size: max(10px, calc(var(--u) * 20)); }
body.dik .sv .rz { display: none; }
body.dik .sv .cb { display: block; width: 86%; height: calc(var(--u) * 7); min-height: 3px; border-radius: 6px; background: rgba(0, 0, 0, .45); overflow: hidden; }
body.dik .sv .cb u { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffd76a, #ffb52e); transition: width .45s; }
body.dik .fs-alt { display: none; }

.satin { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: calc(var(--u) * 16);
  background: linear-gradient(180deg, #59c27a 0%, #2f9a5a 45%, #1d6e3e 100%); border: calc(var(--u) * 3) solid #0d3a26;
  box-shadow: inset 0 calc(var(--u) * 3) 0 rgba(255, 255, 255, .35), inset 0 calc(var(--u) * -6) calc(var(--u) * 10) rgba(0, 40, 20, .35), 0 0 0 calc(var(--u) * 2) rgba(255, 246, 214, .55), var(--golge); }
.satin small { font-size: max(8px, calc(var(--u) * 17)); color: #fff; letter-spacing: .03em; text-shadow: 0 2px 0 rgba(10, 50, 25, .8); }
.satin b { font-size: max(13px, calc(var(--u) * 36)); line-height: 1.1; color: #fff; text-shadow: 0 2px 0 var(--kontur), 0 3px 5px rgba(0, 0, 0, .4); }
body.dik .satin { border-radius: calc(var(--uf) * 12); background: linear-gradient(180deg, #1f4e47 0%, #12403a 100%); border-color: rgba(4, 20, 18, .85); flex-direction: column; gap: 0; padding: 0 calc(var(--uf) * 6); min-height: 0; }   /* yükseklik yerleşimden (taşmasın) */
body.dik .satin small { font-size: max(8px, calc(var(--uf) * 12)); line-height: 1.05; white-space: nowrap; }
body.dik .satin b { font-size: max(10px, calc(var(--uf) * 17)); line-height: 1.05; white-space: nowrap; }
/* dik ekran alt çubuğu: kutular 162 birim genişlikte (yatayda 250–346) — yazı ve düğmeler ona göre küçülür; uzun tutarları oyun.js sığdırır */
body.dik .kutu small { font-size: max(8px, calc(var(--uf) * 12)); }
body.dik .kutu b { font-size: max(12px, calc(var(--uf) * 22)); }
body.dik .k-bahis { padding: 0 calc(var(--uf) * 5); gap: calc(var(--uf) * 3); }
body.dik .k-bahis b { font-size: max(11px, calc(var(--uf) * 19)); }
body.dik .yuv { width: calc(var(--uf) * 32); height: calc(var(--uf) * 32); min-width: 22px; min-height: 22px; flex: none; border-radius: calc(var(--uf) * 9); border-width: 2px; }
body.dik .kare.yazi b { font-size: max(10px, calc(var(--uf) * 17)); }
body.dik .kutu, body.dik .kare { border-width: 2px; }
.satin:disabled, body.kilit .satin, body.bedava .satin { filter: grayscale(.7) brightness(.8); }
.satin:active:not(:disabled) { transform: scale(.98); }

/* ------------------------------------------------------------------ uçan kazanç yazısı (çerçevenin altında) */
.kazanc-ucan { position: absolute; z-index: 4; transform: translate(-50%, -50%); font-size: calc(var(--u) * 52); color: #fff; white-space: nowrap; pointer-events: none;
  text-shadow: 0 3px 0 var(--kontur), 0 -2px 0 var(--kontur), 3px 0 0 var(--kontur), -3px 0 0 var(--kontur), 0 6px 10px rgba(0, 0, 0, .45); }
.kazanc-ucan.goster { animation: ucanGir .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes ucanGir { from { transform: translate(-50%, -30%) scale(.4); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

/* ekran okuyucuya açık, görünmez (oyun başlığı — görünen ad levhada) */
.gizli { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ------------------------------------------------------------------ büyük kazanç, afiş, pencere, bağlantı, bildirim */
.buyuk, .afis { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: radial-gradient(60% 50% at 50% 50%, rgba(5, 30, 30, .5), rgba(5, 25, 28, .78)); }
.by-ic, .af-ic { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 40px; text-align: center; animation: afGir .5s cubic-bezier(.2, 1.5, .4, 1); }
/* afiş: makaraların üstünde okunur dursun diye koyu yeşil levha + altın kenar (bedava dönüş paneliyle aynı dil) */
.af-ic { min-width: min(560px, 88vw); max-width: 94vw; padding: clamp(16px, 3.2vw, 30px) clamp(18px, 4.4vw, 52px) clamp(18px, 3.4vw, 32px); border-radius: clamp(14px, 2.4vw, 26px);
  background: radial-gradient(130% 110% at 50% 0%, rgba(30, 104, 86, .96) 0%, rgba(14, 62, 54, .96) 55%, rgba(8, 40, 36, .97) 100%);
  border: 3px solid #d9b45a; box-shadow: 0 0 0 4px rgba(0, 0, 0, .28), 0 22px 50px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .14), inset 0 -10px 30px rgba(0, 0, 0, .25); }
@keyframes afGir { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#buyukBaslik, #afisUst { font-size: clamp(22px, 6vw, 58px); color: #fff; letter-spacing: .04em; text-shadow: 0 4px 0 var(--kontur), 0 -3px 0 var(--kontur), 3px 0 0 var(--kontur), -3px 0 0 var(--kontur), 0 8px 14px rgba(0, 0, 0, .5); }
#buyukTutar, #afisOrta { font-size: clamp(34px, 10vw, 104px); line-height: 1; background: linear-gradient(180deg, #fff6c8 0%, #ffd76a 50%, #e8a21c 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 var(--kontur)) drop-shadow(0 -3px 0 var(--kontur)) drop-shadow(3px 0 0 var(--kontur)) drop-shadow(-3px 0 0 var(--kontur)) drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); font-variant-numeric: tabular-nums; }
#afisAlt { max-width: 640px; font-size: clamp(13px, 3.4vw, 20px); font-weight: 500; color: #eafff6; text-shadow: 0 2px 4px rgba(0, 0, 0, .6); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 26px; border-radius: 14px; font-size: 17px; letter-spacing: .03em;
  border: 3px solid #0d3a26; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .3), 0 4px 10px rgba(0, 0, 0, .35); }
.btn.yesil { background: linear-gradient(180deg, #59c27a 0%, #2f9a5a 50%, #1d6e3e 100%); color: #fff; }
.btn.gri { background: linear-gradient(180deg, #4d6b66 0%, #34504b 100%); color: #fff; }
.btn:disabled { filter: grayscale(.8) brightness(.75); }

.perde { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 14px; background: rgba(3, 22, 24, .62); backdrop-filter: blur(2px); }
.pencere { width: min(560px, 100%); max-height: min(86vh, 760px); display: flex; flex-direction: column; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #134a42 0%, #0c322d 100%); border: 3px solid #d9b45a; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); animation: afGir .3s ease-out; }
.pn-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.pn-bas h3 { margin: 0; font-size: 19px; color: var(--altin); }
.pn-kapat { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.pn-kapat svg { width: 60%; height: 60%; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.pn-govde { padding: 14px 16px; overflow: auto; font-weight: 500; font-size: 14px; line-height: 1.5; color: #eaf7f2; -webkit-overflow-scrolling: touch; }
.pn-govde p { margin: 0 0 10px; }
.pn-govde h4 { margin: 12px 0 4px; font-size: 13px; color: var(--altin); }
.pn-alt { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 10px 16px 16px; }
.pn-alt:empty { display: none; }
.tablo { width: 100%; border-collapse: collapse; font-size: 13px; }
.tablo th { text-align: left; color: var(--altin); font-size: 12px; padding: 6px 6px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.tablo td { padding: 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); vertical-align: middle; font-variant-numeric: tabular-nums; }
.tablo td canvas, .tablo td img { width: 34px; height: 34px; vertical-align: middle; margin-right: 6px; }
.tablo td.kaz, .liste .kaz { color: #8ff0a8; }
.kod { display: block; padding: 8px 10px; border-radius: 8px; background: rgba(0, 0, 0, .3); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; word-break: break-all; }
.menu { display: grid; gap: 8px; }
.menu button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); text-align: left; font-size: 15px; }
.menu button svg { width: 22px; height: 22px; fill: none; stroke: var(--altin); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.secenek { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.secenek button { flex: 1; min-width: 70px; padding: 12px 0; border-radius: 12px; background: linear-gradient(180deg, #2f9a5a, #1d6e3e); font-size: 18px; }
.ozet { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; }
.ozet .neg { color: #ff9a8a; } .ozet .iri { font-size: 18px; color: var(--altin); }
.liste { list-style: none; margin: 0; padding: 0; }
.liste li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.liste .ben { color: var(--altin); }
.canli-oyuncu { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #bff3d0; }
.canli-oyuncu i { width: 9px; height: 9px; border-radius: 50%; background: #3fdc72; box-shadow: 0 0 8px #3fdc72; animation: nabiz 1.4s infinite; }
@keyframes nabiz { 50% { opacity: .35; } }

.baglanti { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; background: rgba(3, 22, 24, .55); }
.bg-ic { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 420px; padding: 22px 24px; border-radius: 18px; text-align: center;
  background: linear-gradient(180deg, #134a42, #0c322d); border: 3px solid #d9b45a; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
.bg-ic b { font-size: 17px; } .bg-ic small { font-size: 13px; font-weight: 500; color: #cfe8e0; }
.baglanti.sabit .donen { display: none; }
.donen { width: 34px; height: 34px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .2); border-top-color: var(--altin); animation: cevirDon .8s linear infinite; }
.bildirim { position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 45; max-width: min(520px, 92vw); padding: 12px 18px; border-radius: 14px;
  background: rgba(70, 14, 14, .92); border: 2px solid #ff9a8a; color: #fff; font-size: 14px; font-weight: 500; text-align: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); pointer-events: auto; animation: afGir .25s ease-out; }
.bildirim.iyi { background: rgba(12, 60, 36, .94); border-color: #8ff0a8; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
