/* Bulut Çobanı — arayüz. Telefon öncelikli (360dp'de okunaklı), güvenli alan (çentik) uyumlu, tek baskın CTA alt başparmak bölgesinde.
   Görsel dil: sakin, olgun — yarı saydam KAĞIT paneller (krem, ince kenar, yumuşak gölge), mürekkep lacivert yazı,
   derin deniz yeşili ana düğme, altın yıldız. Başlık: Fraunces (yumuşak serif), metin: Figtree. Yazı tipleri çevrimdışı. */

@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(font/fraunces-latin-soft-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(font/fraunces-latin-ext-soft-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900; src: url(font/figtree-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900; src: url(font/figtree-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --kagit: rgba(250, 246, 238, 0.88);
  --kagit-kati: #f8f3ea;
  --kagit-2: #efe7d9;
  --sayfa: #ece4d6;
  --yazi: #1e2b35;
  --soluk: #5f6c74;
  --cizgi: rgba(30, 43, 53, 0.12);
  --cizgi-2: rgba(30, 43, 53, 0.22);
  --deniz: #2c5f6d;
  --deniz-koyu: #1d4350;
  --deniz-acik: #dbe9ea;
  --altin: #d6a13c;
  --altin-acik: #f3dfb0;
  --yaprak: #5b8c4f;
  --sel: #3373b3;
  --kurak: #b5742c;
  --tehlike: #b04d3c;
  --golge: 0 10px 30px -14px rgba(20, 30, 38, 0.45), 0 2px 6px -2px rgba(20, 30, 38, 0.18);
  --golge-buyuk: 0 24px 60px -20px rgba(20, 30, 38, 0.55);
  --yaricap: 20px;
  --baslik: "Fraunces", Georgia, "Times New Roman", "Noto Serif", "Noto Naskh Arabic", "Noto Sans Arabic", "Noto Serif Devanagari", "Noto Sans Devanagari", serif;
  --metin: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", "Noto Sans Devanagari", sans-serif;
  --st: env(safe-area-inset-top, 0px);
  --sb: env(safe-area-inset-bottom, 0px);
  --sl: env(safe-area-inset-left, 0px);
  --sr: env(safe-area-inset-right, 0px);
  font-family: var(--metin);
  color-scheme: light;
}

html, body { background: #9fc2c9; color: var(--yazi); }
body { padding: 0; font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
#app { position: fixed; inset: 0; overflow: hidden; background: linear-gradient(180deg, #bcd6df 0%, #e9e3d4 46%, #8db7bf 47%, #5e929c 100%); }
#sahne { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
button { border: 0; background: none; color: inherit; font: inherit; }
.ik { width: 22px; height: 22px; flex: none; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-family: var(--baslik); font-weight: 600; font-variation-settings: "SOFT" 100, "opsz" 48; letter-spacing: -0.01em; }
h2 { font-size: 24px; }

/* ---------------- düğmeler ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 20px; border-radius: 16px;
  font-weight: 700; font-size: 16.5px; letter-spacing: 0.005em;
  transition: transform 0.12s ease, filter 0.15s ease, opacity 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent; cursor: pointer; text-align: center;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: default; }
.btn.ana { color: #f8f3ea; background: linear-gradient(180deg, #357181, var(--deniz) 55%, var(--deniz-koyu)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px -12px rgba(29, 67, 80, 0.9); }
.btn.ikincil { background: rgba(255, 255, 255, 0.55); color: var(--yazi); box-shadow: inset 0 0 0 1px var(--cizgi-2); }
.btn.tehlike { background: var(--tehlike); color: #fff; }
.btn.reklam { color: var(--yazi); background: linear-gradient(180deg, #fbf0d6, var(--altin-acik)); box-shadow: inset 0 0 0 1px rgba(150, 105, 30, 0.35), 0 8px 20px -12px rgba(150, 105, 30, 0.7); min-height: 46px; font-size: 15px; font-weight: 700; }
.btn.reklam .ik { color: #8a5f1a; }
.btn.buyuk { min-height: 58px; font-size: 19px; padding: 0 26px; flex: 1; border-radius: 18px; }
.btn.mini { min-height: 36px; font-size: 14px; padding: 0 13px; border-radius: 11px; gap: 5px; }
.btn.mini .ik { width: 17px; height: 17px; }
.btn .ik { width: 20px; height: 20px; }
.ikon-btn { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--kagit); color: var(--yazi); box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); cursor: pointer; flex: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ikon-btn:active { transform: scale(0.94); }
.ikon-btn.buyuk-ikon { width: 58px; height: 58px; border-radius: 18px; }
.ikon-btn.buyuk-ikon .ik { width: 26px; height: 26px; }
.baglanti { color: var(--deniz); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; padding: 10px 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tehlike-yazi { color: var(--tehlike); }

/* ---------------- ekran katmanı ---------------- */
.ekran { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(var(--st) + 10px) calc(var(--sr) + 16px) calc(var(--sb) + 14px) calc(var(--sl) + 16px); overflow-y: auto; overscroll-behavior: contain; z-index: 20; }
.ekran-home, .ekran-splash, .ekran-intro, .ekran-result, .ekran-lose, .ekran-consent { overflow: hidden; }
.ekran-home { background: linear-gradient(180deg, rgba(240, 233, 220, 0.55) 0%, rgba(240, 233, 220, 0) 26%, rgba(240, 233, 220, 0) 58%, rgba(30, 50, 60, 0.28) 100%); }
.ekran-splash, .ekran-consent { background: radial-gradient(120% 70% at 50% 25%, #f4eee2, #d9e6e6 70%, #b9d2d6); }
.ekran-ada, .ekran-album, .ekran-tasks, .ekran-shop, .ekran-events { background: var(--sayfa) radial-gradient(140% 60% at 50% -10%, #f7f2e9, transparent 70%); }
.ekran-intro, .ekran-result { background: linear-gradient(180deg, rgba(236, 228, 214, 0) 0%, rgba(236, 228, 214, 0.35) 40%, rgba(236, 228, 214, 0.86) 100%); }
.ekran-lose { background: linear-gradient(180deg, rgba(20, 30, 38, 0) 0%, rgba(20, 30, 38, 0) 40%, rgba(20, 30, 38, 0.35) 100%); justify-content: flex-end; }

.ust-cubuk { display: flex; align-items: center; gap: 8px; min-height: 52px; flex: none; }
.ust-baslik { flex: 1; font-size: 22px; text-align: center; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bosluk { flex: 1; }
.para { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 14px 0 9px; border-radius: 20px; background: var(--kagit); box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.para .ik { width: 24px; height: 24px; }
.vur { animation: vur 0.45s ease; }
@keyframes vur { 35% { transform: scale(1.14); } }
.seviye-rozet { position: relative; width: 46px; height: 46px; display: grid; place-items: center; background: var(--kagit); border-radius: 50%; box-shadow: var(--golge); flex: none; }
.seviye-rozet svg { position: absolute; inset: 2px; width: 42px; height: 42px; transform: rotate(-90deg); }
.seviye-rozet .halka-zemin { fill: none; stroke: var(--cizgi); stroke-width: 3; }
.seviye-rozet .halka { fill: none; stroke: var(--deniz); stroke-width: 3; stroke-linecap: round; }
.seviye-rozet b { font-size: 16px; font-weight: 800; font-family: var(--baslik); }

/* logo */
.logo { display: inline-flex; flex-direction: column; align-items: center; color: var(--yazi); }
.logo-isaret { width: 76px; height: 57px; color: #fbf8f2; filter: drop-shadow(0 2px 0 rgba(30, 43, 53, 0.18)) drop-shadow(0 8px 14px rgba(30, 43, 53, 0.25)); }
.logo-yazi { font-family: var(--baslik); font-size: 46px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; font-variation-settings: "SOFT" 100, "opsz" 144; color: var(--yazi); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); white-space: nowrap; }
.logo-yazi em { font-style: normal; font-weight: 400; color: var(--deniz); }
.logo.kucuk .logo-yazi { font-size: 34px; }
.logo-orta { display: flex; justify-content: center; margin-top: 2vh; }
.slogan { text-align: center; margin: 8px auto 0; max-width: 300px; font-weight: 500; color: #33424c; font-size: 15.5px; line-height: 1.45; }

/* açılış */
.acilis { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
.yukleniyor { width: 140px; height: 3px; border-radius: 3px; background: var(--cizgi); overflow: hidden; }
.yukleniyor i { display: block; height: 100%; width: 40%; border-radius: 3px; background: var(--deniz); animation: yuk 1.1s ease-in-out infinite; }
@keyframes yuk { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.studyo { color: var(--soluk); font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; font-size: 11px; position: absolute; bottom: calc(var(--sb) + 26px); }

/* ana ekran */
.ana-govde { flex: 1; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.alt-bolge { display: flex; flex-direction: column; gap: 12px; flex: none; }
.oyna-satir { display: flex; align-items: center; gap: 10px; }
.btn.oyna { flex: 1; flex-direction: column; gap: 1px; min-height: 76px; border-radius: 22px; }
.oyna-ust { font-size: 13.5px; font-weight: 600; opacity: 0.85; letter-spacing: 0.01em; }
.oyna-alt { font-size: 26px; font-weight: 600; line-height: 1.1; font-family: var(--baslik); font-variation-settings: "SOFT" 100; }
.alt-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--kagit); border-radius: 22px; padding: 5px; box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-btn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px 7px; border-radius: 17px; color: var(--yazi); font-size: 12px; font-weight: 600; cursor: pointer; min-height: 58px; justify-content: center; }
.nav-btn .ik { width: 24px; height: 24px; color: var(--deniz); }
.nav-btn:active:not(:disabled) { background: rgba(44, 95, 109, 0.08); }
.nav-btn.kilitli { color: #8b959b; }
.nav-btn.kilitli > .ik { opacity: 0.35; color: #8b959b; }
.kilit-rozet { position: absolute; top: 5px; right: 16%; width: 18px; height: 18px; border-radius: 50%; background: #8b959b; color: #fff; display: grid; place-items: center; }
.kilit-rozet .ik { width: 11px; height: 11px; }
.nav-btn span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rozet-nokta { position: absolute; top: 3px; right: 14%; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--tehlike); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--kagit-kati); }
.etkinlik-serit { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 18px; background: var(--kagit); color: var(--yazi); text-align: start; box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); cursor: pointer; width: 100%; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.etkinlik-serit > .ik:first-child { width: 34px; height: 34px; padding: 7px; border-radius: 12px; background: var(--deniz-acik); color: var(--deniz); }
.etkinlik-serit span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.etkinlik-serit b { font-size: 15px; font-weight: 700; }
.etkinlik-serit small { color: var(--soluk); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.etkinlik-serit > .ik:last-child { color: var(--soluk); }

/* kartlar ve modallar */
.kart { background: var(--kagit); border-radius: var(--yaricap); box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); padding: 18px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.modal-katman { position: absolute; inset: 0; z-index: 40; }
.modal { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(22, 32, 40, 0.42); padding: calc(var(--st) + 14px) calc(var(--sr) + 12px) calc(var(--sb) + 12px) calc(var(--sl) + 12px); opacity: 0; transition: opacity 0.18s; }
.modal.acik { opacity: 1; }
.modal-kutu { width: min(100%, 460px); max-height: 100%; overflow-y: auto; background: var(--kagit-kati); border-radius: 26px; padding: 20px; box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge-buyuk); transform: translateY(24px); transition: transform 0.24s cubic-bezier(.2, .9, .3, 1.1); overscroll-behavior: contain; }
.modal.acik .modal-kutu { transform: none; }
.modal.kucuk { align-items: center; }
.modal.tam .modal-kutu { height: 100%; }
.modal-bas { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; }
.modal-bas .ikon-btn { box-shadow: inset 0 0 0 1px var(--cizgi); background: transparent; backdrop-filter: none; }
.orta-baslik { text-align: center; margin-bottom: 16px; }
.dikey-dugmeler { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.dikey-dugmeler .btn { justify-content: flex-start; padding: 0 18px; }
.dikey-dugmeler .btn.ana { justify-content: center; }
.dugme-satir { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.metin-orta { text-align: center; margin: 10px 0; font-weight: 500; }
.soluk { color: var(--soluk); }
.kucuk-yazi { font-size: 13px; }
.not { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--soluk); margin: 8px 2px 4px; line-height: 1.4; }
.not .ik { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* rıza */
.riza { flex: 1; display: flex; flex-direction: column; gap: 18px; justify-content: space-between; }
.riza-kart h2 { margin-bottom: 8px; }
.riza-kart p { margin: 0 0 12px; color: var(--soluk); font-weight: 500; line-height: 1.5; }
.madde-liste { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.madde-liste li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; line-height: 1.4; }
.madde-liste .ik { color: var(--yaprak); width: 20px; height: 20px; margin-top: 1px; }
.alt-cta { display: flex; flex-direction: column; gap: 10px; }

/* seviye girişi */
.giris { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.giris-kart { display: flex; flex-direction: column; gap: 10px; animation: yukari 0.32s cubic-bezier(.2, .9, .3, 1.1); max-height: 72vh; overflow-y: auto; }
@keyframes yukari { from { transform: translateY(26px); opacity: 0; } }
.ust-yazi { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--deniz); }
:lang(tr) .ust-yazi { text-transform: none; letter-spacing: 0.04em; font-size: 13px; }
.giris-kart h1 { font-size: 32px; }
.hedef { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; padding: 10px 13px; border-radius: 14px; background: rgba(91, 140, 79, 0.12); color: #2f5a28; box-shadow: inset 0 0 0 1px rgba(91, 140, 79, 0.28); }
.hedef.ikincil { background: rgba(214, 161, 60, 0.12); color: #6e4c12; box-shadow: inset 0 0 0 1px rgba(214, 161, 60, 0.3); font-size: 15px; font-weight: 600; }
.hedef.ustalik { background: rgba(44, 95, 109, 0.09); color: var(--deniz-koyu); box-shadow: inset 0 0 0 1px rgba(44, 95, 109, 0.24); font-size: 15px; font-weight: 600; }
.giris-adalar { display: flex; flex-wrap: wrap; gap: 6px; }
.giris-ada { display: flex; flex-direction: column; padding: 7px 11px; border-radius: 12px; background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px var(--cizgi); flex: 1 1 120px; }
.giris-ada b { font-size: 14.5px; font-weight: 700; }
.giris-ada small { color: var(--soluk); font-size: 12.5px; }
.ipucu { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 11px 13px; border-radius: 14px; background: var(--deniz-acik); color: var(--deniz-koyu); font-weight: 500; line-height: 1.45; font-size: 15px; }
.ipucu .ik { flex: none; width: 20px; height: 20px; }

/* koç balonu + öğretici izi */
.koc { position: absolute; z-index: 15; top: var(--koc-ust, calc(var(--st) + 172px)); left: 50%; transform: translate(-50%, -8px); max-width: min(88vw, 380px); padding: 11px 16px; border-radius: 16px; background: var(--yazi); color: #f8f3ea; font-weight: 600; font-size: 15.5px; text-align: center; box-shadow: var(--golge); opacity: 0; transition: opacity 0.25s, transform 0.25s; pointer-events: none; }
.koc.goster { opacity: 1; transform: translate(-50%, 0); }
.iz-katman { position: absolute; inset: 0; z-index: 12; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.iz-katman.goster { opacity: 1; }
.iz-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.iz-yol { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 11; opacity: 0.9; filter: drop-shadow(0 1px 2px rgba(20, 30, 38, 0.5)); animation: iz-ak 0.9s linear infinite; }
.tur-ipucu .iz-yol { stroke: var(--altin-acik); stroke-width: 5; }
@keyframes iz-ak { to { stroke-dashoffset: -26; } }
.iz-el { position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -6px 0 0 -14px; color: #fff; offset-rotate: 0deg; offset-anchor: 14px 6px; animation: el-kay 2.2s cubic-bezier(.45, 0, .35, 1) infinite; filter: drop-shadow(0 3px 5px rgba(20, 30, 38, 0.55)); }
.iz-el .ik { width: 46px; height: 46px; stroke-width: 1.4; }
@keyframes el-kay { 0% { offset-distance: 0%; opacity: 0; } 10% { offset-distance: 0%; opacity: 1; } 75% { offset-distance: 100%; opacity: 1; } 90% { offset-distance: 100%; opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

/* ---------------- HUD ---------------- */
.hud { position: absolute; inset: 0; pointer-events: none; z-index: 10; padding: calc(var(--st) + 8px) calc(var(--sr) + 10px) calc(var(--sb) + 10px) calc(var(--sl) + 10px); display: flex; flex-direction: column; }
.hud button { pointer-events: auto; }
.hud-ust { display: flex; flex-direction: column; gap: 6px; }
.hud-kart { display: flex; flex-direction: column; gap: 6px; padding: 8px 12px 9px; border-radius: 18px; background: var(--kagit); box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hud-satir { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hud-seviye { font-family: var(--baslik); font-weight: 600; font-size: 17px; }
.hud-damla { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 15px; }
.hud-damla .ik { width: 20px; height: 20px; }
.murekkep { display: flex; align-items: center; gap: 8px; }
.mur-ikon { display: grid; color: var(--deniz); }
.mur-ikon .ik { width: 20px; height: 20px; }
.mur-cubuk { position: relative; flex: 1; height: 8px; border-radius: 5px; background: rgba(30, 43, 53, 0.1); }
.mur-cubuk i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 100%; border-radius: 5px; background: linear-gradient(90deg, #7fb1bd, var(--deniz)); transition: width 0.1s linear; }
.mur-cubuk em { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; color: var(--altin); display: grid; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)); }
.mur-cubuk em .ik { width: 16px; height: 16px; }
.mur-cubuk em.kayip { color: #b9bfc2; }
.murekkep b { font-weight: 800; font-size: 14.5px; min-width: 22px; text-align: end; font-variant-numeric: tabular-nums; }
.murekkep.az .mur-cubuk i { background: linear-gradient(90deg, #d79a85, var(--tehlike)); }
.ada-ozet { display: grid; grid-template-columns: 1fr; gap: 6px; }
.ada-ozet.n2, .ada-ozet.n3, .ada-ozet.n4 { grid-template-columns: 1fr 1fr; }
.ada-hap { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 6px 10px 6px 7px; border-radius: 14px; background: var(--kagit); box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow 0.25s; }
.ada-ikon { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; flex: none; background: rgba(181, 116, 44, 0.14); color: var(--kurak); }
.ada-ikon .ik { width: 18px; height: 18px; }
.ada-govde { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ada-ad { font-size: 12.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.1; }
.olcek { position: relative; height: 6px; border-radius: 3px; background: rgba(30, 43, 53, 0.1); }
.olcek .bant { position: absolute; inset-block: 0; border-radius: 3px; background: rgba(91, 140, 79, 0.55); }
.olcek .isaret { position: absolute; top: -3px; width: 4px; height: 12px; margin-left: -2px; border-radius: 2px; background: var(--yazi); transition: inset-inline-start 0.3s ease; }
.ada-sayi { font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; min-width: 14px; text-align: end; }
.ada-hap.dengede .ada-ikon { background: rgba(91, 140, 79, 0.16); color: var(--yaprak); }
.ada-hap.dengede { box-shadow: inset 0 0 0 1.5px rgba(91, 140, 79, 0.55), var(--golge); }
.ada-hap.sel .ada-ikon { background: rgba(51, 115, 179, 0.16); color: var(--sel); }
.ada-hap.sel { box-shadow: inset 0 0 0 1.5px var(--sel), var(--golge); }
.ada-hap.sel .olcek .isaret { background: var(--sel); }
.ada-hap.degisti { animation: vur 0.45s ease; }
/* renk körlüğü dostu: bant çizgili desen, durum etiketi metinle */
.renk-koru .olcek .bant { background: repeating-linear-gradient(135deg, rgba(30, 43, 53, 0.55) 0 2px, transparent 2px 5px); }
.renk-koru .ada-hap.dengede { box-shadow: inset 0 0 0 2px var(--yazi), var(--golge); }
.renk-koru .ada-hap.sel { box-shadow: inset 0 0 0 2px var(--yazi), var(--golge); outline: 2px dashed var(--yazi); outline-offset: -5px; }
.renk-koru .ada-ikon { background: var(--yazi) !important; color: #fff !important; }

.serit { align-self: center; margin-top: 8px; display: flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 14px; font-weight: 700; font-size: 14.5px; line-height: 1.3; color: var(--yazi); background: var(--kagit-kati); box-shadow: var(--golge); max-width: calc(100% - 20px); }
.serit .ik { width: 20px; height: 20px; flex: none; }
.serit.goster { animation: serit 0.3s cubic-bezier(.2, .9, .3, 1.2); }
.serit.iyi .ik { color: var(--yaprak); }
.serit.kotu { background: #fbe9e2; color: #6e2a1e; }
.serit.uyari { background: #e6eff8; color: #1d3f63; }
@keyframes serit { from { transform: translateY(-8px); opacity: 0; } }

.hud-alt { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.hud-yuvarlak { position: relative; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--kagit); box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); cursor: pointer; flex: none; }
.hud-yuvarlak:active { transform: scale(0.94); }
.hud-yuvarlak .ik { width: 24px; height: 24px; }
.ipucu-btn { color: #8a5f1a; background: linear-gradient(180deg, #fbf0d6, var(--altin-acik)); }
.reklam-rozet { position: absolute; right: -4px; top: -4px; width: 20px; height: 20px; border-radius: 7px; background: var(--yazi); color: #fff; display: grid; place-items: center; }
.reklam-rozet .ik { width: 13px; height: 13px; }
.arac-bos { flex: 1; }
.arac-secici { flex: 1; min-width: 0; display: flex; gap: 2px; padding: 4px; border-radius: 20px; background: var(--kagit); box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); max-width: 420px; margin: 0 auto; }
.arac { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 48px; border-radius: 16px; color: var(--soluk); font-size: 11.5px; font-weight: 700; cursor: pointer; transition: background 0.15s, color 0.15s; }
.arac .ik { width: 22px; height: 22px; }
.arac small { font-size: 10.5px; letter-spacing: -0.01em; max-width: calc(100% + 4px); white-space: nowrap; overflow: hidden; }
.arac.secili { background: var(--deniz); color: #f8f3ea; box-shadow: 0 6px 14px -8px rgba(29, 67, 80, 0.9); }
.arac:disabled { opacity: 0.35; }
.hak { position: absolute; top: 2px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--altin); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }

.ucan-damla { position: absolute; z-index: 16; display: flex; align-items: center; gap: 2px; transform: translate(-50%, -50%); font-weight: 800; color: var(--yazi); background: var(--kagit-kati); padding: 4px 10px 4px 6px; border-radius: 14px; box-shadow: var(--golge); pointer-events: none; animation: ucan 1.5s ease-out forwards; }
.ucan-damla .ik { width: 20px; height: 20px; }
@keyframes ucan { 0% { opacity: 0; transform: translate(-50%, -30%) scale(0.7); } 15% { opacity: 1; transform: translate(-50%, -60%) scale(1.05); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -260%) scale(0.95); } }

/* ---------------- sonuç ---------------- */
.sonuc { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 0; }
.sonuc-ust { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sonuc-ust h1 { font-size: 32px; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55); }
.yildiz-satir { display: flex; gap: 6px; margin-top: 6px; }
.buyuk-yildiz { width: 54px; height: 54px; color: rgba(30, 43, 53, 0.18); display: grid; }
.buyuk-yildiz .ik { width: 54px; height: 54px; }
.buyuk-yildiz:nth-child(2) { transform: translateY(-8px); }
.buyuk-yildiz.dolu { color: var(--altin); animation: yildiz 0.5s cubic-bezier(.2, .9, .3, 1.4) both; filter: drop-shadow(0 4px 8px rgba(160, 110, 20, 0.35)); }
.buyuk-yildiz.dolu:nth-child(2) { animation-name: yildiz2; }
@keyframes yildiz { from { transform: scale(0.2) rotate(-30deg); opacity: 0; } }
@keyframes yildiz2 { from { transform: translateY(-8px) scale(0.2) rotate(-30deg); opacity: 0; } to { transform: translateY(-8px); } }
.buyuk-skor { font-family: var(--baslik); font-size: 54px; font-weight: 600; color: var(--deniz-koyu); }
.sonuc-kart { display: flex; flex-direction: column; gap: 8px; max-height: 52vh; overflow-y: auto; }
.kosul { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--soluk); }
.kosul small { margin-inline-start: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--deniz); background: var(--deniz-acik); padding: 2px 8px; border-radius: 8px; }
:lang(tr) .kosul small { text-transform: none; letter-spacing: 0.02em; }
.kosul-yildiz { color: rgba(30, 43, 53, 0.3); display: grid; }
.kosul-yildiz .ik { width: 20px; height: 20px; }
.kosul.tamam { color: var(--yazi); }
.kosul.tamam .kosul-yildiz { color: var(--altin); }
.odul-satir { display: flex; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--cizgi); }
.odul-satir .odul { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 0 0 1px var(--cizgi); font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.odul-satir .odul .ik { width: 26px; height: 26px; }
.odul-satir .odul.xp .ik { color: var(--deniz); }
.odul-satir .odul small { font-size: 12px; color: var(--soluk); font-weight: 700; }
.bildirim { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--deniz-acik); color: var(--deniz-koyu); font-weight: 600; font-size: 14.5px; }
.bildirim .ik { width: 18px; height: 18px; flex: none; }
.bildirim.yeni { background: rgba(214, 161, 60, 0.16); color: #6e4c12; }
.yeni-kartlar { display: flex; align-items: center; gap: 10px; padding-top: 4px; }
.yeni-kartlar .mini-kart { width: 64px; flex: none; }
.yeni-kartlar p { margin: 0; font-weight: 600; color: var(--deniz-koyu); font-size: 14.5px; }
.sonuc-cta { flex: none; }

/* kaybetme: üst yarı açık kalır (odaklanan ada görünsün), panel altta */
.kaybet-panel { display: flex; flex-direction: column; gap: 10px; animation: yukari 0.3s cubic-bezier(.2, .9, .3, 1.1); }
.neden-satir { display: flex; align-items: center; gap: 12px; }
.neden-ikon { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex: none; background: rgba(181, 116, 44, 0.14); color: var(--kurak); }
.neden-ikon .ik { width: 28px; height: 28px; }
.neden-sel .neden-ikon { background: rgba(51, 115, 179, 0.14); color: var(--sel); }
.neden-sure .neden-ikon { background: rgba(30, 43, 53, 0.08); color: var(--yazi); }
.kaybet-panel h1 { font-size: 26px; }
.neden-ipucu { margin: 0; color: var(--soluk); font-weight: 500; line-height: 1.45; }
.ilerleme { display: flex; align-items: center; gap: 10px; }
.ilerleme .cubuk { flex: 1; width: auto; }
.ilerleme small { color: var(--soluk); font-weight: 600; white-space: nowrap; }

/* ---------------- sayfalar (ada, albüm, görevler, mağaza, etkinlik) ---------------- */
.sayfa { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; max-width: 560px; width: 100%; margin: 0 auto; }
.alt-baslik { font-size: 18px; margin: 14px 2px 2px; display: flex; align-items: center; gap: 8px; }
.alt-baslik .ik { width: 20px; height: 20px; color: var(--deniz); }
.alt-baslik .soluk { margin-inline-start: auto; font-family: var(--metin); font-size: 13px; font-weight: 600; }
.cubuk { position: relative; flex: none; width: 100%; height: 7px; border-radius: 4px; background: rgba(30, 43, 53, 0.1); overflow: hidden; }
.cubuk i { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 4px; background: linear-gradient(90deg, #8bb37c, var(--yaprak)); }
.durum-etiket { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13.5px; color: var(--yaprak); }
.durum-etiket .ik { width: 17px; height: 17px; }
.aciklama { margin: 2px 0 0; color: var(--soluk); font-size: 14px; line-height: 1.45; }

/* ada restorasyonu */
.ada-sahne { position: relative; border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); aspect-ratio: 3 / 2; background: #cfe0e4; }
.ada-sahne img { width: 100%; height: 100%; object-fit: cover; }
.ada-ilerleme { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 11px; background: var(--kagit-kati); font-weight: 700; font-size: 13.5px; box-shadow: var(--golge); }
.siradaki-adim { display: flex; flex-direction: column; gap: 6px; }
.adim-ust { display: flex; flex-direction: column; gap: 1px; }
.adim-ad { font-family: var(--baslik); font-size: 22px; font-weight: 600; }
.adim-alt { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.adim-alt .soluk { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 14px; }
.adim-alt .soluk .ik { width: 18px; height: 18px; }
.adim-alt .btn { min-width: 116px; }
.adim-listesi { display: flex; flex-wrap: wrap; gap: 6px; }
.adim-cip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 7px; border-radius: 11px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.5); color: #8b959b; box-shadow: inset 0 0 0 1px var(--cizgi); }
.adim-cip .ik { width: 15px; height: 15px; }
.adim-cip.tamam { color: #2f5a28; background: rgba(91, 140, 79, 0.12); box-shadow: inset 0 0 0 1px rgba(91, 140, 79, 0.3); }
.adim-cip.sira { color: var(--deniz-koyu); background: var(--deniz-acik); box-shadow: inset 0 0 0 1px rgba(44, 95, 109, 0.35); }
.gok-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.gok-kart { display: flex; flex-direction: column; gap: 6px; padding: 8px 8px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 0 0 1px var(--cizgi); align-items: flex-start; }
.gok-kart.secili { box-shadow: inset 0 0 0 2px var(--deniz); }
.gok-ornek { width: 100%; height: 54px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--cizgi); }
.gok-kart b { font-size: 14.5px; padding: 0 2px; }
.gok-kart .durum-etiket, .gok-kart .btn { margin: 0 2px; }

/* albüm */
.album-ozet { display: flex; flex-direction: column; gap: 8px; }
.album-ozet > div:first-child { display: flex; align-items: baseline; gap: 8px; }
.album-ozet b { font-family: var(--baslik); font-size: 30px; font-weight: 600; }
.album-ozet span { color: var(--soluk); font-weight: 600; }
.album-ozet .cubuk { flex: none; }
.kart-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-kart { position: relative; display: flex; flex-direction: column; gap: 5px; padding: 5px 5px 7px; border-radius: 14px; background: #fbf8f2; box-shadow: inset 0 0 0 1px var(--cizgi), 0 6px 14px -10px rgba(20, 30, 38, 0.5); cursor: pointer; text-align: center; }
.mini-kart img { width: 100%; aspect-ratio: 3 / 4; border-radius: 10px; object-fit: cover; }
.mini-kart small { font-size: 12px; font-weight: 600; line-height: 1.2; min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
.mini-kart.yok { background: rgba(255, 255, 255, 0.35); box-shadow: inset 0 0 0 1px var(--cizgi); cursor: default; }
.mini-kart.yok small { color: #9aa3a8; }
.mini-kart.yeni::after { content: ""; position: absolute; top: 9px; right: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--tehlike); box-shadow: 0 0 0 2px #fbf8f2; }
.kart-buyuk { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 0 6px; }
.kart-buyuk img { width: min(66vw, 240px); aspect-ratio: 3 / 4; border-radius: 16px; box-shadow: 0 0 0 6px #fbf8f2, 0 0 0 7px var(--cizgi), var(--golge-buyuk); margin-bottom: 14px; animation: kart-gel 0.45s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes kart-gel { from { transform: rotateY(70deg) scale(0.9); opacity: 0; } }
.kart-buyuk b { font-family: var(--baslik); font-size: 24px; font-weight: 600; }
.kart-buyuk small { color: var(--soluk); font-weight: 600; }

/* görevler */
.gorev { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: var(--kagit); box-shadow: inset 0 0 0 1px var(--cizgi); }
.gorev-ust { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.gorev-ust small { color: var(--soluk); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gorev-alt { display: flex; align-items: center; justify-content: space-between; }
.gorev .odul { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }
.gorev .odul .ik { width: 20px; height: 20px; }
.gorev .odul .arti { color: var(--soluk); font-weight: 600; margin: 0 2px; }
.gorev.hazir { box-shadow: inset 0 0 0 1.5px var(--yaprak); }
.gorev.alindi { opacity: 0.6; }
.seri-kart { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; margin-top: 8px; }
.seri-kart b { font-family: var(--baslik); font-size: 34px; font-weight: 600; grid-row: span 2; color: var(--deniz); }
.seri-kart span { font-weight: 700; }
.seri-kart small { grid-column: 2; font-size: 13.5px; line-height: 1.4; }

/* mağaza */
.urun-kart { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px; background: var(--kagit); box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); }
.urun-kart.vurgu { box-shadow: inset 0 0 0 1.5px var(--altin), var(--golge); background: linear-gradient(180deg, #fbf3e0, var(--kagit-kati)); }
.urun-ust { display: flex; gap: 12px; align-items: flex-start; }
.urun-ust b { font-size: 17px; font-family: var(--baslik); font-weight: 600; }
.urun-ikon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--deniz-acik); color: var(--deniz); flex: none; }
.urun-ikon .ik { width: 24px; height: 24px; }
.urun-kart > .btn, .urun-kart > .durum-etiket { align-self: flex-end; min-width: 120px; }

/* etkinlik */
.etkinlik-kart { display: flex; flex-direction: column; gap: 10px; }
.ev-bas { display: flex; align-items: center; gap: 12px; }
.ev-bas b { font-family: var(--baslik); font-size: 19px; font-weight: 600; display: block; }
.ev-bas small { color: var(--soluk); font-weight: 600; }
.ev-ikon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--deniz-acik); color: var(--deniz); flex: none; }
.basamaklar { display: flex; flex-direction: column; gap: 6px; }
.basamak { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 7px 8px 7px 12px; border-radius: 13px; background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px var(--cizgi); }
.basamak-hedef { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-variant-numeric: tabular-nums; }
.basamak-hedef .ik { width: 16px; height: 16px; color: var(--altin); }
.basamak .odul { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; }
.basamak .odul .ik { width: 18px; height: 18px; }
.basamak.hazir { box-shadow: inset 0 0 0 1.5px var(--yaprak); }
.basamak.alindi { opacity: 0.55; }
.etkinlik-kart > .btn { align-self: stretch; }

/* seviye listesi */
.bolge-baslik { font-size: 16px; margin: 12px 2px 8px; color: var(--deniz-koyu); }
.bolum-izgara { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.bolge-baslik { grid-column: 1 / -1; }
.bolum-btn { aspect-ratio: 1; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--cizgi); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; cursor: pointer; }
.bolum-btn b { font-family: var(--baslik); font-size: 18px; font-weight: 600; display: grid; }
.bolum-btn b .ik { width: 16px; height: 16px; color: #9aa3a8; }
.bolum-btn .yildizlar { display: flex; gap: 1px; }
.bolum-btn .yildizlar i { color: rgba(30, 43, 53, 0.16); display: grid; }
.bolum-btn .yildizlar i.dolu { color: var(--altin); }
.bolum-btn .yildizlar .ik { width: 11px; height: 11px; }
.bolum-btn.kilitli { background: rgba(255, 255, 255, 0.4); cursor: default; }
.bolum-btn.simdiki { box-shadow: inset 0 0 0 2px var(--deniz); }

/* yardım */
.yardim { display: flex; flex-direction: column; gap: 10px; }
.yardim-satir { display: flex; gap: 12px; align-items: flex-start; }
.yardim-satir p { margin: 0; line-height: 1.45; }
.yardim-ikon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--deniz-acik); color: var(--deniz); flex: none; }

/* ayarlar */
.ayarlar { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.ayar { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 4px; border-bottom: 1px solid var(--cizgi); }
.ayar > .ik { color: var(--deniz); }
.ayar span { flex: 1; font-weight: 600; display: flex; flex-direction: column; }
.ayar span small { color: var(--soluk); font-weight: 500; font-size: 12.5px; }
.ayar select { font: inherit; font-weight: 600; padding: 8px 10px; border-radius: 11px; border: 1px solid var(--cizgi-2); background: #fff; color: var(--yazi); max-width: 52%; }
.ayar input[type=range] { width: 46%; accent-color: var(--deniz); }
.anahtar { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 14px; background: rgba(30, 43, 53, 0.18); position: relative; cursor: pointer; transition: background 0.2s; flex: none; }
.anahtar::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.2s; }
.anahtar:checked { background: var(--deniz); }
.anahtar:checked::after { transform: translateX(20px); }
[dir=rtl] .anahtar:checked::after { transform: translateX(-20px); }
[dir=rtl] .anahtar::after { left: auto; right: 3px; }
.baglanti-satir { display: flex; flex-wrap: wrap; justify-content: center; }
.surum { text-align: center; color: var(--soluk); font-size: 12.5px; margin: 10px 0 0; }

/* debug */
.debug-izgara { display: flex; flex-wrap: wrap; gap: 6px; }
.log { margin-top: 10px; font: 11px/1.4 ui-monospace, monospace; max-height: 40vh; overflow: auto; background: rgba(30, 43, 53, 0.06); padding: 8px; border-radius: 10px; }
.log-satir { word-break: break-all; }
.fps { position: absolute; z-index: 60; left: 8px; bottom: calc(var(--sb) + 80px); font: 12px ui-monospace, monospace; background: rgba(0, 0, 0, 0.6); color: #fff; padding: 2px 6px; border-radius: 6px; }

/* toast */
.toast { position: absolute; z-index: 60; left: 50%; bottom: calc(var(--sb) + 104px); transform: translate(-50%, 12px); display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 15px; background: var(--yazi); color: #f8f3ea; font-weight: 600; font-size: 14.5px; box-shadow: var(--golge-buyuk); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; max-width: calc(100% - 32px); }
.toast .ik { width: 20px; height: 20px; flex: none; }
.toast.goster { opacity: 1; transform: translate(-50%, 0); }

.hata { margin: auto; text-align: center; padding: 30px; font-weight: 600; }

/* kısa ekranlar (yatay telefon / küçük cihaz) */
@media (max-height: 640px) {
  .logo-yazi { font-size: 36px; }
  .logo-isaret { width: 56px; height: 42px; }
  .slogan { display: none; }
  .btn.oyna { min-height: 64px; }
  .giris-kart h1, .sonuc-ust h1 { font-size: 26px; }
  .buyuk-yildiz, .buyuk-yildiz .ik { width: 44px; height: 44px; }
}
/* tablet */
@media (min-width: 700px) {
  .ekran-home .alt-bolge, .giris, .sonuc, .riza { width: 100%; max-width: 520px; margin-inline: auto; }
  .hud-ust { max-width: 640px; width: 100%; margin: 0 auto; }
  .ada-ozet.n3, .ada-ozet.n4 { grid-template-columns: repeat(4, 1fr); }
  .hud-alt { max-width: 640px; width: 100%; margin-inline: auto; }
  .kart-izgara { grid-template-columns: repeat(6, 1fr); }
  .bolum-izgara { grid-template-columns: repeat(8, 1fr); }
  .logo-yazi { font-size: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
