/* ALTIN SWEET BONANZA — "Altın Salon" ailesi: lacivert–mavi zemin (ana sayfa paleti), altın vurgu, şeker diyarı 6×5 ızgara. Bilgisayar · tablet · telefon · tam ekran. */
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url(../fonts/Poppins-Regular.ttf) format('truetype'); }
@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 {
  --govde: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --altin: #f2c94c; --altin2: #ffd166; --altin-k: #3a2a06; --yazi: #f4f1e8; --sonuk: rgba(244,241,232,.68);
  --panel: rgba(10,24,58,.62); --panel-c: rgba(127,172,255,.26); --kirmizi: #e04848; --yesil: #3ddc84; --mavi: #4a86ea;
  --kutu: #1d3f86; --kutu2: #2558c4; --kutu-c: #5a8df0;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { font-family: var(--govde); font-weight: 500; color: var(--yazi); overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: manipulation;
  background: radial-gradient(70% 90% at 70% 30%, #4a86ea, #2558c4 55%, #1d4fb3) #1d4fb3; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app { position: fixed; inset: 0; display: flex; flex-direction: column; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); transition: opacity .25s; }
body.yukleniyor .app { opacity: 0; }

/* üst çubuk */
.ust { display: flex; align-items: center; gap: 10px; padding: 10px 18px; min-height: 60px; }
.ust-sol, .ust-sag { display: flex; align-items: center; gap: 10px; flex: 1 1 0; min-width: 0; }
.ust-sag { justify-content: flex-end; }
.uye { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 6px 12px; font-size: 14px; background: rgba(0,0,0,.28); border: 1px solid var(--panel-c); max-width: 230px; min-width: 0; }
.uye i { width: 9px; height: 9px; border-radius: 50%; background: var(--yesil); flex: none; }
.uye-ad { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uye b { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--altin); color: var(--altin-k); flex: none; }
.uye.misafir i { background: #9aa; } .uye.misafir b { background: #e0e0e0; }
.bakiye { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 12px; font-size: 16px; font-weight: 700; background: rgba(0,0,0,.28); border: 1px solid var(--panel-c); color: #ffe9a8; white-space: nowrap; }
.bakiye svg { width: 18px; height: 18px; color: var(--altin); }
.bakiye.flas { animation: flas 1s ease-out; }
@keyframes flas { 30% { box-shadow: 0 0 0 3px rgba(61,220,132,.9), 0 0 18px rgba(61,220,132,.7); } }
.baslik { flex: none; text-align: center; font-weight: 700; font-size: 26px; letter-spacing: 3px; color: #f6d36b; text-shadow: 0 2px 0 #8a5a12, 0 0 18px rgba(246,211,107,.45); line-height: 1; }
.ikon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.3); border: 1px solid var(--panel-c); color: #f2e3b0; flex: none; position: relative; transition: transform .12s, background .2s; }
.ikon:hover { background: rgba(0,0,0,.45); } .ikon:active { transform: scale(.94); }
.ikon svg { width: 20px; height: 20px; }
#btnSes .ses-kapali, #btnTam .tam-cik { display: none; }
#btnSes.kapali .ses-acik { display: none; } #btnSes.kapali .ses-kapali { display: block; }
#btnTam.acik .tam-gir { display: none; } #btnTam.acik .tam-cik { display: block; }
#btnCanli { display: none; }
.rozet { position: absolute; top: -6px; right: -8px; min-width: 21px; height: 19px; padding: 0 5px; border-radius: 10px; background: #d63c3c; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

/* gövde */
.govde { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 300px 300px; gap: 16px; padding: 0 18px 18px; min-height: 0; }
.panel { border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 0; background: var(--panel); border: 1.5px solid var(--panel-c); box-shadow: 0 14px 34px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08); }
.sekme-bas { display: flex; justify-content: space-between; align-items: baseline; }
.etk { font-size: 11px; letter-spacing: 2px; color: var(--sonuk); text-transform: uppercase; font-weight: 700; }
.etk.sag { letter-spacing: .5px; } .etk.sag b { color: #fff; font-size: 13px; }
.tutar { display: flex; align-items: center; gap: 8px; }
.tutar .d { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; border: 2px solid #c9a227; color: #f2d27a; flex: none; }
.tutar .d:active { transform: scale(.94); }
.tutar input { flex: 1; min-width: 0; text-align: center; border-radius: 12px; padding: 8px; font-size: 22px; font-weight: 700; background: rgba(0,0,0,.35); border: 1px solid var(--panel-c); outline: none; }
.tutar input:focus { border-color: var(--altin); }
.fisler { display: flex; flex-wrap: wrap; gap: 8px; }
.fis { flex: 1 1 calc(33% - 8px); min-width: 70px; height: 38px; border-radius: 10px; font-size: 14px; font-weight: 700; color: #fff; background: rgba(0,0,0,.3); border: 1px solid var(--panel-c); position: relative; }
.fis::before { content: ''; position: absolute; left: 8px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--c, #4a86ea); transform: translateY(-50%); }
.fis.on { background: linear-gradient(#f4d77a, #d9a83a); color: var(--altin-k); border-color: transparent; box-shadow: 0 0 14px rgba(242,201,76,.45); }
.fis.on::before { background: var(--altin-k); }
input[type=range] { width: 100%; accent-color: var(--altin); height: 28px; }
.bilgi-kutu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bilgi-kutu div { padding: 8px 10px; border-radius: 12px; background: rgba(0,0,0,.25); }
.bilgi-kutu span { display: block; font-size: 10px; letter-spacing: 1.5px; color: var(--sonuk); font-weight: 700; }
.bilgi-kutu b { font-size: 18px; color: #fff; }
.basla { background: linear-gradient(#f4d77a, #d9a83a); color: var(--altin-k); box-shadow: 0 6px 0 #8a5a12, 0 10px 20px rgba(0,0,0,.35); }
@keyframes titre { 50% { filter: brightness(1.15); transform: translateY(-1px); } }
.alt-satir { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--sonuk); margin-top: auto; }
.alt-satir b { color: #fff; }

/* sahne: ızgara */
.sahne-sut { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.sahne { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; align-items: center; border-radius: 24px; padding: 10px 14px 14px; overflow: hidden;
  background: linear-gradient(180deg, rgba(8,20,52,.55), rgba(5,14,38,.75)); border: 1.5px solid var(--panel-c); box-shadow: 0 14px 34px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08); }
.ust-bant { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; min-height: 36px; }
.bedava-bant { display: flex; align-items: baseline; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(242,201,76,.16); border: 1px solid rgba(242,201,76,.55); font-weight: 700; }
.bedava-bant span { font-size: 11px; letter-spacing: 2px; color: var(--altin2); } .bedava-bant b { font-size: 20px; color: #fff; } .bedava-bant small { font-size: 11px; color: var(--sonuk); }
.kazanc-bant { margin-left: auto; display: flex; align-items: baseline; gap: 8px; font-weight: 700; }
.kazanc-bant span { font-size: 11px; letter-spacing: 3px; color: var(--sonuk); } .kazanc-bant b { font-size: 26px; color: #f6d36b; text-shadow: 0 0 16px rgba(246,211,107,.45); font-variant-numeric: tabular-nums; }
.kazanc-bant.buyuk b { color: #3ddc84; text-shadow: 0 0 22px rgba(61,220,132,.7); animation: buyuk .6s ease-in-out infinite alternate; }
@keyframes buyuk { to { transform: scale(1.08); } }
.izgara-cerceve { position: relative; flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
/* ADIM 174: hücreler SÜTUN SÜTUN dizilir (veri: k = sütun × 5 + satır) — tumble'da düşen simgeler kendi sütununda kayar */
.izgara { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(5, 1fr); grid-auto-flow: column; gap: clamp(3px, .8vmin, 7px); width: min(100%, 640px); aspect-ratio: 6 / 5; max-height: 100%; }
.hucre { position: relative; border-radius: 12%; background: linear-gradient(160deg, rgba(90,141,240,.22), rgba(13,42,102,.5)); border: 1px solid rgba(127,172,255,.22); display: grid; place-items: center; overflow: visible; }
.hucre svg { width: 80%; height: 80%; stroke: none; filter: drop-shadow(0 3px 4px rgba(0,0,0,.45)); transition: transform .2s; }
.hucre.yeni svg { animation: dus .35s cubic-bezier(.3,.9,.4,1.1); }
@keyframes dus { from { transform: translateY(-140%); opacity: .2; } }
.hucre.kazan { background: linear-gradient(160deg, rgba(242,201,76,.45), rgba(242,201,76,.15)); border-color: var(--altin); box-shadow: 0 0 14px rgba(242,201,76,.55); }
.hucre.kazan svg { animation: parla .5s ease-in-out infinite alternate; }
@keyframes parla { to { transform: scale(1.15); } }
.hucre.patla svg { animation: patlaSvg .35s ease-in forwards; }
@keyframes patlaSvg { to { transform: scale(1.5); opacity: 0; } }
.hucre .carpan { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: clamp(11px, 2.2vmin, 18px); font-weight: 700; color: #fff; text-shadow: 0 1px 2px #000, 0 0 8px rgba(0,0,0,.8); pointer-events: none; }
.hucre.s9 { background: linear-gradient(160deg, rgba(255,77,126,.3), rgba(13,42,102,.5)); border-color: rgba(255,77,126,.5); }
.carpan-toplam { position: absolute; right: 2%; top: 2%; padding: 6px 12px; border-radius: 12px; background: rgba(5,14,38,.9); border: 2px solid var(--altin); font-size: 20px; font-weight: 700; color: #f6d36b; z-index: 2; }
.sonuc-bant { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; min-width: 240px; text-align: center; border-radius: 18px; padding: 14px 24px; background: rgba(5,14,38,.94); border: 2px solid var(--altin); box-shadow: 0 16px 40px rgba(0,0,0,.6); animation: gir .35s ease-out; }
.sonuc-bant b { display: block; font-size: 20px; letter-spacing: 2px; color: #f6d36b; }
.sonuc-bant span { display: block; font-size: 30px; font-weight: 700; color: #3ddc84; }
.sonuc-bant small { display: block; font-size: 12px; color: var(--sonuk); margin-top: 2px; }
@keyframes gir { from { opacity: 0; transform: translate(-50%, -50%) scale(.85); } }

/* kontrol */
.anahtar { position: relative; width: 40px; height: 22px; display: inline-block; cursor: pointer; flex: none; }
.anahtar input { opacity: 0; width: 0; height: 0; position: absolute; }
.anahtar i { position: absolute; inset: 0; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid var(--panel-c); transition: background .2s; }
.anahtar i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.anahtar input:checked + i { background: var(--yesil); } .anahtar input:checked + i::after { transform: translateX(18px); background: #06281a; }
.satin { border-radius: 14px; padding: 9px 10px; display: flex; flex-direction: column; align-items: center; gap: 1px; font-weight: 700; background: linear-gradient(#ff7eb3, #c2185b); color: #fff; box-shadow: 0 5px 0 #7a0f3b, 0 8px 16px rgba(0,0,0,.35); }
.satin b { font-size: 13px; letter-spacing: 1px; } .satin small { font-size: 12px; opacity: .9; }
.satin:active { transform: translateY(3px); box-shadow: 0 2px 0 #7a0f3b; } .satin:disabled { filter: grayscale(.6) brightness(.7); }
.bilgi-kutu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bilgi-kutu div { padding: 8px 10px; border-radius: 12px; background: rgba(0,0,0,.25); }
.bilgi-kutu span { display: block; font-size: 10px; letter-spacing: 1.5px; color: var(--sonuk); font-weight: 700; }
.bilgi-kutu b { font-size: 18px; color: #fff; }
.basla { border-radius: 16px; padding: 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-weight: 700; transition: transform .08s, filter .2s; background: linear-gradient(#f4d77a, #d9a83a); color: var(--altin-k); box-shadow: 0 6px 0 #8a5a12, 0 10px 20px rgba(0,0,0,.35); }
.basla b { font-size: 20px; letter-spacing: 2px; } .basla small { font-size: 13px; opacity: .85; font-weight: 500; }
.basla.bedava-btn { background: radial-gradient(circle at 50% 30%, #ff9ccf, #c2185b 70%); color: #fff; box-shadow: 0 6px 0 #7a0f3b, 0 10px 20px rgba(0,0,0,.35); animation: titre .9s ease-in-out infinite; }
@keyframes titre { 50% { filter: brightness(1.15); transform: translateY(-1px); } }
.basla:active { transform: translateY(3px); box-shadow: 0 3px 0 #8a5a12; }
.basla:disabled, .satin:disabled { filter: grayscale(.6) brightness(.7); cursor: default; animation: none; }
body.bedava .basla:not(.bedava-btn), body.bedava .tutar, body.bedava .fisler, body.bedava .satin, body.bedava .sekme-bas { display: none; }
.alt-satir { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--sonuk); margin-top: auto; gap: 8px; }
.odeme-btn { font-size: 12px; font-weight: 700; color: var(--altin2); border-bottom: 1px dotted var(--altin2); }
body.istek .basla, body.istek .satin, body.istek .fis { pointer-events: none; }
.odeme-tablo { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; margin: 8px 0; }
.odeme-tablo div { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 6px; padding: 5px 6px; border-radius: 10px; background: rgba(0,0,0,.3); font-size: 11px; }
.odeme-tablo svg { width: 30px; height: 30px; stroke: none; } .odeme-tablo b { color: var(--altin2); }

/* canlı eller */
.panel.canli { padding: 0; gap: 0; overflow: hidden; }
.canli-bas { padding: 14px 16px 10px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--panel-c); }
.canli-bas h4 { font-size: 13px; letter-spacing: 3px; color: #7fe3ff; flex: 1; margin: 0; font-weight: 700; }
.canli-bas .say { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #3ddc84; } .canli-bas .say i { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; }
.canli-bas .kapat { display: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.35); font-size: 22px; line-height: 1; }
.ozet { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--panel-c); }
.ozet div { padding: 8px 10px; border-radius: 12px; background: rgba(0,0,0,.25); } .ozet span { display: block; font-size: 10px; letter-spacing: 1.5px; color: var(--sonuk); font-weight: 700; } .ozet b { font-size: 18px; color: #fff; }
.liste { flex: 1; min-height: 0; overflow: auto; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; margin: 0; list-style: none; }
.liste li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; background: rgba(0,0,0,.18); }
.liste li.ben { box-shadow: inset 0 0 0 1px rgba(255,209,102,.5); } .liste li.yeni { background: rgba(255,209,102,.12); }
.liste .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff; font-style: normal; }
.liste .bil { min-width: 0; } .liste .bil b { display: block; font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .liste .bil span { font-size: 11px; color: var(--sonuk); }
.liste .son { font-size: 12px; font-weight: 700; text-align: right; white-space: nowrap; } .liste .son.cekti, .liste .son.temizledi { color: var(--altin2); } .liste .son.kaybetti { color: #ff8a80; }
.adil { margin: 8px 10px 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; opacity: .88; padding: 6px; border-radius: 8px; }
.adil:hover { opacity: 1; background: rgba(0,0,0,.2); } .adil svg { width: 16px; height: 16px; }

/* pencereler */
.perde { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 16px; }
.pencere { position: relative; width: min(560px, 100%); max-height: min(86vh, 760px); overflow: auto; border-radius: 18px; padding: 18px; background: linear-gradient(#10306e, #081c48); border: 1px solid rgba(231,194,91,.5); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.pencere h3 { font-weight: 700; font-size: 20px; color: #f6d36b; margin-bottom: 10px; padding-right: 40px; }
.pencere p { font-size: 14px; line-height: 1.4; color: #eee6cc; }
.pencere .kapat { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.35); font-size: 24px; line-height: 1; }
.pencere code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; word-break: break-all; background: rgba(0,0,0,.35); border: 1px solid rgba(231,194,91,.25); border-radius: 8px; padding: 7px 9px; display: block; }
.pencere input { width: 100%; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; background: rgba(0,0,0,.35); border: 1px solid rgba(231,194,91,.35); border-radius: 8px; padding: 8px 9px; outline: none; }
.adil-liste dt { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--sonuk); margin-top: 10px; } .adil-liste dd { margin: 4px 0; }
.pencere .dugmeler { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pencere .dg { border-radius: 12px; padding: 10px 16px; font-size: 15px; font-weight: 700; background: rgba(0,0,0,.35); border: 1px solid rgba(231,194,91,.45); text-decoration: none; color: inherit; }
.pencere .dg.ana { background: linear-gradient(#f4d77a, #d9a83a); color: var(--altin-k); border-color: transparent; }
.pencere .dg.kirmizi { background: radial-gradient(circle at 50% 30%, #ff6b5b, #c0261c 70%); color: #fff; border-color: #f2c94c; }
.tablo { width: 100%; border-collapse: collapse; font-size: 13px; }
.tablo th { text-align: left; font-size: 11px; color: var(--sonuk); text-transform: uppercase; padding: 4px 6px; }
.tablo td { padding: 6px; border-top: 1px solid rgba(231,194,91,.15); white-space: nowrap; }
.tablo td.kz { color: #ffe08a; font-weight: 700; } .tablo td.cekti, .tablo td.temizledi { color: var(--altin2); } .tablo td.kaybetti { color: #ff8a80; }
.pencere .bos { opacity: .7; padding: 14px 0; text-align: center; }
.misafir-kutu { text-align: center; } .misafir-kutu .dugmeler { justify-content: center; }
.carpan-tablo { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 5px; margin: 8px 0; }
.carpan-tablo span { border-radius: 8px; padding: 4px; text-align: center; font-size: 12px; font-weight: 700; background: rgba(0,0,0,.3); } .carpan-tablo span small { display: block; font-size: 9px; color: var(--sonuk); font-weight: 500; }
/* ADIM 183 — bildirim kutusu: ekranın üstünde (telefonda ÇEVİR'i örtmez), türüne göre SVG simge ve renk; dokununca kapanır */
.toast { position: fixed; left: 50%; top: calc(env(safe-area-inset-top) + 68px); transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 10px;
  width: max-content; max-width: min(92vw, 460px); padding: 9px 16px 9px 9px; border-radius: 16px; font-size: 14px; font-weight: 500; line-height: 1.35; text-align: left; cursor: pointer;
  color: var(--yazi); background: linear-gradient(180deg, rgba(22,50,112,.97), rgba(8,22,58,.97)); border: 1px solid rgba(242,201,76,.55);
  box-shadow: 0 16px 36px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.1); --tc: var(--altin); --tb: rgba(242,201,76,.15); }
.toast.gir { animation: toastGir .32s cubic-bezier(.2,.9,.3,1.2); }
@keyframes toastGir { from { opacity: 0; transform: translate(-50%, -12px) scale(.96); } }
.toast-ikon { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: var(--tc); background: var(--tb); box-shadow: inset 0 0 0 1px var(--tc); }
.toast-ikon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.toast-yazi { min-width: 0; overflow-wrap: anywhere; }
.toast.t-ok { --tc: var(--yesil); --tb: rgba(61,220,132,.14); border-color: rgba(61,220,132,.55); }
.toast.t-hata, .toast.t-para { --tc: #ff8a7a; --tb: rgba(224,72,72,.18); border-color: rgba(255,138,122,.65); }
.toast.t-ag, .toast.t-bekle { --tc: #ffb454; --tb: rgba(255,180,84,.15); border-color: rgba(255,180,84,.6); }

/* duyarlı */
@media (max-width: 1180px) { .govde { grid-template-columns: minmax(0, 1fr) 270px 260px; gap: 12px; } }
@media (max-width: 980px) {
  .govde { grid-template-columns: minmax(0, 1fr) 270px; }
  #btnCanli { display: grid; }
  .panel.canli { position: fixed; right: 0; top: 0; bottom: 0; width: min(340px, 92vw); z-index: 40; border-radius: 22px 0 0 22px; transform: translateX(105%); transition: transform .25s; }
  body.canli-acik .panel.canli { transform: none; }
  .canli-bas .kapat { display: grid; place-items: center; }
}
@media (max-width: 700px) {
  .ust { padding: 8px 10px; min-height: 52px; gap: 6px; }
  .baslik { display: none; }
  .uye { font-size: 12px; padding: 4px 8px; max-width: 120px; } .uye b { display: none; } .bakiye { font-size: 14px; padding: 4px 9px; }
  .ikon { width: 34px; height: 34px; }
  /* telefon: sahne ızgara kadar (boş lacivert alan kalmaz), kontrol paneli hemen altında; kısa ekranda sayfa kayar */
  .govde { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: start; gap: 8px; padding: 0 10px 10px; overflow: auto; }
  .sahne-sut { order: 1; } .kontrol { order: 2; }
  .sahne { padding: 8px; border-radius: 18px; min-height: 0; flex: none; } .kazanc-bant b { font-size: 20px; } .izgara { width: 100%; }
  .satin b { font-size: 12px; } .basla { padding: 9px; } .basla b { font-size: 17px; }
  .fisler { gap: 5px; } .fis { flex: 1 1 calc(16% - 5px); min-width: 48px; height: 28px; font-size: 12px; padding: 0 4px 0 16px; } .fis::before { left: 5px; width: 6px; height: 6px; }
  .panel.kontrol { padding: 10px; gap: 8px; border-radius: 18px; }
  .tutar .d { width: 34px; height: 34px; font-size: 18px; } .tutar input { font-size: 18px; padding: 6px; }
  .bilgi-kutu b { font-size: 15px; }
  .alt-satir { font-size: 11px; }
}
@media (max-height: 520px) and (min-width: 560px) {
  .ust { min-height: 44px; padding: 4px 12px; } .baslik { font-size: 18px; }
  .govde { padding: 0 10px 8px; gap: 8px; }
  .panel.kontrol { padding: 8px; gap: 6px; } .fisler { display: none; }
}

/* ---------------- ADIM 183 — satın alma onayı (tarayıcının confirm() kutusu yerine) + sonuç bandı madalyonu ---------------- */
.onay-perde { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; overflow: auto; overscroll-behavior: contain;
  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: radial-gradient(90% 70% at 50% 45%, rgba(10,24,64,.5), rgba(2,6,20,.84)); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: onayPerde .18s ease-out; }
@keyframes onayPerde { from { opacity: 0; } }
.onay { position: relative; width: min(410px, 100%); margin: auto; padding: 22px 20px 18px; border-radius: 24px; text-align: center; color: var(--yazi); user-select: none;
  background: radial-gradient(120% 55% at 50% 0%, rgba(255,126,179,.22), transparent 62%), linear-gradient(180deg, #16388a, #0b1f52 56%, #08173d);
  border: 1.5px solid rgba(242,201,76,.78); box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 26px 70px rgba(0,0,0,.62), 0 0 46px rgba(255,126,179,.16), inset 0 1px 0 rgba(255,255,255,.14);
  animation: onayGir .28s cubic-bezier(.2,.9,.3,1.25); }
@keyframes onayGir { from { opacity: 0; transform: translateY(14px) scale(.94); } }
.onay-ikon { width: 74px; height: 74px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #2b58b8, #10285f 72%); border: 2px solid var(--altin);
  box-shadow: 0 0 0 5px rgba(242,201,76,.14), 0 10px 24px rgba(0,0,0,.5), 0 0 26px rgba(255,126,179,.5); }
.onay-ikon svg { width: 52px; height: 52px; stroke: none; filter: drop-shadow(0 3px 4px rgba(0,0,0,.45)); animation: onayIkon 2.6s ease-in-out infinite; }
@keyframes onayIkon { 50% { transform: rotate(-8deg) scale(1.06); } }
.onay h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; letter-spacing: 1.5px; line-height: 1.2; color: #f6d36b; text-shadow: 0 2px 0 #8a5a12, 0 0 16px rgba(246,211,107,.35); }
.onay-metin { max-width: 330px; margin: 0 auto 14px; font-size: 13.5px; line-height: 1.45; color: var(--sonuk); }
.onay-takas { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 8px; margin-bottom: 12px; }
.ot-kutu { min-width: 0; padding: 10px 6px 9px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: rgba(0,0,0,.3); border: 1px solid var(--panel-c); }
.ot-kutu small { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; color: var(--sonuk); }
.ot-kutu b { font-size: 26px; line-height: 1.15; font-weight: 700; color: #f6d36b; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ot-kutu span { max-width: 100%; font-size: 11.5px; color: var(--sonuk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ot-kutu.al { border-color: rgba(255,126,179,.6); background: linear-gradient(180deg, rgba(255,126,179,.18), rgba(0,0,0,.28)); }
.ot-kutu.al b { color: #fff; text-shadow: 0 0 14px rgba(255,126,179,.75); }
.ot-kutu.al span { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: #ffc2dc; }
.ot-ok { align-self: center; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; color: var(--altin); background: rgba(242,201,76,.14); }
.ot-ok svg, .onay-bakiye i svg { width: 15px; height: 15px; stroke-width: 2.4; }
.onay-bakiye { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 14px; padding: 8px 12px; border-radius: 12px; background: rgba(0,0,0,.24); font-size: 13px; color: var(--sonuk); }
.onay-bakiye b { font-size: 15px; color: #fff; font-variant-numeric: tabular-nums; } .onay-bakiye b.sonra { color: #ffe9a8; }
.onay-bakiye i { display: inline-grid; font-style: normal; color: var(--altin); }
.onay-bakiye em { font-style: normal; font-weight: 700; color: #ff9b8f; }
.onay.yetmez .onay-bakiye { background: rgba(224,72,72,.14); box-shadow: inset 0 0 0 1px rgba(255,138,122,.45); }
.onay-uyari { margin: -6px 0 14px; font-size: 12.5px; font-weight: 700; color: #ff9b8f; }
.onay-dugmeler { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; }
.od { min-height: 48px; padding: 0 12px; border-radius: 14px; font-size: 15px; font-weight: 700; letter-spacing: .5px; transition: transform .08s, filter .2s, background .2s; }
.od.iptal { color: var(--yazi); background: rgba(0,0,0,.32); border: 1px solid rgba(231,194,91,.45); }
.od.iptal:hover { background: rgba(0,0,0,.46); }
.od.evet { color: #fff; background: linear-gradient(#ff7eb3, #c2185b); box-shadow: 0 5px 0 #7a0f3b, 0 8px 18px rgba(0,0,0,.35); text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.od.evet:hover { filter: brightness(1.08); }
.od:active { transform: translateY(3px); } .od.evet:active { box-shadow: 0 2px 0 #7a0f3b; }
.od:focus-visible { outline: 3px solid #ffe9a8; outline-offset: 2px; }
/* sonuç bandı: üstte simgeli madalyon */
.sonuc-bant .bant-ikon { width: 58px; height: 58px; margin: -44px auto 6px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  background: radial-gradient(circle at 50% 35%, #2b58b8, #10285f 72%); border: 2px solid var(--altin); box-shadow: 0 0 0 4px rgba(242,201,76,.14), 0 8px 20px rgba(0,0,0,.5), 0 0 22px rgba(255,126,179,.45); }
.sonuc-bant .bant-ikon svg { width: 38px; height: 38px; stroke: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }
.sonuc-bant .bant-ikon svg.dolu { width: 34px; height: 34px; fill: #f6d36b; stroke: #8a5a12; stroke-width: .8; }
.sonuc-bant .bant-ikon svg.cizgi { width: 32px; height: 32px; fill: none; stroke: #f6d36b; stroke-width: 1.9; }
.sonuc-bant.b-mega, .sonuc-bant.b-bitti { box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 34px rgba(246,211,107,.28); }
@media (max-width: 700px) {
  .toast { top: calc(env(safe-area-inset-top) + 58px); max-width: calc(100vw - 20px); font-size: 13px; }
  .onay { padding: 18px 14px 14px; border-radius: 20px; } .onay-ikon { width: 64px; height: 64px; } .onay-ikon svg { width: 44px; height: 44px; }
  .onay h3 { font-size: 18px; } .ot-kutu b { font-size: 23px; } .onay-takas { gap: 6px; }
}
@media (max-height: 520px) {
  .toast { top: calc(env(safe-area-inset-top) + 50px); }
  .onay { padding: 12px 16px; } .onay-ikon { width: 46px; height: 46px; margin-bottom: 4px; } .onay-ikon svg { width: 32px; height: 32px; }
  .onay h3 { font-size: 17px; } .onay-metin { display: none; } .onay-takas { margin: 8px 0; } .ot-kutu { padding: 6px; } .ot-kutu b { font-size: 21px; }
  .onay-bakiye { margin-bottom: 10px; padding: 6px 10px; } .od { min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .onay-perde, .onay, .onay-ikon svg, .toast.gir { animation: none; } }
