/* ALTIN PİPA CRASH — "Altın Salon" ailesi: lacivert–mavi zemin (ana sayfa paleti), altın vurgu, ışıklı boru. 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: 300px minmax(0, 1fr) 300px; gap: 16px; padding: 0 18px 18px; min-height: 0; }
.sahne-sut { min-width: 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, .cek { border-radius: 16px; padding: 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-weight: 700; transition: transform .08s, filter .2s; }
.basla b, .cek b { font-size: 20px; letter-spacing: 2px; } .basla small, .cek small { font-size: 13px; opacity: .85; font-weight: 500; }
.basla { background: linear-gradient(#f4d77a, #d9a83a); color: var(--altin-k); box-shadow: 0 6px 0 #8a5a12, 0 10px 20px rgba(0,0,0,.35); }
.cek { background: radial-gradient(circle at 50% 30%, #5be08f, #1f9d55 70%); color: #06281a; box-shadow: 0 6px 0 #0f5a30, 0 10px 20px rgba(0,0,0,.35); }
.cek.titre { animation: titre .9s ease-in-out infinite; }
@keyframes titre { 50% { filter: brightness(1.15); transform: translateY(-1px); } }
.basla:active, .cek:active { transform: translateY(3px); box-shadow: 0 3px 0 #8a5a12; }
.basla:disabled, .cek:disabled { filter: grayscale(.6) brightness(.7); cursor: default; }
body:not(.el-acik) .cek { display: none; }
.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: boru + top + çarpan */
.sahne-sut { display: flex; flex-direction: column; min-height: 0; }
.sahne { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; border-radius: 24px; padding: 12px 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); }
.son-turlar { display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; margin-bottom: 6px; min-height: 26px; }
.son-turlar span { flex: none; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; background: rgba(224,72,72,.22); color: #ff9b9b; }
.son-turlar span.iyi { background: rgba(61,220,132,.18); color: #7ff0b0; } .son-turlar span.cok { background: rgba(242,201,76,.22); color: var(--altin2); }
.boru { flex: 1; min-height: 0; position: relative; }
.boru-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.top { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; left: 4%; top: 83%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, #f2c94c 45%, #b8821a 80%); box-shadow: 0 0 18px rgba(242,201,76,.8), 0 0 40px rgba(242,201,76,.4); transition: none; }
.top i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); }
body.kosuyor .top { animation: topDon .6s linear infinite; }
@keyframes topDon { to { transform: rotate(360deg); } }
.top::after { content: ''; position: absolute; left: -60px; top: 50%; width: 60px; height: 6px; margin-top: -3px; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(255,209,102,.9)); opacity: 0; }
body.kosuyor .top::after { opacity: 1; }
.patlama { position: absolute; width: 10px; height: 10px; border-radius: 50%; margin: -5px 0 0 -5px; background: radial-gradient(circle, #fff 0, #ffd166 25%, #e04848 55%, transparent 70%); animation: patla .7s ease-out forwards; pointer-events: none; }
@keyframes patla { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(22); opacity: 0; } }
body.patladi .top { background: radial-gradient(circle at 35% 30%, #ff9b9b, #e04848 50%, #5a1010 80%); box-shadow: 0 0 20px rgba(224,72,72,.8); }
.carpan-buyuk { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.carpan-buyuk b { display: block; font-size: clamp(44px, 9vmin, 92px); font-weight: 700; line-height: 1; color: #fff; text-shadow: 0 0 24px rgba(74,134,234,.8), 0 4px 0 rgba(0,0,0,.35); font-variant-numeric: tabular-nums; }
.carpan-buyuk span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: 3px; font-weight: 700; color: var(--sonuk); }
body.kosuyor .carpan-buyuk b { color: #ffd166; text-shadow: 0 0 28px rgba(242,201,76,.75), 0 4px 0 rgba(0,0,0,.35); }
body.patladi .carpan-buyuk b { color: #ff6b6b; text-shadow: 0 0 28px rgba(224,72,72,.8); }
body.cekti .carpan-buyuk b { color: #3ddc84; text-shadow: 0 0 28px rgba(61,220,132,.8); }
.sonuc-bant { position: absolute; left: 50%; top: 70%; transform: translate(-50%, -50%); z-index: 3; min-width: 220px; text-align: center; border-radius: 18px; padding: 12px 22px; background: rgba(5,14,38,.92); 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: 18px; letter-spacing: 2px; color: #f6d36b; }
.sonuc-bant span { display: block; font-size: 24px; font-weight: 700; color: #3ddc84; }
.sonuc-bant small { display: block; font-size: 12px; color: var(--sonuk); margin-top: 2px; }
.sonuc-bant.patladi { border-color: var(--kirmizi); } .sonuc-bant.patladi b { color: #ff8a80; }
@keyframes gir { from { opacity: 0; transform: translate(-50%, -50%) scale(.85); } }

/* kontrol: otomatik çekim */
.anahtar { position: relative; width: 40px; height: 22px; display: inline-block; cursor: pointer; }
.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; }
.oto-satir { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px; }
.oto-satir input { min-width: 0; border-radius: 10px; padding: 7px 10px; font-size: 16px; font-weight: 700; background: rgba(0,0,0,.35); border: 1px solid var(--panel-c); outline: none; text-align: center; }
.oto-satir input:disabled { opacity: .5; } .oto-satir > span { font-weight: 700; color: var(--sonuk); }
.oto-hizli { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.oto-hizli button { height: 28px; border-radius: 8px; font-size: 12px; font-weight: 700; background: rgba(0,0,0,.3); border: 1px solid var(--panel-c); }
.oto-hizli button.on { background: var(--altin); border-color: transparent; color: var(--altin-k); } .oto-hizli button:disabled { opacity: .45; }
.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, .cek { border-radius: 16px; padding: 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-weight: 700; transition: transform .08s, filter .2s; }
.basla b, .cek b { font-size: 20px; letter-spacing: 2px; } .basla small, .cek small { font-size: 13px; opacity: .85; font-weight: 500; }
.basla { background: linear-gradient(#f4d77a, #d9a83a); color: var(--altin-k); box-shadow: 0 6px 0 #8a5a12, 0 10px 20px rgba(0,0,0,.35); }
.cek { background: radial-gradient(circle at 50% 30%, #5be08f, #1f9d55 70%); color: #06281a; box-shadow: 0 6px 0 #0f5a30, 0 10px 20px rgba(0,0,0,.35); }
.cek.titre { animation: titre .9s ease-in-out infinite; }
@keyframes titre { 50% { filter: brightness(1.15); transform: translateY(-1px); } }
.basla:active, .cek:active { transform: translateY(3px); box-shadow: 0 3px 0 #8a5a12; }
.basla:disabled, .cek:disabled { filter: grayscale(.6) brightness(.7); cursor: default; }
body:not(.el-acik) .cek { display: none; }
body.el-acik .basla, body.el-acik .tutar, body.el-acik .fisler, body.el-acik .oto-satir, body.el-acik .sekme-bas { display: none; }
.alt-satir { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--sonuk); margin-top: auto; }
body.istek .basla, body.istek .cek { pointer-events: none; }

/* 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: 270px minmax(0, 1fr) 270px; gap: 12px; } }
@media (max-width: 980px) {
  .govde { grid-template-columns: 260px minmax(0, 1fr); }
  #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; }
  .govde { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 8px; padding: 0 10px 10px; overflow: hidden; }
  .sahne-sut { order: 1; } .kontrol { order: 2; }
  .sahne { padding: 8px 10px 10px; border-radius: 18px; min-height: 200px; } .top { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
  .carpan-buyuk b { font-size: 40px; } .oto-hizli button { height: 26px; }
  .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; }
  .fis { height: 32px; font-size: 13px; min-width: 60px; }
  .bilgi-kutu b { font-size: 15px; }
  .basla, .cek { padding: 9px; } .basla b, .cek b { font-size: 17px; }
  .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 — bildirim kutusu: telefonda / kısa ekranda üst çubuğun hemen altında */
@media (max-width: 700px) { .toast { top: calc(env(safe-area-inset-top) + 58px); max-width: calc(100vw - 20px); font-size: 13px; } }
@media (max-height: 520px) { .toast { top: calc(env(safe-area-inset-top) + 50px); } }
@media (prefers-reduced-motion: reduce) { .toast.gir { animation: none; } }
