@font-face { font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700; src: url(fonts/space-grotesk-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: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700; src: url(fonts/space-grotesk-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; }
@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-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: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-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; }
@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-cyrillic-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-vietnamese-wght-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
/* Koku Rotası — arayüz. Telefon öncelikli; güvenli alan (çentik) uyumlu; ana CTA alt başparmak bölgesinde.
   Görsel dil: makro doğa — koyu toprak tonlu cam paneller, bal/kehribar vurgu, taze yaprak yeşili onay rengi. */

:root {
  --toprak: #1c140c;
  --panel: rgba(30, 22, 13, 0.86);
  --panel-2: rgba(44, 32, 19, 0.94);
  --kenar: rgba(255, 214, 150, 0.16);
  --yazi: #fbf3e4;
  --soluk: #b9a588;
  --bal: #ffc94d;
  --kehribar: #f2a72c;
  --yaprak: #8fd85a;
  --yaprak-koyu: #4f8a26;
  --cicek: #ff8a5c;
  --gok: #8fdcff;
  --tehlike: #ff5a4a;
  --reklam: #6a8f3a;
  --golge: 0 12px 34px -14px rgba(0, 0, 0, 0.85);
  --yaricap: 20px;
  --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: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", "Noto Sans Devanagari", sans-serif;
  color-scheme: dark;
}

html, body { background: var(--toprak); color: var(--yazi); }
body { padding: 0; }
#app { position: fixed; inset: 0; overflow: hidden; }
#sahne { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
button { border: 0; background: none; color: inherit; font: inherit; }
svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }

/* ---------------- düğmeler ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 16px;
  font-weight: 900; font-size: 17px; letter-spacing: 0.01em;
  transition: transform 0.12s ease, filter 0.15s ease, opacity 0.15s;
  -webkit-tap-highlight-color: transparent; cursor: pointer;
}
.btn:active:not(:disabled) { transform: scale(0.96); }
.btn:disabled { opacity: 0.42; cursor: default; }
.btn.ana { color: #2a1804; background: linear-gradient(180deg, #ffe08a, var(--bal) 45%, var(--kehribar)); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset, 0 -3px 0 rgba(150, 80, 0, 0.35) inset, 0 10px 26px -10px rgba(242, 167, 44, 0.85); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn.ikincil { background: rgba(255, 240, 210, 0.07); color: var(--yazi); box-shadow: inset 0 0 0 1.5px var(--kenar); }
.btn.tehlike { background: var(--tehlike); color: #fff; }
.btn.reklam { color: #fff; background: linear-gradient(180deg, #8fbf4a, var(--reklam)); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 8px 22px -8px rgba(143, 216, 90, 0.7); min-height: 46px; font-size: 15px; }
.btn.buyuk { min-height: 60px; font-size: 20px; padding: 0 30px; flex: 1; }
.btn.kucuk { min-height: 42px; font-size: 15px; padding: 0 16px; border-radius: 13px; }
.btn.mini { min-height: 34px; font-size: 13px; padding: 0 12px; border-radius: 11px; }
.btn svg { width: 20px; height: 20px; }
.ikon-btn { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--panel); color: var(--yazi); box-shadow: inset 0 0 0 1.5px var(--kenar), var(--golge); cursor: pointer; flex: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ikon-btn:active { transform: scale(0.93); }
.ikon-btn.buyuk-ikon { width: 60px; height: 60px; border-radius: 19px; }
.ikon-btn.buyuk-ikon svg { width: 28px; height: 28px; }
.ikon-yer { width: 60px; flex: none; }
.baglanti { color: var(--bal); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; padding: 10px; cursor: pointer; }
.tehlike-yazi { color: var(--tehlike); }
.nabiz { animation: nabiz 1.6s ease-in-out infinite; }
@keyframes nabiz { 50% { transform: scale(1.06); } }

/* ---------------- ekran katmanı ---------------- */
.ekran { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(var(--st) + 10px) calc(var(--sr) + 14px) calc(var(--sb) + 12px) calc(var(--sl) + 14px); overflow-y: auto; overscroll-behavior: contain; }
.ekran-home, .ekran-splash, .ekran-intro, .ekran-result, .ekran-consent { overflow: hidden; }
.ekran-home { background: linear-gradient(180deg, rgba(20, 13, 6, 0.6) 0%, rgba(20, 13, 6, 0) 30%, rgba(20, 13, 6, 0) 56%, rgba(20, 13, 6, 0.88) 100%); }
.ekran-splash, .ekran-consent { background: radial-gradient(120% 70% at 50% 30%, rgba(90, 60, 20, 0.55), rgba(20, 13, 6, 0.95)); }
.ekran-colony, .ekran-seeds, .ekran-tasks, .ekran-shop, .ekran-events { background: linear-gradient(180deg, rgba(26, 18, 10, 0.97), rgba(18, 24, 12, 0.97)); }
.ekran-intro, .ekran-result { background: radial-gradient(120% 80% at 50% 0%, rgba(20, 13, 6, 0.25), rgba(20, 13, 6, 0.86)); }

.ust-cubuk { display: flex; align-items: center; gap: 8px; min-height: 52px; }
.bosluk { flex: 1; }
.para { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 8px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--kenar), var(--golge); font-weight: 900; font-size: 16px; color: var(--yazi); }
.para svg { width: 26px; height: 26px; }
.para.kese { cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(143, 216, 90, 0.6), 0 0 18px -4px rgba(143, 216, 90, 0.8); }
.seviye-rozet { position: relative; width: 48px; height: 48px; display: grid; place-items: center; background: var(--panel); border-radius: 50%; box-shadow: var(--golge); }
.seviye-rozet svg { position: absolute; inset: 3px; width: 42px; height: 42px; transform: rotate(-90deg); }
.seviye-rozet .halka-zemin { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 4; }
.seviye-rozet .halka { fill: none; stroke: var(--yaprak); stroke-width: 4; stroke-linecap: round; }
.seviye-rozet b { font-size: 17px; font-weight: 1000; }

/* logo — oyulmuş ahşap tabela hissi */
.logo { position: relative; display: inline-flex; flex-direction: column; align-items: center; line-height: 0.95; font-family: "Space Grotesk", "Nunito", system-ui, sans-serif; }
.logo-karinca { width: 92px; height: 58px; color: #5a3a1c; filter: drop-shadow(0 0 1px rgba(255, 220, 160, 0.6)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); margin-bottom: 4px; }
.logo-ust { font-size: 58px; font-weight: 700; letter-spacing: 0.04em; color: var(--bal); background: linear-gradient(180deg, #fff1c4 0%, #ffc94d 45%, #d9861a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 3px 0 #5a3008) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55)); }
.logo-alt { font-size: 30px; font-weight: 700; letter-spacing: 0.42em; margin-left: 0.42em; margin-top: 4px; color: #e9f7d8; text-shadow: 0 2px 0 #2a4a10, 0 8px 18px rgba(0, 0, 0, 0.6); }
.logo-iz { width: 170px; height: 12px; color: var(--bal); margin-top: 8px; fill: none; }
.logo-orta { display: flex; justify-content: center; margin-top: 3vh; }
.logo-orta.kucuk .logo-ust { font-size: 50px; }
.logo-orta.kucuk .logo-alt { font-size: 26px; }
.logo-orta.kucuk .logo-karinca { width: 76px; height: 48px; }
.slogan { text-align: center; margin: 2px 0 0; font-weight: 800; color: #f2e4c8; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85); letter-spacing: 0.02em; }

/* açılış */
.acilis { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
.yukleniyor { width: 160px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.yukleniyor i { display: block; height: 100%; width: 40%; border-radius: 6px; background: linear-gradient(90deg, var(--yaprak), var(--bal)); animation: yuk 1s ease-in-out infinite; }
@keyframes yuk { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.studyo { color: rgba(255, 245, 225, 0.7); font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; position: absolute; bottom: calc(var(--sb) + 26px); }

/* ana menü */
.ana-govde { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.alt-bolge { display: flex; flex-direction: column; gap: 14px; }
.oyna-satir { display: flex; align-items: center; gap: 10px; }
.btn.oyna { flex: 1; flex-direction: column; gap: 0; min-height: 76px; border-radius: 22px; }
.oyna-ust { font-size: 14px; font-weight: 800; opacity: 0.85; }
.oyna-alt { font-size: 26px; font-weight: 1000; line-height: 1.1; font-family: "Space Grotesk", "Nunito", system-ui, sans-serif; }
.alt-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; background: var(--panel); border-radius: 22px; padding: 6px; box-shadow: inset 0 0 0 1.5px var(--kenar), var(--golge); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav-btn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 16px; color: var(--yazi); font-size: 11.5px; font-weight: 800; cursor: pointer; min-height: 58px; justify-content: center; }
.nav-btn svg { width: 26px; height: 26px; color: var(--bal); }
.nav-btn:active:not(:disabled) { background: rgba(255, 255, 255, 0.06); }
.nav-btn.kilitli { color: #7a6a52; }
.nav-btn.kilitli > svg { opacity: 0.4; color: #7a6a52; }
.kilit-rozet { position: absolute; top: 5px; right: 18%; width: 20px; height: 20px; border-radius: 50%; background: #4a3a26; color: #fff; display: grid; place-items: center; }
.kilit-rozet svg { width: 12px; height: 12px; color: #fff; }
.nav-btn span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rozet-nokta { position: absolute; top: 4px; right: 10%; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--tehlike); color: #fff; font-style: normal; font-size: 12px; font-weight: 900; display: grid; place-items: center; box-shadow: 0 0 10px rgba(255, 90, 74, 0.7); }
.etkinlik-serit { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(90deg, rgba(79, 138, 38, 0.95), rgba(242, 167, 44, 0.92)); color: #fff; text-align: start; box-shadow: var(--golge); cursor: pointer; margin: 0 auto; width: min(100%, 420px); }
.etkinlik-serit span { display: flex; flex-direction: column; flex: 1; }
.etkinlik-serit b { font-size: 16px; }
.etkinlik-serit small { opacity: 0.92; font-weight: 700; }
.etkinlik-serit i { font-style: normal; font-size: 28px; }

/* kartlar ve modallar */
.kart { background: var(--panel); border-radius: var(--yaricap); box-shadow: inset 0 0 0 1.5px var(--kenar), var(--golge); padding: 18px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal-katman { position: absolute; inset: 0; z-index: 30; }
.modal { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(10, 6, 2, 0.6); 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: linear-gradient(180deg, #33261a, #1f170e); border-radius: 24px; padding: 20px; box-shadow: inset 0 0 0 1.5px var(--kenar), 0 20px 60px rgba(0, 0, 0, 0.6); transform: translateY(24px); transition: transform 0.22s cubic-bezier(.2, .9, .3, 1.2); }
.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: 12px; }
.modal-bas h2 { margin: 0; }
.modal-bas .ikon-btn { box-shadow: inset 0 0 0 1.5px var(--kenar); }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h2 { font-size: 22px; font-weight: 1000; }
.duraklat h2 { text-align: center; margin-bottom: 14px; }
.dikey-dugmeler { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.dugme-satir { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.metin-orta { text-align: center; margin: 10px 0; font-weight: 700; }
.soluk { color: var(--soluk); }
.kucuk-yazi { font-size: 13px; display: flex; align-items: center; gap: 6px; }
.kucuk-yazi svg { width: 18px; height: 18px; }

/* 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 10px; color: var(--soluk); font-weight: 700; line-height: 1.45; }
.madde-liste { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; }
.madde-liste li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.madde-liste svg { color: var(--yaprak); }
.alt-cta { display: flex; flex-direction: column; gap: 10px; }

/* bölüm girişi */
.giris { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; }
.giris-kart { display: flex; flex-direction: column; gap: 10px; animation: yukari 0.35s cubic-bezier(.2, .9, .3, 1.2); max-height: 76vh; overflow-y: auto; }
@keyframes yukari { from { transform: translateY(30px); opacity: 0; } }
.ust-yazi { font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yaprak); }
:lang(tr) .ust-yazi, :lang(ar) .ust-yazi, :lang(hi) .ust-yazi { text-transform: none; letter-spacing: 0.02em; }
.giris-kart h1 { font-size: 32px; font-weight: 1000; }
.hedef { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; padding: 11px 14px; border-radius: 15px; background: rgba(143, 216, 90, 0.12); color: #d6f5b8; box-shadow: inset 0 0 0 1.5px rgba(143, 216, 90, 0.32); }
.hedef.ikincil { background: rgba(255, 201, 77, 0.08); color: #ffe7a8; box-shadow: inset 0 0 0 1.5px rgba(255, 201, 77, 0.25); font-size: 15.5px; }
.hedef.ustalik { background: rgba(255, 138, 92, 0.1); color: #ffd0b8; box-shadow: inset 0 0 0 1.5px rgba(255, 138, 92, 0.3); font-size: 15px; }
.yuk-ozet, .tehlikeler, .kurallar, .yardim-yukler { display: flex; flex-wrap: wrap; gap: 8px; }
.yuk-rozet { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 7px 10px 7px 7px; border-radius: 14px; background: rgba(255, 240, 210, 0.06); box-shadow: inset 0 0 0 1.5px var(--kenar); flex: 1 1 140px; min-width: 0; }
.yuk-rozet svg { grid-row: 1 / 3; width: 30px; height: 30px; }
.yuk-rozet b { font-size: 14px; font-weight: 1000; }
.yuk-rozet small { font-size: 12px; font-weight: 700; color: var(--soluk); line-height: 1.25; }
.kural { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 8px; border-radius: 12px; background: rgba(255, 201, 77, 0.1); color: #ffe2a0; font-weight: 800; font-size: 13.5px; }
.kural svg { width: 18px; height: 18px; }
.tehlike { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 8px; border-radius: 12px; background: rgba(255, 138, 92, 0.12); color: #ffc7a8; font-weight: 800; font-size: 13.5px; }
.tehlike svg { width: 18px; height: 18px; }
.tehlike-rain { color: #b8e6ff; background: rgba(143, 220, 255, 0.12); } .tehlike-wind { color: #e6f2ff; background: rgba(220, 235, 255, 0.1); } .tehlike-beetle { color: #a8c8ff; background: rgba(60, 120, 200, 0.16); }
.ipucu { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 15px; background: rgba(143, 220, 255, 0.1); color: #d0efff; font-weight: 700; line-height: 1.4; box-shadow: inset 0 0 0 1.5px rgba(143, 220, 255, 0.25); }
.ipucu svg { flex: none; }

/* 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); }
.hud button { pointer-events: auto; }
.hud-ust { display: flex; align-items: flex-start; gap: 8px; }
.hud-btn { width: 46px; height: 46px; }
.hud-orta { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hedef-hap, .koku { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 8px; border-radius: 19px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--kenar), var(--golge); min-width: 0; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hedef-ikon { color: var(--yaprak); display: grid; }
.hedef-ikon svg { width: 20px; height: 20px; }
.hedef-cubuk, .koku-cubuk { position: relative; flex: 1; height: 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); overflow: visible; min-width: 30px; }
.hedef-cubuk i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--yaprak-koyu), var(--yaprak)); border-radius: 6px; transition: width 0.3s ease; }
.hedef-hap b, .koku b { font-weight: 1000; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.koku-ikon { display: grid; }
.koku-ikon svg { width: 22px; height: 22px; }
.koku-cubuk i { display: block; height: 100%; width: 100%; border-radius: 6px; background: linear-gradient(90deg, #d9861a, var(--bal)); transition: width 0.12s linear; }
.koku-cubuk em { position: absolute; top: -4px; bottom: -4px; width: 2px; background: rgba(143, 216, 90, 0.95); border-radius: 1px; transform: translateX(-1px); }
.koku.par-asti .koku-cubuk em { background: rgba(255, 255, 255, 0.35); }
.koku.az { box-shadow: inset 0 0 0 1.5px rgba(255, 90, 74, 0.7), 0 0 18px -4px var(--tehlike); }
.koku.az .koku-cubuk i { background: linear-gradient(90deg, #c8322a, var(--tehlike)); }
.hud-sag { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.sure-hap, .skor-hap { display: flex; align-items: center; justify-content: center; gap: 4px; height: 38px; padding: 0 12px; border-radius: 19px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--kenar), var(--golge); font-weight: 1000; font-size: 15px; font-variant-numeric: tabular-nums; }
.sure-hap svg { width: 17px; height: 17px; color: var(--gok); }
.skor-hap b { color: var(--bal); }
.sure-hap.az { background: rgba(255, 90, 74, 0.3); color: #fff; animation: nabiz 0.8s infinite; }
.skor-hap.vur b { animation: vur 0.3s ease; display: inline-block; }
@keyframes vur { 40% { transform: scale(1.3); } }
.kota-serit { display: flex; justify-content: center; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.kota { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px 0 6px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--kenar); font-weight: 1000; font-size: 14px; font-variant-numeric: tabular-nums; }
.kota svg { width: 20px; height: 20px; }
.kota.tamam { box-shadow: inset 0 0 0 1.5px var(--yaprak); color: #d6f5b8; }
.tehlike-serit { position: absolute; top: calc(var(--st) + 104px); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 15px; font-weight: 900; font-size: 15px; line-height: 1.25; color: #fff; box-shadow: var(--golge); width: max-content; max-width: calc(100% - 28px); }
.tehlike-serit span { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tehlike-serit.uyari { background: rgba(214, 120, 20, 0.96); }
.tehlike-serit.bilgi { background: rgba(40, 90, 120, 0.96); }
.tehlike-serit.kotu { background: rgba(190, 50, 40, 0.96); }
.tehlike-serit.iyi { background: rgba(70, 130, 30, 0.96); }
.tehlike-serit.goster { animation: serit 0.35s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes serit { from { transform: translate(-50%, -20px); opacity: 0; } }
.hud-alt { position: absolute; left: calc(var(--sl) + 12px); right: calc(var(--sr) + 12px); bottom: calc(var(--sb) + 12px); display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.hud-yuvarlak { width: 64px; height: 64px; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--kenar), var(--golge); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--yazi); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hud-yuvarlak svg { width: 26px; height: 26px; }
.hud-yuvarlak small { font-size: 9.5px; font-weight: 900; max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud-yuvarlak:disabled { opacity: 0.35; }
.hud-yuvarlak:active:not(:disabled) { transform: scale(0.93); }
.hud-yuvarlak.alet { color: var(--bal); box-shadow: inset 0 0 0 1.5px rgba(255, 201, 77, 0.55), 0 0 18px -6px var(--bal); }
.hud-yuvarlak.ipucu-btn { color: #d6f5b8; }
.hud-yuvarlak.bitti { box-shadow: inset 0 0 0 1.5px var(--kenar); }
.hud.solak .hud-alt { flex-direction: row-reverse; }
.hud.solak .hud-ust { flex-direction: row-reverse; }

/* koç (öğretici) */
.koc { position: absolute; left: 50%; transform: translate(-50%, 10px); top: calc(var(--st) + 150px); z-index: 12; max-width: min(88%, 420px); padding: 14px 18px; border-radius: 18px; background: rgba(36, 26, 14, 0.95); box-shadow: inset 0 0 0 1.5px rgba(255, 201, 77, 0.55), 0 10px 30px -8px rgba(0, 0, 0, 0.7); color: #fff; font-weight: 800; font-size: 17px; text-align: center; line-height: 1.35; opacity: 0; transition: opacity 0.25s, transform 0.25s; pointer-events: none; }
.koc.goster { opacity: 1; transform: translate(-50%, 0); }

/* sonuç */
.sonuc { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.sonuc-ust { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); padding-top: 4vh; text-align: center; }
.sonuc-ust h1 { font-size: 36px; font-weight: 1000; }
.kazan .sonuc-ust h1 { color: #fff3c8; text-shadow: 0 3px 0 #6a3a08, 0 10px 30px rgba(255, 180, 60, 0.45); }
.kaybet .sonuc-ust h1 { text-shadow: 0 3px 0 #4a1008, 0 10px 30px rgba(255, 90, 74, 0.45); }
/* kayıp: tahta (kırmızı kayıp halkaları) üst bölümün ve kartın altından seçilsin */
.ekran-result:has(> .sonuc.kaybet) { background: linear-gradient(180deg, rgba(20, 13, 6, 0.3) 0%, rgba(20, 13, 6, 0.12) 30%, rgba(20, 13, 6, 0.2) 60%, rgba(20, 13, 6, 0.82) 100%); }
.sonuc.kaybet .sonuc-ust { align-self: center; padding: 12px 18px 14px; margin-top: 4vh; border-radius: 22px; background: rgba(24, 15, 7, 0.5); box-shadow: inset 0 0 0 1.5px rgba(255, 90, 74, 0.22); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85); }
.sonuc.kaybet .sonuc-kart { background: rgba(30, 22, 13, 0.64); backdrop-filter: none; -webkit-backdrop-filter: none; }
.yildiz-satir { display: flex; gap: 6px; align-items: flex-end; }
.buyuk-yildiz svg { width: 64px; height: 64px; fill: rgba(255, 255, 255, 0.14); }
.buyuk-yildiz:nth-child(2) svg { width: 82px; height: 82px; }
.buyuk-yildiz.dolu svg { fill: var(--bal); filter: drop-shadow(0 0 10px rgba(255, 201, 77, 0.8)); animation: yildiz 0.5s cubic-bezier(.2, .9, .3, 1.6) both; animation-delay: inherit; }
.buyuk-yildiz { animation-delay: inherit; }
@keyframes yildiz { from { transform: scale(0) rotate(-40deg); } }
.buyuk-skor { font-size: 64px; font-weight: 1000; color: var(--bal); text-shadow: 0 3px 0 #6a3a08; }
.sonuc-kart { display: flex; flex-direction: column; gap: 10px; }
.kosul { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--soluk); }
.kosul svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #7a6a52; }
.kosul.tamam { color: var(--yazi); }
.kosul.tamam svg { background: var(--yaprak); color: #142a06; }
.istat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 10px 0; border-top: 1.5px dashed rgba(255, 255, 255, 0.12); border-bottom: 1.5px dashed rgba(255, 255, 255, 0.12); }
.istat span { display: flex; flex-direction: column; align-items: center; gap: 1px; font-weight: 900; color: var(--yazi); }
.istat span svg { width: 20px; height: 20px; color: var(--bal); }
.istat small { font-size: 11px; color: var(--soluk); text-align: center; line-height: 1.15; }
.odul-satir { display: flex; justify-content: center; gap: 18px; }
.odul { display: inline-flex; align-items: center; gap: 5px; font-weight: 1000; font-size: 20px; }
.odul svg { width: 28px; height: 28px; }
.odul.xp { color: var(--yaprak); font-size: 16px; }
.bildirim { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 14px; background: rgba(143, 216, 90, 0.12); color: #d6f5b8; font-weight: 900; text-align: center; }
.bildirim.yeni { background: rgba(255, 201, 77, 0.12); color: #ffe7a8; }
.sonuc-cta .dugme-satir { margin-top: 0; }
.neden-ikon svg { width: 72px; height: 72px; }
.ilerleme-buyuk { display: flex; align-items: center; gap: 12px; font-weight: 1000; font-size: 20px; }
.cubuk { flex: 1; height: 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.cubuk i { display: block; height: 100%; background: linear-gradient(90deg, var(--kehribar), var(--bal)); border-radius: 8px; }
.cubuk.ince { height: 7px; }

/* sayfalar */
.sayfa { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; max-width: 640px; width: 100%; margin: 0 auto; }
.sayfa-baslik { font-size: 30px; font-weight: 1000; margin: 6px 0 2px; font-family: "Space Grotesk", "Nunito", system-ui, sans-serif; color: #fff1cf; }
.alt-baslik { font-size: 16px; font-weight: 900; color: var(--soluk); margin: 10px 0 0; display: flex; align-items: center; gap: 6px; }
.sekmeler { display: flex; gap: 6px; background: var(--panel); padding: 5px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--kenar); }
.sekme { flex: 1; min-height: 42px; border-radius: 12px; font-weight: 900; color: var(--soluk); cursor: pointer; font-size: 14px; padding: 0 4px; }
.sekme.secili { background: linear-gradient(180deg, #ffe08a, var(--kehribar)); color: #2a1804; }
.urun-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.urun-kart { background: var(--panel-2); border-radius: 18px; padding: 14px; box-shadow: inset 0 0 0 1.5px var(--kenar); display: flex; flex-direction: column; gap: 10px; }
.urun-kart.secili { box-shadow: inset 0 0 0 2px var(--yaprak), 0 0 18px -6px var(--yaprak); }
.urun-kart.vurgu { box-shadow: inset 0 0 0 2px var(--bal), 0 0 18px -6px var(--bal); }
.urun-kart.ozel { background: linear-gradient(180deg, rgba(143, 216, 90, 0.2), var(--panel-2)); }
.urun-ust { display: flex; align-items: center; gap: 10px; }
.urun-ust b { font-size: 16px; font-weight: 1000; flex: 1; }
.urun-ikon { width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 201, 77, 0.12); display: grid; place-items: center; color: var(--bal); flex: none; }
.urun-ikon svg { width: 26px; height: 26px; }
.aciklama { margin: 0; color: var(--soluk); font-weight: 700; font-size: 14px; line-height: 1.4; }
.durum-etiket { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 6px 10px; text-align: center; line-height: 1.2; overflow-wrap: anywhere; border-radius: 13px; background: rgba(143, 216, 90, 0.12); color: #d6f5b8; font-weight: 900; font-size: 14px; }
.durum-etiket svg { width: 18px; height: 18px; }
.ozellik-cubuklari { display: grid; gap: 6px; }
.oz small { font-size: 12px; font-weight: 800; color: var(--soluk); }
.tema-onizleme { height: 54px; border-radius: 12px; }
.tema-spring { background: radial-gradient(circle at 30% 40%, #ffe7a8 0 10%, transparent 30%), linear-gradient(135deg, #2a1d13, #3f6b2a 55%, #8fd85a); }
.tema-autumn { background: radial-gradient(circle at 70% 40%, #ffd08a 0 10%, transparent 30%), linear-gradient(135deg, #2a1608, #b8662a 55%, #ffb03a); }
.tema-moonlight { background: radial-gradient(circle at 70% 30%, #eef4ff 0 8%, transparent 22%), linear-gradient(135deg, #0a1020, #24345e 55%, #6a7ab8); }
.kaplama-onizleme { height: 54px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); }
.kaplama-onizleme svg { width: 44px; height: 44px; }
.kaplama-classic svg { fill: #2a1d16; filter: drop-shadow(0 0 1px #fff8); } .kaplama-amber svg { fill: #c97a24; } .kaplama-emerald svg { fill: #2f9f6a; } .kaplama-crimson svg { fill: #b83a3a; }
.seviye-noktalar { display: flex; gap: 4px; }
.seviye-noktalar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); }
.seviye-noktalar i.dolu { background: var(--bal); box-shadow: 0 0 6px rgba(255, 201, 77, 0.8); }
.yuva-kesit { grid-column: 1 / -1; border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 1.5px var(--kenar), var(--golge); }
.yuva-kesit img { width: 100%; height: auto; }

/* tohumlar */
.kusanan { display: flex; flex-direction: column; gap: 10px; }
.kusanan > span { font-weight: 900; color: var(--soluk); }
.slotlar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.slot { min-height: 92px; border-radius: 16px; border: 2px dashed rgba(255, 255, 255, 0.15); display: flex; align-items: center; gap: 10px; padding: 8px; color: var(--soluk); font-weight: 800; text-align: start; min-width: 0; }
.slot.dolu { flex-direction: column; justify-content: center; text-align: center; gap: 6px; border-style: solid; border-color: var(--yaprak); background: rgba(143, 216, 90, 0.07); cursor: pointer; color: var(--yazi); }
.slot img { width: 54px; height: 54px; border-radius: 14px; }
.slot small { font-size: 12.5px; line-height: 1.3; min-width: 0; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.slot.kilitli { justify-content: center; flex-direction: column; text-align: center; }
.koleksiyon-ust { display: flex; align-items: center; justify-content: space-between; font-weight: 900; gap: 8px; }
.kart-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-kart { background: var(--panel-2); border-radius: 16px; padding: 6px; box-shadow: inset 0 0 0 1.5px var(--kenar); display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; min-width: 0; }
.mini-kart img { width: 100%; aspect-ratio: 1; border-radius: 12px; }
.mini-kart small { font-weight: 900; font-size: 12.5px; text-align: center; overflow-wrap: anywhere; }
.mini-kart.yok { opacity: 0.75; }
.mini-kart.secili { box-shadow: inset 0 0 0 2.5px var(--yaprak); }
.nadir-rare { box-shadow: inset 0 0 0 2px #5ab8e8, 0 0 14px -4px #5ab8e8; }
.nadir-epic { box-shadow: inset 0 0 0 2px #c98aff, 0 0 20px -2px rgba(201, 138, 255, 0.7); }
.kese-ac { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tohum-buyuk { width: 220px; border-radius: 22px; background: var(--panel-2); padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tohum-buyuk img { width: 200px; height: 200px; border-radius: 16px; }
.tohum-buyuk b { font-size: 22px; font-weight: 1000; text-align: center; }
.tohum-buyuk small { color: var(--soluk); font-weight: 800; text-align: center; }
.acil-donus { animation: donus 0.7s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes donus { from { transform: rotateY(90deg) scale(0.6); } }
.yetenek { margin: 0; padding: 10px 14px; border-radius: 14px; background: rgba(143, 216, 90, 0.12); color: #d6f5b8; font-weight: 900; text-align: center; }

/* görevler */
.gorev { background: var(--panel-2); border-radius: 18px; padding: 14px; box-shadow: inset 0 0 0 1.5px var(--kenar); display: flex; flex-direction: column; gap: 8px; }
.gorev-ust { display: flex; justify-content: space-between; font-weight: 900; gap: 10px; }
.gorev-ust small { color: var(--soluk); }
.gorev-alt { display: flex; align-items: center; justify-content: space-between; }
.gorev-alt .odul { font-size: 16px; }
.gorev-alt .odul svg { width: 22px; height: 22px; }
.gorev.hazir { box-shadow: inset 0 0 0 2px var(--yaprak), 0 0 18px -6px var(--yaprak); }
.gorev.alindi { opacity: 0.55; }
.gorev .cubuk i { background: linear-gradient(90deg, var(--yaprak-koyu), var(--yaprak)); }

/* etkinlikler */
.etkinlik-kart { display: flex; flex-direction: column; gap: 10px; border-inline-start: 5px solid var(--yaprak); }
.ev-bas { display: flex; align-items: center; gap: 12px; }
.ev-bas > svg { width: 40px; height: 40px; padding: 8px; border-radius: 14px; background: rgba(143, 216, 90, 0.16); color: #d6f5b8; }
.ev-bas div { display: flex; flex-direction: column; }
.ev-bas b { font-size: 18px; font-weight: 1000; }
.ev-bas small { color: var(--soluk); font-weight: 800; }
.basamaklar { display: grid; gap: 6px; }
.basamak { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); font-weight: 900; }
.basamak svg { width: 18px; height: 18px; vertical-align: -3px; }
.basamak.hazir { background: rgba(143, 216, 90, 0.12); }
.basamak.alindi { opacity: 0.5; }
.basamak > svg { color: var(--yaprak); }
.ev-storm { border-color: var(--gok); } .ev-trophy { border-color: var(--bal); } .ev-cards { border-color: #c98aff; } .ev-road { border-color: var(--yaprak); } .ev-daily { border-color: var(--cicek); }

/* bölümler */
.bolum-izgara { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.bolge-baslik { grid-column: 1 / -1; font-size: 15px; font-weight: 1000; color: var(--soluk); margin: 6px 0 0; }
.bolum-btn { aspect-ratio: 1; border-radius: 15px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1.5px var(--kenar); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 1000; font-size: 18px; cursor: pointer; color: var(--yazi); }
.bolum-btn.bolge-forest { background: rgba(120, 80, 40, 0.22); } .bolum-btn.bolge-garden { background: rgba(80, 140, 50, 0.2); } .bolum-btn.bolge-picnic { background: rgba(200, 50, 58, 0.18); } .bolum-btn.bolge-stream { background: rgba(60, 127, 160, 0.22); }
.bolum-btn.simdiki { background: linear-gradient(180deg, #ffe08a, var(--kehribar)); color: #2a1804; box-shadow: 0 0 16px -4px var(--bal); }
.bolum-btn.kilitli { opacity: 0.4; }
.bolum-btn svg { width: 18px; height: 18px; }
.yildizlar { display: flex; gap: 1px; }
.yildizlar i svg { width: 12px; height: 12px; fill: rgba(255, 255, 255, 0.15); }
.yildizlar i.dolu svg { fill: var(--bal); }
.bolum-btn.simdiki .yildizlar i.dolu svg { fill: #6a3a08; }

/* nasıl oynanır */
.yardim { display: flex; flex-direction: column; gap: 10px; }
.yardim-satir { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.yardim-satir p { margin: 0; font-weight: 700; line-height: 1.4; }
.yardim-ikon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 201, 77, 0.12); color: var(--bal); flex: none; }

/* ayarlar */
.ayarlar { display: flex; flex-direction: column; gap: 4px; }
.ayar { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-weight: 800; }
.ayar > svg { color: var(--bal); }
.ayar span { flex: 1; }
.ayar select { font: inherit; font-weight: 800; padding: 8px 10px; border-radius: 12px; border: 1.5px solid var(--kenar); background: #2a1f14; color: var(--yazi); max-width: 52%; }
.ayar input[type=range] { width: 46%; accent-color: var(--bal); }
.anahtar { appearance: none; -webkit-appearance: none; width: 52px; height: 30px; border-radius: 15px; background: #4a3a28; position: relative; transition: background 0.2s; cursor: pointer; flex: none; }
.anahtar::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); transition: transform 0.2s; }
.anahtar:checked { background: var(--yaprak-koyu); }
.anahtar:checked::after { transform: translateX(22px); }
.surum { text-align: center; color: var(--soluk); font-size: 12px; font-weight: 700; margin-top: 10px; }

/* debug */
.debug-izgara { display: flex; flex-wrap: wrap; gap: 6px; }
.log { margin-top: 10px; max-height: 40vh; overflow-y: auto; font-family: ui-monospace, monospace; font-size: 11px; background: #120c06; color: #ffe7a8; border-radius: 12px; padding: 8px; }
.log-satir { padding: 2px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); word-break: break-all; }
.fps { position: fixed; top: calc(var(--st) + 100px); left: 8px; z-index: 50; background: rgba(0, 0, 0, 0.6); color: #b8ff8a; font: 800 12px ui-monospace, monospace; padding: 3px 6px; border-radius: 6px; pointer-events: none; }

/* toast */
.toast { position: absolute; left: 50%; bottom: calc(var(--sb) + 96px); transform: translate(-50%, 20px); z-index: 40; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 16px; background: rgba(36, 26, 14, 0.96); box-shadow: inset 0 0 0 1.5px var(--kenar), var(--golge); color: #fff; font-weight: 900; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; max-width: 88%; }
.toast.goster { opacity: 1; transform: translate(-50%, 0); }
.hata { margin: auto; padding: 20px; background: #2a1f14; border-radius: 18px; text-align: center; font-weight: 800; }

/* sağdan sola (Arapça) */
[dir=rtl] .tehlike-serit { direction: rtl; }
[dir=rtl] .etkinlik-serit i { transform: scaleX(-1); }

/* küçük ekran (360dp ve altı) */
@media (max-width: 370px) {
  .ust-cubuk .ikon-btn { width: 44px; height: 44px; }
  .para { padding: 0 10px 0 6px; }
  .logo-ust { font-size: 46px; }
  .logo-alt { font-size: 23px; }
  .logo-orta.kucuk .logo-ust { font-size: 42px; }
  .logo-orta.kucuk .logo-alt { font-size: 21px; }
  .btn.oyna { min-height: 68px; }
  .oyna-alt { font-size: 22px; }
  .nav-btn { font-size: 10.5px; }
  .sonuc-ust h1 { font-size: 30px; }
  .buyuk-yildiz svg { width: 54px; height: 54px; }
  .buyuk-yildiz:nth-child(2) svg { width: 68px; height: 68px; }
  .hedef-hap b, .koku b, .sure-hap, .skor-hap { font-size: 13.5px; }
  .hud-yuvarlak { width: 58px; height: 58px; }
  .sekme { font-size: 12.5px; }
}
/* yatay / tablet: içerik ortada dar sütun */
@media (min-aspect-ratio: 4/5) {
  .ekran-home .alt-bolge, .ekran-home .ana-govde, .giris, .sonuc, .riza { width: min(100%, 520px); margin-left: auto; margin-right: auto; }
  .hud-ust { max-width: 720px; margin: 0 auto; }
  .hud-alt { left: 50%; right: auto; transform: translateX(-50%); width: min(96%, 560px); }
}
/* yatay telefon: alçak ekran */
@media (max-height: 520px) {
  .logo-orta { margin-top: 0; }
  .logo-karinca { display: none; }
  .giris-kart { max-height: 62vh; }
  .sonuc-ust { padding-top: 0; }
  .ekran-result { overflow-y: auto; }
  /* kayıp, yatay: neden solda, kart + düğmeler sağda (alçak ekranda "Tekrar dene" kesilmesin) */
  .sonuc.kaybet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 14px; row-gap: 10px; width: min(100%, 880px); align-items: center; }
  .sonuc.kaybet .sonuc-ust { grid-column: 1; grid-row: 1 / 3; margin-top: 0; padding: 10px 14px 12px; gap: 4px; }
  .sonuc.kaybet .sonuc-kart { grid-column: 2; grid-row: 1; }
  .sonuc.kaybet .sonuc-cta { grid-column: 2; grid-row: 2; }
  .sonuc.kaybet .sonuc-ust h1 { font-size: 26px; }
  .sonuc.kaybet .neden-ikon svg { width: 48px; height: 48px; }
  .sonuc.kaybet .metin-orta { margin: 4px 0; }
  .buyuk-yildiz svg { width: 44px; height: 44px; }
  .buyuk-yildiz:nth-child(2) svg { width: 56px; height: 56px; }
  .hud-yuvarlak { width: 54px; height: 54px; }
}

/* yatay telefon: göstergeler yan sütunlarda, oyun alanı ortada serbest */
@media (max-height: 520px) and (min-aspect-ratio: 4/5) {
  .ekran-home { overflow-y: auto; }
  .ekran-home .ana-govde { gap: 6px; flex: none; }
  .logo-ust { font-size: 40px; }
  .logo-alt { font-size: 20px; }
  .logo-orta.kucuk .logo-ust { font-size: 40px; }
  .logo-orta.kucuk .logo-alt { font-size: 20px; }
  .logo-iz, .ekran-home .slogan { display: none; }
  .ekran-home .alt-bolge { margin-top: 8px; }
  .btn.oyna { min-height: 58px; }
  .hud-ust { flex-direction: column; align-items: stretch; width: 210px; max-width: none; margin: 0; }
  .hud-ust .hud-btn { align-self: flex-start; }
  .hud-orta { flex: none; }
  .hud-sag { flex-direction: row; }
  .hud-sag > * { flex: 1; }
  .kota-serit { width: 210px; justify-content: flex-start; }
  .hud-alt { left: auto; right: calc(var(--sr) + 12px); top: calc(var(--st) + 12px); bottom: calc(var(--sb) + 12px); width: auto; transform: none; flex-direction: column; justify-content: flex-end; gap: 10px; }
  .hud.solak .hud-alt { right: auto; left: calc(var(--sl) + 12px); flex-direction: column; }
  .hud.solak .hud-ust { margin-left: auto; flex-direction: column; }
  .tehlike-serit { top: auto; bottom: calc(var(--sb) + 14px); }
  .koc { top: calc(var(--st) + 12px); max-width: 46%; font-size: 15px; }
}

/* başlık tipografisi */
.giris-kart h1, .sonuc-ust h1, .buyuk-skor { font-family: "Space Grotesk", "Nunito", system-ui, sans-serif; letter-spacing: -0.01em; }

/* uzun kelimeler (Almanca vb.) taşmasın */
.urun-ust { min-width: 0; }
.urun-ust b, .gorev-ust span, .ev-bas b, .tohum-buyuk b, h1, h2, .hedef span, .koc span { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; min-width: 0; }
.nav-btn span { hyphens: none; }
.urun-izgara .alt-baslik { grid-column: 1 / -1; }
.gorev .cubuk, .oz .cubuk { flex: none; }
.soluk, .kucuk-yazi { font-weight: 700; }
.btn.oyna.uzun .oyna-alt { font-size: 20px; }
.btn.oyna.uzun .oyna-ust { font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* alçak dikey ekran (360x640 vb.): sonuç ekranı sıkışır, düğmeler tek satır kalır */
@media (max-height: 700px) and (max-aspect-ratio: 4/5) {
  .ekran-result { overflow-y: auto; }
  .sonuc { gap: 8px; }
  .sonuc-ust { padding-top: 1vh; gap: 4px; }
  .sonuc-ust h1 { font-size: 28px; }
  .neden-ikon svg { width: 48px; height: 48px; }
  .buyuk-yildiz svg { width: 50px; height: 50px; }
  .buyuk-yildiz:nth-child(2) svg { width: 64px; height: 64px; }
  .sonuc-kart { gap: 6px; padding: 12px 14px; }
  .sonuc-kart .istat { padding: 6px 0; }
  .sonuc-cta .btn { white-space: nowrap; }
  .sonuc-cta .btn.buyuk { min-height: 54px; font-size: 18px; padding: 0 16px; }
  .sonuc-cta .btn.reklam { min-height: 42px; font-size: 14px; }
}