/* ALTIN PİPA CRASH — oyun ekranı (ADIM 192 · A "Gece Rafinerisi" · tam 3B). Bilgisayar · tablet · telefon dikey / yatay · 320 px.
   Yazı tipleri (Barlow Condensed 600/700/800, Alfa Slab One) şifreli statik paketten gelir (JS FontFace ile eklenir); gelene kadar sistem yazı tipi. */
:root { --altin: #f2c94c; --altin2: #ffe08a; --yesil: #2fd27a; --kirmizi: #ff5a4f; --mavi: #5aa2ff; --mor: #c38bff; --zemin: #05070b;
  --panel: linear-gradient(180deg, rgba(24,30,42,.97), rgba(13,17,25,.97)); --cizgi: rgba(255,196,110,.15); --yazi: #e9edf5; --soluk: #8f9bb2;
  --bc: 'BC', 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif; --as: 'AS', var(--bc); --govde: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--zemin); color: var(--yazi); font-family: var(--govde); font-size: 14px; }
body { overscroll-behavior: none; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--altin); outline-offset: 2px; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.say { font-family: var(--bc); font-weight: 700; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- yükleniyor ekranı + bağlantı şeridi + bildirim */
.yukle { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(900px 520px at 50% 30%, #1b2233, #07090d 70%); transition: opacity .45s; }
.yukle.gizle { opacity: 0; pointer-events: none; }
.yk-ic { width: min(86vw, 360px); text-align: center; display: grid; gap: 14px; justify-items: center; }
.yk-logo { width: 72px; height: 72px; filter: drop-shadow(0 8px 24px rgba(242,201,76,.25)); }
.yk-ad { font: 800 26px var(--bc); letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(180deg, #fff3c4, #f2c94c 55%, #b47f1e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yk-cubuk { width: 100%; height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.yk-cubuk i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #b47f1e, #f2c94c, #ffe08a); border-radius: 4px; transition: width .25s; }
.yk-yazi { font-size: 13px; color: #b9c3d4; }
.yk-yazi b { font: 700 15px var(--bc); color: var(--altin2); margin-left: 4px; }
.yk-marka { margin-top: 6px; font: 600 13px var(--bc); letter-spacing: .32em; text-transform: uppercase; color: #e8cf94; opacity: .85; }
.yk-dugme { margin-top: 6px; height: 42px; padding: 0 22px; border-radius: 21px; background: linear-gradient(180deg, #ffe58f, #d39b22); color: #3a2604; font-weight: 700; }
.pc-bag { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 20px); padding: 9px 16px; border-radius: 22px;
  background: rgba(40,18,14,.94); border: 1px solid rgba(255,120,100,.45); box-shadow: 0 8px 24px rgba(0,0,0,.5); font-size: 13px; }
.pc-bag.sabit { background: rgba(20,26,38,.96); border-color: rgba(242,201,76,.5); }
.pc-bag button { height: 30px; padding: 0 14px; border-radius: 15px; background: var(--altin); color: #3a2604; font-weight: 700; }
.pc-don { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; animation: don 0.8s linear infinite; flex: none; }
.pc-bag.sabit .pc-don { display: none; }
@keyframes don { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 80; max-width: calc(100vw - 24px); padding: 11px 18px; border-radius: 12px;
  background: rgba(16,20,30,.96); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 10px 30px rgba(0,0,0,.55); font-size: 13.5px; text-align: center; }
.toast.hata { border-color: rgba(255,90,79,.6); }
.toast.iyi { border-color: rgba(47,210,122,.6); }

/* ---------------------------------------------------------------- yerleşim: bilgisayar (sol canlı liste + oyun) */
.app { position: fixed; inset: 0; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 12px; padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: radial-gradient(1200px 600px at 60% 0%, #1b2233 0%, #0a0d14 55%, #06080c 100%); }
.oyun { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; grid-template-areas: "ust" "serit" "sahne" "kutular"; gap: 10px; }
.ustsatir { grid-area: ust; display: flex; align-items: center; gap: 8px; min-width: 0; }
.bosluk { flex: 1; }
.gecmis-serit { grid-area: serit; min-width: 0; }
.cerceve { grid-area: sahne; min-height: 0; border-radius: 18px; padding: 4px; background: linear-gradient(180deg, #8a6a2c, #3a2a10 40%, #6a4e1e); box-shadow: 0 14px 40px rgba(0,0,0,.6); }
.cerceve .ic { position: relative; width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #0b0d12; container-type: size; }
.cerceve .ic canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.kutular { grid-area: kutular; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tel-yalniz { display: none !important; }

/* ---------------------------------------------------------------- ortak bileşenler */
.dg { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #dfe6f3; position: relative; flex: none; transition: background .15s; }
.dg:hover { background: rgba(255,255,255,.12); }
.dg[aria-pressed="false"] { color: #7f8aa0; }
.dg .rozet { position: absolute; top: -5px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #e5483c; color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
#btnSes .s-kp, #btnSes[aria-pressed="false"] .s-ac { display: none; } #btnSes[aria-pressed="false"] .s-kp { display: inline; }
#btnTam .t-cik, body.tam #btnTam .t-gir { display: none; } body.tam #btnTam .t-cik { display: inline; }
.uye { display: flex; align-items: center; gap: 8px; height: 40px; min-width: 0; padding: 0 12px; border-radius: 20px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1); font-weight: 500; font-size: 14px; }
.uye i { width: 9px; height: 9px; border-radius: 50%; background: var(--yesil); box-shadow: 0 0 8px var(--yesil); flex: none; }
.uye-ad { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.uye b { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--altin); color: #3a2706; flex: none; }
.uye.misafir b { background: #5a6478; color: #fff; }
.serit { display: flex; gap: 8px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.cip { display: inline-flex; align-items: center; justify-content: center; height: 30px; min-width: 60px; padding: 0 10px; border-radius: 15px; font: 700 17px var(--bc); background: rgba(10,14,22,.78); border: 1px solid rgba(255,255,255,.08); flex: none; }
.cip.k { color: var(--mavi); } .cip.o { color: var(--mor); } .cip.s { color: #ff7b72; }
.cip.y { color: #ffc94d; border-color: rgba(255,201,77,.35); box-shadow: 0 0 14px rgba(255,201,77,.18) inset; }
.cip.yeni { animation: cipGel .5s ease-out; }
@keyframes cipGel { from { transform: translateX(-24px); opacity: 0; } }

/* ---------------------------------------------------------------- canlı liste paneli */
.canli { min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--cizgi); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.canli-bas { display: flex; align-items: center; gap: 10px; }
.canli-bas h2 { flex: 1; font: 700 15px var(--bc); letter-spacing: .16em; color: #ffd27a; }
.oynayan { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #9fe8bf; }
.oynayan i { width: 8px; height: 8px; border-radius: 50%; background: var(--yesil); box-shadow: 0 0 8px var(--yesil); animation: nabiz 1.6s ease-in-out infinite; }
.oynayan b { font-size: 15px; }
@keyframes nabiz { 50% { opacity: .35; } }
.canli .kapat { display: none; width: 34px; height: 34px; }
.sekmeler { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0,0,0,.3); }
.sekmeler button { flex: 1; padding: 8px 0; border-radius: 9px; font-size: 13px; font-weight: 500; color: #9aa6bb; }
.sekmeler button.on { background: rgba(255,255,255,.09); color: #fff; box-shadow: inset 0 -2px 0 var(--altin); }
.ozet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ozet div { padding: 8px 10px; border-radius: 10px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.06); min-width: 0; }
.ozet span { display: block; font-size: 10px; letter-spacing: .08em; color: var(--soluk); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ozet b { display: block; font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.liste-bas, .liste li { display: grid; grid-template-columns: minmax(0, 1fr) 62px 54px 70px; align-items: center; gap: 6px; padding: 0 8px; }
.liste-bas { height: 24px; font-size: 10.5px; letter-spacing: .06em; color: #8a97ad; text-transform: uppercase; }
.liste-bas span:not(:first-child) { text-align: right; } .liste-bas span:nth-child(3) { text-align: center; }
.liste { list-style: none; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.liste li { height: 36px; border-radius: 9px; font-size: 13px; }
.liste li:nth-child(odd) { background: rgba(255,255,255,.025); }
.liste .ad { display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; min-width: 0; }
.liste .ad span { overflow: hidden; text-overflow: ellipsis; }
.liste .av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 11px; color: #fff; flex: none; }
.liste .say { font-size: 15.5px; text-align: right; white-space: nowrap; }
.liste .x { text-align: center; }
.liste li.cekti { background: linear-gradient(90deg, rgba(47,210,122,.16), rgba(47,210,122,.04)); box-shadow: inset 2px 0 0 var(--yesil); }
.liste li.cekti .x, .liste li.cekti .kz { color: #6ff0a6; }
.liste li.patladi { opacity: .55; } .liste li.patladi .kz { color: #ff8a80; }
.liste li.ben { box-shadow: inset 0 0 0 1px rgba(242,201,76,.55); }
.liste li.ben.cekti { box-shadow: inset 0 0 0 1px rgba(242,201,76,.55), inset 2px 0 0 var(--yesil); }
.liste .bos-satir { display: block; height: auto; padding: 18px 8px; text-align: center; color: var(--soluk); background: none !important; }
.adil-dugme { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; border-radius: 10px; background: rgba(47,210,122,.08); border: 1px solid rgba(47,210,122,.3); color: #9fe8bf; font-size: 12.5px; }

/* ---------------------------------------------------------------- sahne yazıları */
.sahne-yukle { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: #b9c3d4; z-index: 2; background: #0b0d12; font-size: 13px; }
.sahne-yukle i { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(242,201,76,.2); border-top-color: var(--altin); animation: don .9s linear infinite; }
.yazi { position: absolute; left: 0; right: 0; top: 7%; z-index: 3; text-align: center; pointer-events: none; display: grid; justify-items: center; gap: 4px; }
.carpan { font-family: var(--bc); font-weight: 800; line-height: .9; letter-spacing: -.01em; font-size: clamp(44px, 15cqw, 176px); font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff7d6 0%, #ffd866 40%, #f0a51c 75%, #b56b0a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 rgba(70,35,0,.75)) drop-shadow(0 0 28px rgba(255,170,40,.45)); }
.carpan.kirmizi { background: linear-gradient(180deg, #ffd2cc 0%, #ff6b5e 45%, #c4241a 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 4px 0 rgba(70,0,0,.75)) drop-shadow(0 0 30px rgba(255,60,40,.55)); }
.carpan.tavan { background: linear-gradient(180deg, #e9fff2 0%, #6ff0a6 45%, #13914c 100%); -webkit-background-clip: text; background-clip: text; }
.alt-yazi { font: 600 clamp(11px, 2.1cqw, 20px) var(--bc); letter-spacing: .22em; color: rgba(255,240,215,.88); text-shadow: 0 2px 8px rgba(0,0,0,.85); text-transform: uppercase; }
.patladi-yazi { font: 400 clamp(20px, 5cqw, 46px) var(--as); color: #ff5a4f; letter-spacing: .06em; text-shadow: 0 3px 0 #5a0d08, 0 0 30px rgba(255,60,40,.6); }
.geri-sayim { font: 800 clamp(40px, 12cqw, 124px) var(--bc); color: #fff; line-height: .95; text-shadow: 0 4px 0 rgba(0,0,0,.6), 0 0 30px rgba(255,200,90,.35); font-variant-numeric: tabular-nums; }
.cubuk { width: clamp(150px, 36cqw, 400px); height: 10px; border-radius: 5px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.18); overflow: hidden; }
.cubuk i { display: block; height: 100%; background: linear-gradient(90deg, #ff5a4f, #f2c94c); border-radius: 5px; transform-origin: left; }
.tur-et { position: absolute; left: 14px; bottom: 10px; z-index: 3; font-size: 12.5px; letter-spacing: .12em; color: rgba(230,236,248,.75); text-shadow: 0 1px 4px #000; pointer-events: none; }
.kazanc-balon { position: absolute; left: 50%; top: 46%; z-index: 4; transform: translate(-50%, -50%); padding: 10px 22px; border-radius: 16px; text-align: center; pointer-events: none;
  background: linear-gradient(180deg, rgba(47,210,122,.92), rgba(19,145,76,.92)); color: #fff; box-shadow: 0 10px 40px rgba(47,210,122,.5); animation: balon 2.2s ease-out forwards; }
.kazanc-balon small { display: block; font: 600 12px var(--bc); letter-spacing: .2em; opacity: .9; }
.kazanc-balon b { font: 800 30px var(--bc); }
@keyframes balon { 0% { transform: translate(-50%, -30%) scale(.7); opacity: 0; } 12% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; } 22% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { transform: translate(-50%, -70%); opacity: 0; } }

/* ---------------------------------------------------------------- bahis kutusu */
.kutu { position: relative; display: grid; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--cizgi); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 30px rgba(0,0,0,.4); min-width: 0; }
.kutu .k-ust { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #9aa6bb; min-height: 18px; }
.kutu .k-ust b { color: #fff; letter-spacing: .02em; font-size: 12px; font-weight: 600; }
.kutu .k-kaldir { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #9aa6bb; }
.kutu .k-kaldir svg { width: 14px; height: 14px; }
.kutu .k-gov { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 12px; align-items: stretch; }
.tutar { display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; align-items: center; height: 46px; border-radius: 23px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.1); padding: 0 4px; }
.tutar button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.tutar button svg { width: 15px; height: 15px; }
.tutar input { width: 100%; min-width: 0; text-align: center; font: 700 24px var(--bc); color: #fff; background: none; border: 0; outline: none; font-variant-numeric: tabular-nums; -webkit-user-select: text; user-select: text; }
.tutar input:disabled { color: #aab3c4; }
.fisler { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.fisler button { height: 30px; border-radius: 15px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font: 700 15px var(--bc); color: #cfd7e6; min-width: 0; }
.fisler button.on { background: rgba(242,201,76,.16); border-color: rgba(242,201,76,.6); color: var(--altin2); }
.fisler button:disabled { opacity: .5; }
.buyuk { min-height: 84px; border-radius: 16px; display: grid; place-content: center; text-align: center; gap: 2px; font-family: var(--bc); position: relative; overflow: hidden; padding: 6px; transition: transform .08s, filter .15s; }
.buyuk:not(:disabled):active { transform: translateY(3px); }
.buyuk b { font-size: 26px; font-weight: 800; letter-spacing: .04em; line-height: 1; }
.buyuk small { font-size: 22px; font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; }
.buyuk .kucuk { font: 500 11.5px var(--govde); letter-spacing: .04em; opacity: .88; }
.buyuk.altin { background: linear-gradient(180deg, #ffe58f 0%, #f2c94c 45%, #d39b22 100%); color: #3a2604; box-shadow: 0 5px 0 #8a5d10, 0 10px 24px rgba(242,201,76,.22), inset 0 1px 0 #fff6cf; }
.buyuk.yesil { background: linear-gradient(180deg, #5df5a0 0%, #22c46b 55%, #13914c 100%); color: #052b16; box-shadow: 0 5px 0 #0b6435, 0 0 30px rgba(47,210,122,.42), inset 0 1px 0 #c8ffe0; }
.buyuk.yesil.erken { filter: saturate(.55) brightness(.82); box-shadow: 0 5px 0 #0b6435, inset 0 1px 0 #c8ffe0; }
.buyuk.kirmizi { background: linear-gradient(180deg, #ff8a80 0%, #e5483c 55%, #b02a20 100%); color: #fff; box-shadow: 0 5px 0 #7a1710, inset 0 1px 0 #ffd1cc; }
.buyuk.sira { background: linear-gradient(180deg, rgba(255,138,128,.22), rgba(229,72,60,.12)); border: 1px dashed rgba(255,138,128,.6); color: #ffd1cc; }
.buyuk.tamam { background: linear-gradient(180deg, rgba(47,210,122,.22), rgba(47,210,122,.08)); border: 1px solid rgba(47,210,122,.55); color: #8ff5bd; }
.buyuk.kayip { background: linear-gradient(180deg, rgba(255,90,79,.18), rgba(255,90,79,.06)); border: 1px solid rgba(255,90,79,.5); color: #ffaaa3; }
.buyuk.bekle { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #cbd3e1; }
.buyuk.mesgul::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); animation: parilti 1s linear infinite; }
@keyframes parilti { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.otolar { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: #b9c3d4; }
.otolar label, .otolar .oto { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.otolar .oto-kisa { display: none; }
.anahtar { width: 36px; height: 21px; border-radius: 11px; background: rgba(255,255,255,.14); position: relative; flex: none; transition: background .15s; }
.anahtar::after { content: ''; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #c7cfdc; transition: left .15s; }
.anahtar.on { background: rgba(47,210,122,.6); } .anahtar.on::after { left: 18px; background: #fff; }
.oto-x { width: 82px; height: 30px; padding: 0 8px; border-radius: 9px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.12); text-align: center; font: 700 17px var(--bc); color: #fff; outline: none; -webkit-user-select: text; user-select: text; }
.oto-x:disabled { color: #6f7a8d; }
.oto-bilgi { font: 600 11.5px var(--bc); letter-spacing: .06em; color: #e8cf94; }
.kutu-ekle { display: grid; place-items: center; min-height: 60px; border-radius: 16px; border: 1px dashed rgba(255,255,255,.22); color: #aab3c4; gap: 4px; font-size: 13px; }
.kutu-ekle svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- pencereler */
.perde { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(3,5,9,.72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.pencere { width: min(560px, 100%); max-height: min(86vh, 760px); overflow: auto; border-radius: 18px; background: linear-gradient(180deg, #171c27, #0e1219); border: 1px solid rgba(255,196,110,.22);
  box-shadow: 0 24px 60px rgba(0,0,0,.7); padding: 18px; display: grid; gap: 12px; align-content: start; -webkit-user-select: text; user-select: text; }
.pencere h3 { display: flex; align-items: center; gap: 10px; font: 700 18px var(--bc); letter-spacing: .1em; color: #ffd27a; text-transform: uppercase; }
.pencere h3 span { flex: 1; }
.pencere p, .pencere li { font-size: 13.5px; line-height: 1.55; color: #cfd6e3; }
.pencere ul, .pencere ol { padding-left: 20px; display: grid; gap: 6px; }
.pencere code, .pencere .kod { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; word-break: break-all; color: #f2d080; }
.pencere table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pencere th, .pencere td { padding: 7px 6px; border-bottom: 1px solid rgba(255,255,255,.07); text-align: left; }
.pencere th { color: var(--soluk); font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.pencere td.sag, .pencere th.sag { text-align: right; }
.pencere .secenekler { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.pencere .secenekler button { height: 40px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-weight: 600; }
.pencere .secenekler button.on { background: rgba(242,201,76,.16); border-color: rgba(242,201,76,.6); color: var(--altin2); }
.pencere .alan { display: grid; gap: 6px; font-size: 13px; color: #b9c3d4; }
.pencere .alan input { height: 40px; border-radius: 10px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); color: #fff; padding: 0 12px; font: 600 17px var(--bc); }
.pencere .dugmeler { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.pencere .dugmeler button { height: 42px; padding: 0 18px; border-radius: 21px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-weight: 600; }
.pencere .dugmeler button.ana { background: linear-gradient(180deg, #ffe58f, #d39b22); color: #3a2604; border: 0; }
.pencere .durum-iyi { color: #6ff0a6; } .pencere .durum-kotu { color: #ff8a80; }

/* ---------------------------------------------------------------- tablet / dar bilgisayar: canlı liste çekmece olur */
@media (max-width: 1099px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .canli { position: fixed; z-index: 60; left: 0; top: 0; bottom: 0; width: min(380px, 92vw); border-radius: 0 16px 16px 0; transform: translateX(-104%); transition: transform .25s ease; box-shadow: 20px 0 50px rgba(0,0,0,.6); }
  body.canli-acik .canli { transform: none; }
  .canli .kapat { display: inline-grid; }
  .tel-yalniz { display: inline-grid !important; }
  .pc-yalniz { display: none !important; }
}
/* ---------------------------------------------------------------- telefon dikey: kutular alt alta, kompakt */
@media (max-width: 699px) {
  .app { padding: 8px; gap: 8px; }
  .oyun { gap: 8px; }
  .dg { width: 36px; height: 36px; } svg.i { width: 18px; height: 18px; }
  .ustsatir { gap: 6px; }
  .uye { height: 36px; padding: 0 10px; font-size: 13px; } .uye-ad { max-width: 90px; }
  #btnKural { display: none; }
  .cip { height: 26px; min-width: 50px; font-size: 15px; padding: 0 8px; }
  .serit { gap: 6px; }
  .cerceve { border-radius: 14px; padding: 3px; } .cerceve .ic { border-radius: 11px; }
  .kutular { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .kutu { padding: 9px 10px; gap: 7px; border-radius: 14px; }
  .kutu .k-gov { gap: 8px; }
  .tutar { height: 40px; grid-template-columns: 32px minmax(0, 1fr) 32px; } .tutar button { width: 30px; height: 30px; } .tutar input { font-size: 21px; }
  .fisler { margin-top: 6px; gap: 4px; } .fisler button { height: 26px; font-size: 14px; }
  .buyuk { min-height: 70px; border-radius: 13px; } .buyuk b { font-size: 22px; } .buyuk small { font-size: 19px; } .buyuk .kucuk { font-size: 10.5px; }
  .otolar { font-size: 11.5px; gap: 6px; } .oto-x { width: 70px; height: 27px; font-size: 15px; } .anahtar { width: 32px; height: 19px; } .anahtar::after { width: 13px; height: 13px; } .anahtar.on::after { left: 16px; }
  .tur-et { left: 10px; bottom: 7px; font-size: 10.5px; }
}
@media (max-width: 359px) {
  .dg { width: 32px; height: 32px; } svg.i { width: 16px; height: 16px; }
  .uye-ad { max-width: 64px; }
  .tutar input { font-size: 19px; }
  .buyuk b { font-size: 19px; } .buyuk small { font-size: 17px; }
  .otolar .oto-yazi { display: none; } .otolar .oto-kisa { display: inline; }   /* çok dar ekran: kısa etiket (anahtar etiketsiz kalmasın) */
}
/* Maltaca etiketler uzun: 420 px'e kadar kısa etiket (anahtarlar tek satırda kalsın) */
@media (max-width: 419px) { html[lang="mt"] .otolar .oto-yazi { display: none; } html[lang="mt"] .otolar .oto-kisa { display: inline; } }
/* telefon dikey + kısa ekran: ikinci kutu yalnız "+" ile (yer açmak için) */
@media (max-width: 699px) and (max-height: 700px) {
  .kutu .fisler { display: none; }
}
/* ---------------------------------------------------------------- telefon yatay (kısa): sahne solda, kutular sağda */
@media (max-height: 520px) and (orientation: landscape) {
  .app { padding: 6px 8px; padding-left: max(8px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right)); }
  .oyun { grid-template-columns: minmax(0, 1fr) minmax(250px, 34%); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "ust ust" "sahne kutular"; gap: 6px 8px; }
  .gecmis-serit { display: none; }
  .ustsatir .uye { height: 32px; }
  .dg { width: 32px; height: 32px; }
  .kutular { grid-template-columns: minmax(0, 1fr); align-content: start; overflow-y: auto; gap: 6px; }
  .kutu { padding: 7px 9px; gap: 6px; }
  .kutu .fisler { display: none; }
  .buyuk { min-height: 58px; } .buyuk b { font-size: 19px; } .buyuk small { font-size: 16px; }
  .tutar { height: 36px; } .tutar button { width: 28px; height: 28px; } .tutar input { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
.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; }
