/* aratin-hizi.css — Aratın Hızı sayfası; ortak oyun düzeni superbilen.css'ten gelir */
#ahOyun .sb-ekran { aspect-ratio: 16 / 9; overflow: hidden; }
#ahOyun:fullscreen .sb-ekran, #ahOyun.is-tam .sb-ekran { aspect-ratio: auto; }
.ah-ust h1 span { color: var(--sb-kirmizi); }
.ah-dokun__sol { gap: 12px; }
#ahOyun .sb-dokun button.is-b { font-size: .95rem; }
#ahOyun .sb-dokun button { line-height: 1; }
.ah-diger { max-width: 990px; margin: 18px auto 0; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: .92rem; color: var(--sb-soluk); }
.ah-yukle { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 1rem "Outfit", system-ui, sans-serif; background: radial-gradient(circle at 50% 40%, #16357a, #050b1e 75%); }

/* ---- 3D sürüm: tuval tüm alanı kaplar, arayüz HTML katmanıdır; yan çevirme ve ekran tuşları gerekmez ---- */
#ahOyun.ah-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
#ahOyun.ah-3d .sb-dokun, #ahOyun.ah-3d .sb-dondur, #ahOyun.ah-3d .sb-kapat--dur { display: none !important; }
#ahOyun.ah-3d .sb-kapat { top: auto; bottom: max(10px, env(safe-area-inset-bottom)); }
.ah3 { position: absolute; inset: 0; z-index: 2; font-family: "Outfit", system-ui, sans-serif; color: #fff; user-select: none; -webkit-user-select: none; touch-action: none; }
.ah3 [hidden] { display: none !important; }
.ah3-hud { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 8px; padding: max(12px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left)); pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 12, 34, .42), rgba(5, 12, 34, 0) 100%); padding-bottom: 26px; }
.ah3-canlar { display: flex; gap: 5px; font-size: 1.25rem; color: #ff5148; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); }
.ah3-canlar .is-yok { color: rgba(255, 255, 255, .28); }
.ah3-guc { display: flex; gap: 6px; margin-top: 7px; }
.ah3-guc span { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(7, 16, 42, .62); border: 1px solid rgba(255, 255, 255, .2); overflow: hidden; }
.ah3-guc u { position: absolute; left: 0; bottom: 0; height: 3px; background: currentColor; text-decoration: none; }
.g-k { color: #8fd0ff; } .g-m { color: #ff7a6b; } .g-t { color: #ffb14d; }
.ah3-orta { text-align: center; min-width: 170px; }
.ah3-puan { display: flex; justify-content: center; align-items: baseline; gap: 8px; }
.ah3-puan b { font-size: clamp(1.5rem, 4.2vw, 2.3rem); font-weight: 800; line-height: 1; letter-spacing: -.01em; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); font-variant-numeric: tabular-nums; }
.ah3-puan i { font-style: normal; font-weight: 800; font-size: 1.05rem; color: #7dffb0; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.ah3-zincir { height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .24); margin-top: 6px; overflow: hidden; }
.ah3-zincir span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7dffb0, #38d1ff); }
.ah3-sag { display: flex; justify-content: flex-end; align-items: center; gap: 12px; font-size: clamp(.95rem, 2.6vw, 1.15rem); font-weight: 800; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); font-variant-numeric: tabular-nums; }
.ah3-sag > div { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
@media (max-width: 480px) { .ah3-sag { gap: 7px; font-size: .86rem; } .ah3-orta { min-width: 96px; } }
.ah3-coin { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffec9f, #f0a818 70%); box-shadow: inset 0 0 0 2px #b77a00; }
.ah3-dur { pointer-events: auto; width: 38px; height: 38px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(7, 16, 42, .55); color: #fff; font-size: 1.15rem; display: grid; place-items: center; }
.ah3-afis { position: absolute; left: 50%; top: 21%; transform: translateX(-50%); min-width: min(330px, 80%); text-align: center; padding: 11px 26px 12px; border-radius: 14px; background: rgba(9, 26, 68, .9); border-left: 5px solid #e1251b; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); pointer-events: none; }
.ah3-afis.is-gir { animation: ah3Gir .34s cubic-bezier(.2, 1.3, .4, 1); }
.ah3-afis small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .2em; color: #ffd25e; }
.ah3-afis b { display: block; font-size: clamp(1.15rem, 3.4vw, 1.65rem); font-weight: 800; line-height: 1.2; }
.ah3-afis span { font-size: .8rem; color: #bfd2f5; }
@keyframes ah3Gir { from { opacity: 0; transform: translate(-50%, -14px) scale(.92); } }
.ah3-toast { position: absolute; left: 0; right: 0; top: 42%; display: flex; flex-direction: column; align-items: center; gap: 2px; pointer-events: none; }
.ah3-toast span { font-size: clamp(1rem, 2.8vw, 1.45rem); font-weight: 800; text-shadow: 0 2px 0 rgba(8, 16, 40, .85), 0 0 10px rgba(8, 16, 40, .6); animation: ah3Toast .9s ease-out forwards; }
@keyframes ah3Toast { from { opacity: 0; transform: translateY(14px) scale(.8); } 18% { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-28px); } }
.ah3-perde { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 14px; }
.ah3-koyu { background: rgba(5, 11, 30, .55); backdrop-filter: blur(4px); }
.ah3-koyu h3 { margin: 0; font-size: 1.7rem; font-weight: 800; }
.ah3-baslik { justify-content: space-between; background: linear-gradient(180deg, rgba(5, 12, 34, .62) 0%, rgba(5, 12, 34, 0) 38%, rgba(5, 12, 34, 0) 58%, rgba(5, 12, 34, .72) 100%); padding: clamp(14px, 3.4vw, 30px) 14px; }
.ah3-logo small { font-size: clamp(.68rem, 1.6vw, .85rem); font-weight: 800; letter-spacing: .3em; color: #ffd25e; }
.ah3-logo h2 { margin: 2px 0 2px; font-size: clamp(2.2rem, 8.4vw, 4.6rem); font-weight: 800; line-height: 1; letter-spacing: -.015em; text-shadow: 0 4px 22px rgba(0, 0, 0, .55); }
.ah3-logo h2 em { font-style: normal; color: #ff4a3d; }
.ah3-logo p { margin: 0; font-size: clamp(.86rem, 2.2vw, 1.1rem); font-weight: 600; opacity: .94; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.ah3-alt { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.ah3-btn { display: inline-flex; align-items: center; gap: 8px; height: clamp(44px, 7vw, 56px); padding: 0 clamp(26px, 5vw, 44px); border: 0; border-radius: 14px; background: linear-gradient(180deg, #ff4a3d, #c81e15); color: #fff; font: 800 clamp(1rem, 2.4vw, 1.3rem) "Outfit", system-ui, sans-serif; letter-spacing: .03em; cursor: pointer; box-shadow: 0 12px 26px -10px rgba(225, 37, 27, .85), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .12s; }
.ah3-btn:hover { transform: translateY(-2px) scale(1.02); }
.ah3-rekor { margin: 0; font-weight: 800; color: #ffd25e; font-size: .92rem; }
.ah3-ipucu { margin: 0; font-size: clamp(.7rem, 1.7vw, .86rem); color: rgba(255, 255, 255, .88); }
.ah3-ipucu kbd { display: inline-block; padding: 1px 6px; margin: 0 2px; border-radius: 5px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); font: 700 .78em "Outfit", system-ui, sans-serif; color: #fff; }
.ah3-panel { width: min(440px, 100%); padding: clamp(12px, 2.6vw, 22px) clamp(14px, 3vw, 26px); border-radius: 18px; background: rgba(9, 26, 68, .94); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .8); }
.ah3-panel h3 { font-size: clamp(1.1rem, 3vw, 1.5rem); }
.ah3-panel small { display: block; margin-top: 3px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; color: #ffd25e; }
.ah3-panel small.is-rekor { color: #7dffb0; }
.ah3-panel strong { display: block; font-size: clamp(2rem, 6.6vw, 3.1rem); font-weight: 800; line-height: 1.05; color: #ffd25e; font-variant-numeric: tabular-nums; }
.ah3-panel ul { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ah3-panel li { padding: 6px 2px; border-radius: 9px; background: rgba(255, 255, 255, .09); }
.ah3-panel li span { display: block; font-size: .64rem; color: #bfd2f5; text-transform: uppercase; letter-spacing: .04em; }
.ah3-panel li b { font-size: clamp(.82rem, 2.2vw, 1.02rem); }
.ah3-panel p { margin: 0 0 8px; font-size: .85rem; font-weight: 700; }
.ah3-panel .ah3-sira { color: #7dffb0; }
@media (max-width: 575px) and (orientation: portrait) { #ahOyun:not(.is-tam) .ah3-ipucu { display: none; } .ah3-orta { min-width: 110px; } }
