/* Bahçe Devresi — arayüz. Telefon öncelikli (360dp'de okunaklı), güvenli alan (çentik) uyumlu, tek baskın eylem alt başparmak bölgesinde.
   Görsel dil: doğal, sakin, premium — koyu toprak/yosun zemin, krem kâğıt kartlar, pirinç/amber vurgu, ince çizgili özgün SVG simgeler.
   Başlık: Lora (OFL, serif), metin: IBM Plex Sans (OFL); Arapça/Devanagari sistem yazı tipine düşer. Yazı tipleri çevrimdışı.
   Yön: mantıksal özellikler (inset-inline, margin-inline) → Arapça (RTL) kendiliğinden doğru.
   Oyun ekranı bir ızgara: dikeyde [üst HUD | tahta | tepsi], yatayda [tahta | yan sütun (HUD + tepsi)], solak modunda yan sütun solda. */

@font-face { font-family: "Lora"; font-style: normal; font-display: swap; font-weight: 400 700; src: url(font/lora-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: "Lora"; font-style: normal; font-display: swap; font-weight: 400 700; src: url(font/lora-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: "Lora"; font-style: normal; font-display: swap; font-weight: 400 700; src: url(font/lora-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: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 100 700; src: url(font/ibm-plex-sans-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: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 100 700; src: url(font/ibm-plex-sans-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: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 100 700; src: url(font/ibm-plex-sans-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --zemin: #12140f;
  --zemin-2: #191d15;
  --panel: rgba(27, 31, 23, 0.95);
  --panel-kati: #1c2118;
  --panel-2: #252b20;
  --panel-3: #323a2b;
  --cizgi: rgba(239, 230, 210, 0.08);
  --cizgi-2: rgba(239, 230, 210, 0.17);
  --yazi: #efe8d8;
  --soluk: #a9a493;
  --soluk-2: #7a7663;
  --kagit: #efe6d2;
  --kagit-2: #e2d6bb;
  --murekkep: #2b2a22;
  --murekkep-soluk: #6a6450;
  --vurgu: #d9a441;
  --vurgu-koyu: #a8761f;
  --vurgu-yazi: #1d1606;
  --vurgu-zayif: rgba(217, 164, 65, 0.15);
  --yaprak: #8cc063;
  --su: #6fb3d6;
  --iyi: #8cc063;
  --kotu: #d0583c;
  --uyari: #e09a3a;
  --golge: 0 10px 26px -14px rgba(0, 0, 0, 0.85), 0 2px 6px -2px rgba(0, 0, 0, 0.5);
  --golge-buyuk: 0 24px 60px -20px rgba(0, 0, 0, 0.9);
  --yaricap: 14px;
  --baslik: "Lora", Georgia, "Noto Serif", "Noto Sans Arabic", "Noto Naskh Arabic", "Noto Sans Devanagari", serif;
  --metin: "IBM Plex Sans", 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);
  --yan-w: 318px;
  font-family: var(--metin);
  color-scheme: dark;
}
/* arayüz temaları (kozmetik): yalnız vurgu rengi */
:root[data-tema="bakir"] { --vurgu: #d07a48; --vurgu-koyu: #9b4f25; --vurgu-zayif: rgba(208, 122, 72, 0.16); }
:root[data-tema="yosun"] { --vurgu: #9cc070; --vurgu-koyu: #5f8a3c; --vurgu-zayif: rgba(156, 192, 112, 0.15); }
:root[data-tema="lavanta"] { --vurgu: #b3a0dc; --vurgu-koyu: #7a63ad; --vurgu-zayif: rgba(179, 160, 220, 0.16); }

html, body { background: var(--zemin); color: var(--yazi); }
body { padding: 0; font-size: 15px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
#app { position: fixed; inset: 0; overflow: hidden; background: radial-gradient(120% 70% at 50% 30%, #222a1c, #0d0f0b 75%); }
#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; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-family: var(--baslik); font-weight: 600; letter-spacing: 0.005em; }
h2 { font-size: 25px; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(hi) h1, :lang(hi) h2, :lang(hi) h3 { line-height: 1.4; font-family: var(--metin); font-weight: 700; }
.fps { position: fixed; z-index: 99; inset-inline-start: 6px; bottom: 6px; font: 600 11px monospace; background: rgba(0, 0, 0, 0.6); padding: 2px 6px; border-radius: 4px; pointer-events: none; }
.hata { margin: auto; text-align: center; padding: 30px; font-weight: 600; }

/* ---------------- düğmeler ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 13px;
  font-weight: 600; font-size: 16px;
  transition: transform 0.1s ease, filter 0.15s ease, opacity 0.15s, background 0.15s;
  cursor: pointer; text-align: center; position: relative;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: 0.38; cursor: default; }
.btn.ana { color: var(--vurgu-yazi); background: linear-gradient(180deg, color-mix(in srgb, var(--vurgu) 82%, #fff4d8), var(--vurgu) 52%, color-mix(in srgb, var(--vurgu) 84%, #000)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -2px 0 rgba(0, 0, 0, 0.16), 0 10px 22px -12px color-mix(in srgb, var(--vurgu) 70%, transparent); font-weight: 700; }
.btn.ana .ik { color: var(--vurgu-yazi); }
.btn.ikincil { background: var(--panel-2); color: var(--yazi); box-shadow: inset 0 0 0 1px var(--cizgi-2); }
.btn.tehlike { background: var(--kotu); color: #fff; }
.btn.tehlike-cizgi { color: #f2b9a8; box-shadow: inset 0 0 0 1.5px rgba(208, 88, 60, 0.6); background: rgba(208, 88, 60, 0.08); }
.btn.reklam { color: var(--yazi); background: rgba(224, 154, 58, 0.12); box-shadow: inset 0 0 0 1.5px rgba(224, 154, 58, 0.55); min-height: 42px; font-size: 14.5px; }
.btn.reklam .ik { color: var(--uyari); }
.btn.buyuk { min-height: 56px; font-size: 18px; padding: 0 22px; flex: 1; border-radius: 15px; letter-spacing: 0.01em; }
.btn.mini { min-height: 36px; font-size: 13.5px; padding: 0 12px; border-radius: 10px; gap: 5px; }
.btn.mini .ik { width: 17px; height: 17px; }
.btn.kare { width: 56px; min-height: 56px; padding: 0; flex: none; border-radius: 15px; }
.btn .ik { width: 20px; height: 20px; }
.ikon-btn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--panel); color: var(--yazi); box-shadow: inset 0 0 0 1px var(--cizgi-2), var(--golge); cursor: pointer; flex: none; font-size: 20px; font-weight: 600; }
.ikon-btn:active { transform: scale(0.94); }
.ikon-btn.kucuk { width: 38px; height: 38px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--cizgi); background: transparent; }
.ikon-btn.kucuk .ik { width: 18px; height: 18px; }
.ikon-btn.buyuk-ikon { width: 56px; height: 56px; border-radius: 15px; }
.ikon-btn.buyuk-ikon .ik { width: 26px; height: 26px; }
.baglanti { color: var(--vurgu); font-weight: 600; 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(--kotu); }

/* ---------------- ekran katmanı ---------------- */
.ekran { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(var(--st) + 10px) calc(var(--sr) + 14px) calc(var(--sb) + 14px) calc(var(--sl) + 14px); overflow-y: auto; overscroll-behavior: contain; z-index: 20; }
.ekran-home, .ekran-splash, .ekran-intro, .ekran-result, .ekran-consent { overflow: hidden; }
.ekran-home { background: linear-gradient(180deg, rgba(13, 15, 11, 0.8) 0%, rgba(13, 15, 11, 0.55) 30%, rgba(13, 15, 11, 0) 44%, rgba(13, 15, 11, 0) 52%, rgba(13, 15, 11, 0.9) 76%); }
.ekran-home .slogan { color: #ece5d2; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.95), 0 0 2px rgba(0, 0, 0, 0.9); }
.ekran-home .logo-yazi { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85); }
.ekran-splash, .ekran-consent { background: radial-gradient(120% 70% at 50% 25%, #26301f, #0d0f0b 75%); }
.ekran-atolye, .ekran-defter, .ekran-tasks, .ekran-shop, .ekran-events { background: var(--zemin) radial-gradient(140% 50% at 50% -10%, #232b1d, transparent 70%); }
.ekran-intro, .ekran-result { background: linear-gradient(180deg, rgba(13, 15, 11, 0.12) 0%, rgba(13, 15, 11, 0.6) 36%, rgba(13, 15, 11, 0.95) 100%); }

.ust-cubuk { display: flex; align-items: center; gap: 8px; min-height: 50px; flex: none; }
.ust-baslik { flex: 1; font-size: 23px; 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: 6px; height: 40px; padding: 0 14px 0 9px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--cizgi-2), var(--golge); font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.para .ik { width: 24px; height: 24px; }
.vur { animation: vur 0.45s ease; }
@keyframes vur { 35% { transform: scale(1.14); } }
.seviye-rozet { position: relative; width: 44px; height: 44px; display: grid; place-items: center; background: var(--panel); border-radius: 50%; box-shadow: var(--golge), inset 0 0 0 1px var(--cizgi); flex: none; }
.seviye-rozet svg { position: absolute; inset: 2px; width: 40px; height: 40px; transform: rotate(-90deg); }
.seviye-rozet .halka-zemin { fill: none; stroke: var(--cizgi-2); stroke-width: 3; }
.seviye-rozet .halka { fill: none; stroke: var(--yaprak); stroke-width: 3; stroke-linecap: round; }
.seviye-rozet b { font-size: 17px; font-weight: 700; font-family: var(--baslik); }

/* logo */
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.logo-isaret { width: 80px; height: 80px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.6)); }
.logo-yazi { display: flex; flex-direction: column; align-items: center; line-height: 0.95; font-family: "Lora", Georgia, serif; }
.logo-yazi b { font-size: 48px; font-weight: 600; letter-spacing: 0.01em; color: var(--yazi); }
.logo-yazi em { font-style: italic; font-size: 30px; font-weight: 500; letter-spacing: 0.06em; color: var(--vurgu); }
.logo.kucuk .logo-isaret { width: 58px; height: 58px; }
.logo.kucuk .logo-yazi b { font-size: 36px; }
.logo.kucuk .logo-yazi em { font-size: 23px; }
.logo-orta { display: flex; justify-content: center; margin-top: 3vh; }
.slogan { text-align: center; margin: 12px auto 0; max-width: 320px; font-weight: 500; color: var(--soluk); font-size: 15px; line-height: 1.45; }

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

/* kartlar, modallar */
.kart { background: var(--panel); border-radius: var(--yaricap); box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); padding: 16px; }
.kart.kagit, .kagit { background: var(--kagit) linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 40%); color: var(--murekkep); box-shadow: inset 0 0 0 1px rgba(80, 64, 36, 0.22), 0 14px 34px -16px rgba(0, 0, 0, 0.9); }
.kagit .soluk, .kagit p { color: var(--murekkep-soluk); }
.kagit .ust-yazi { color: #8a6418; }
.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(6, 8, 5, 0.62); padding: calc(var(--st) + 14px) calc(var(--sr) + 10px) calc(var(--sb) + 10px) calc(var(--sl) + 10px); opacity: 0; transition: opacity 0.18s; }
.modal.acik { opacity: 1; }
.modal-kutu { width: min(100%, 460px); max-height: 100%; overflow-y: auto; background: var(--panel-kati); border-radius: 18px; padding: 18px; box-shadow: inset 0 0 0 1px var(--cizgi-2), var(--golge-buyuk); transform: translateY(24px); transition: transform 0.24s cubic-bezier(.2, .9, .3, 1.1); overscroll-behavior: contain; position: relative; }
.modal-kutu::before { content: ""; position: absolute; inset-inline: 40%; top: 7px; height: 3px; border-radius: 3px; background: var(--cizgi-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: 14px; gap: 10px; }
.modal-bas .ikon-btn { box-shadow: inset 0 0 0 1px var(--cizgi-2); background: transparent; }
.orta-baslik { text-align: center; margin: 4px 0 16px; }
.dikey-dugmeler { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.dikey-dugmeler .btn { justify-content: flex-start; padding: 0 16px; }
.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: 12.5px; }
.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; }
.ust-yazi { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--vurgu); }
.ust-yazi.kotu { color: var(--kotu); }
:lang(ar) .ust-yazi, :lang(hi) .ust-yazi { letter-spacing: 0; text-transform: none; font-size: 13px; }
.cubuk { position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.cubuk i { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 3px; background: var(--vurgu); transition: width 0.15s linear; }
.durum-etiket { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 13.5px; color: var(--iyi); }
.durum-etiket .ik { width: 17px; height: 17px; }

/* 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; 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; line-height: 1.4; }
.madde-liste .ik { color: #5f8a3c; width: 20px; height: 20px; margin-top: 1px; }
.riza-kart .baglanti { color: #8a6418; }
.alt-cta { display: flex; flex-direction: column; gap: 10px; }

/* ana menü */
.ana-govde { flex: 1; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.alt-bolge { display: flex; flex-direction: column; gap: 10px; flex: none; }
.bolum-kart { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 13px 14px 12px; border-radius: var(--yaricap); background: var(--panel); box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); overflow: hidden; }
.bolum-kart::before { content: ""; position: absolute; inset-block: 12px; inset-inline-start: 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--yaprak); }
.vk-ust { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.vk-tema { color: var(--soluk); font-weight: 500; font-size: 13.5px; font-family: var(--baslik); font-style: italic; }
.vk-bitkiler { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bitki-cip, .evre-cip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 6px; border-radius: 9px; background: rgba(140, 192, 99, 0.12); box-shadow: inset 0 0 0 1px rgba(140, 192, 99, 0.3); font-size: 13px; font-weight: 600; }
.bitki-cip .ik, .evre-cip .ik { width: 17px; height: 17px; color: var(--yaprak); }
.evre-cip { background: var(--vurgu-zayif); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vurgu) 35%, transparent); }
.evre-cip .ik { color: var(--vurgu); }
.oyna-satir { display: flex; align-items: center; gap: 10px; }
.btn.oyna { flex: 1; min-height: 66px; border-radius: 17px; }
.oyna-alt { font-size: clamp(19px, 5.8vw, 24px); font-weight: 600; line-height: 1.1; font-family: var(--baslik); }
:lang(ar) .oyna-alt, :lang(hi) .oyna-alt { font-family: var(--metin); font-weight: 700; font-size: 20px; }
.alt-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--panel); border-radius: 16px; padding: 5px; box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); }
.nav-btn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px 7px; border-radius: 12px; color: var(--yazi); font-size: 11.5px; font-weight: 600; cursor: pointer; min-height: 58px; justify-content: center; min-width: 0; }
.nav-btn .ik { width: 24px; height: 24px; color: var(--vurgu); }
.nav-btn:active:not(:disabled) { background: rgba(255, 255, 255, 0.05); }
.nav-btn.kilitli { color: var(--soluk-2); }
.nav-btn.kilitli > .ik { opacity: 0.35; color: var(--soluk-2); }
.kilit-rozet { position: absolute; top: 5px; inset-inline-end: 14%; width: 18px; height: 18px; border-radius: 50%; background: var(--panel-3); color: var(--soluk); 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; inset-inline-end: 12%; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--kotu); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--panel-kati); }
.etkinlik-serit { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--panel); color: var(--yazi); text-align: start; box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); cursor: pointer; width: 100%; }
.etkinlik-serit > .ik:first-child { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--vurgu-zayif); color: var(--vurgu); }
.etkinlik-serit span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.etkinlik-serit b { font-size: 15px; font-weight: 650; }
.etkinlik-serit small { color: var(--soluk); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* bölüm seçimi */
.bolge-baslik { font-size: 16px; margin: 14px 2px 8px; color: var(--soluk); font-style: italic; }
.bolum-izgara { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.bolum-btn { aspect-ratio: 1; border-radius: 12px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--cizgi); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; }
.bolum-btn b { font-family: var(--baslik); font-size: 21px; }
.bolum-btn b .ik { width: 18px; height: 18px; color: var(--soluk-2); }
.bolum-btn.kilitli { opacity: 0.55; }
.bolum-btn.simdiki { box-shadow: inset 0 0 0 2px var(--vurgu); }
.bolum-btn.tema-teras { background: #2a2d26; } .bolum-btn.tema-sera { background: #22302a; } .bolum-btn.tema-bag_evi { background: #2f281f; } .bolum-btn.tema-cati { background: #2a2a2c; }
.yildizlar { display: flex; gap: 1px; }
.yildizlar i .ik { width: 11px; height: 11px; color: var(--panel-3); }
.yildizlar i.dolu .ik { color: var(--vurgu); }

/* bölüm 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.3s cubic-bezier(.2, .9, .3, 1.1); max-height: 74vh; overflow-y: auto; position: relative; }
.giris-kart h1 { font-size: 34px; }
@keyframes yukari { from { transform: translateY(26px); opacity: 0; } }
.giris-bitkiler { display: flex; flex-direction: column; gap: 6px; }
.gb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gb > .ik { width: 22px; height: 22px; color: #4b7136; }
.gb > b { font-family: var(--baslik); font-size: 17px; }
.hedef { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; padding: 9px 12px; border-radius: 11px; background: rgba(95, 138, 60, 0.13); color: #3f5f27; box-shadow: inset 0 0 0 1px rgba(95, 138, 60, 0.35); }
.hedef.ikincil { background: rgba(168, 118, 31, 0.12); color: #6f4f13; box-shadow: inset 0 0 0 1px rgba(168, 118, 31, 0.35); font-weight: 500; }
.hedef.ustalik { background: rgba(90, 110, 170, 0.1); color: #3c4a78; box-shadow: inset 0 0 0 1px rgba(90, 110, 170, 0.3); font-weight: 500; }
.hedef .ik { width: 20px; height: 20px; }
.ipucu { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 11px; background: rgba(43, 42, 34, 0.06); line-height: 1.45; font-size: 14.5px; border-inline-start: 3px solid var(--vurgu-koyu); color: var(--murekkep); }
.ipucu .ik { flex: none; width: 20px; height: 20px; color: var(--vurgu-koyu); }

/* ihtiyaç çipleri (hedef kartı, evre kartı, defter) — renk + simge (renk körü: simge şart) */
.hk-cipler { display: inline-flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.ihtiyac { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 5px; border-radius: 8px; font-size: 12.5px; font-weight: 600; background: rgba(43, 42, 34, 0.08); box-shadow: inset 0 0 0 1px rgba(43, 42, 34, 0.18); white-space: nowrap; position: relative; }
.ihtiyac .ik { width: 16px; height: 16px; }
.ihtiyac.ih-nem .ik { color: #3c86ad; }
.ihtiyac.ih-gunes .ik { color: #c7871a; }
.ihtiyac.ih-golge .ik { color: #5b6170; }
.ihtiyac.ih-tozlasma .ik { color: #a6781a; }
.ihtiyac.yeni { background: rgba(217, 164, 65, 0.24); box-shadow: inset 0 0 0 1.5px var(--vurgu-koyu); animation: nabiz-yeni 1.4s ease-in-out 3; }
.yeni-rozet { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--vurgu-koyu); color: #fff8e6; border-radius: 5px; padding: 0 4px; margin-inline-start: 2px; }
@keyframes nabiz-yeni { 50% { transform: scale(1.06); } }
/* koyu zeminde çipler */
.hud .ihtiyac, .modal-kutu:not(.kagit) .ihtiyac, .bitki-satir .ihtiyac { background: rgba(239, 230, 210, 0.07); box-shadow: inset 0 0 0 1px var(--cizgi-2); color: var(--yazi); }
.hud .ihtiyac.ih-nem .ik, .bitki-satir .ih-nem .ik, .modal-kutu .ih-nem .ik { color: var(--su); }
.hud .ihtiyac.ih-gunes .ik, .bitki-satir .ih-gunes .ik, .modal-kutu .ih-gunes .ik { color: #e9b54d; }
.hud .ihtiyac.ih-golge .ik, .bitki-satir .ih-golge .ik, .modal-kutu .ih-golge .ik { color: #9aa3b5; }
.hud .ihtiyac.ih-tozlasma .ik, .bitki-satir .ih-tozlasma .ik, .modal-kutu .ih-tozlasma .ik { color: #e9b83b; }
.hud .ihtiyac.yeni, .modal-kutu .ihtiyac.yeni { background: rgba(217, 164, 65, 0.22); box-shadow: inset 0 0 0 1.5px var(--vurgu); }
.hud .yeni-rozet { background: var(--vurgu); color: var(--vurgu-yazi); }
/* kâğıt kartlarda (durum, bilgi) çipler yeniden koyu mürekkep */
.hud .durum-kart .ihtiyac, .hud .bilgi-kart .ihtiyac { background: rgba(43, 42, 34, 0.08); box-shadow: inset 0 0 0 1px rgba(43, 42, 34, 0.18); color: var(--murekkep); }
.hud .durum-kart .ihtiyac.ih-nem .ik, .hud .bilgi-kart .ihtiyac.ih-nem .ik { color: #3c86ad; }
.hud .durum-kart .ihtiyac.ih-gunes .ik, .hud .bilgi-kart .ihtiyac.ih-gunes .ik { color: #c7871a; }
.hud .durum-kart .ihtiyac.ih-golge .ik, .hud .bilgi-kart .ihtiyac.ih-golge .ik { color: #5b6170; }
.hud .durum-kart .ihtiyac.ih-tozlasma .ik, .hud .bilgi-kart .ihtiyac.ih-tozlasma .ik { color: #a6781a; }
.hud .durum-kart .ihtiyac.yeni, .hud .bilgi-kart .ihtiyac.yeni { background: rgba(217, 164, 65, 0.24); box-shadow: inset 0 0 0 1.5px var(--vurgu-koyu); }
.hud .durum-kart .yeni-rozet { background: var(--vurgu-koyu); color: #fff8e6; }

/* ---------------- OYUN HUD: ızgara ---------------- */
.hud { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
.hud.oyun { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; }
.hud button, .hud .tepsi-panel, .hud .hedef-kart, .hud .bilgi-kart, .hud .gun-cubuk, .hud .hud-kutu { pointer-events: auto; }
.hud-ust { grid-row: 1; grid-column: 1; display: flex; flex-direction: column; gap: 5px; padding: calc(var(--st) + 6px) calc(var(--sr) + 8px) 0 calc(var(--sl) + 8px); min-width: 0; }
.hud-sira { display: flex; align-items: center; gap: 6px; min-width: 0; }
.hud-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--panel); box-shadow: inset 0 0 0 1px var(--cizgi-2), var(--golge); cursor: pointer; flex: none; position: relative; }
.hud-btn:active { transform: scale(0.94); }
.hud-btn.ipucu-btn { color: var(--vurgu); }
.hud-baslik { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-inline-start: 2px; }
.hud-baslik b { font-family: var(--baslik); font-weight: 600; font-size: 17px; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evreler { display: flex; gap: 5px; align-items: center; }
.evreler i { width: 16px; height: 6px; border-radius: 3px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--soluk-2); }
.evreler i.tamam { background: var(--yaprak); box-shadow: none; }
.evreler i.simdi { background: var(--vurgu); box-shadow: none; width: 24px; }
.hud-kutu { display: inline-flex; align-items: center; gap: 5px; height: 42px; padding: 0 10px 0 8px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--cizgi), var(--golge); font-variant-numeric: tabular-nums; flex: none; }
.hud-kutu .ik { width: 18px; height: 18px; color: var(--soluk); }
.hud-kutu b { font-weight: 700; font-size: 16px; }
.hud-kutu small { color: var(--soluk); font-size: 12px; font-weight: 600; }
.hud-kutu.su .ik { color: var(--su); }
.hud-kutu.su { flex-direction: row; }
.mini-cubuk { display: block; width: 34px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.mini-cubuk i { display: block; height: 100%; background: var(--su); transition: width 0.2s; }
.hud-kutu.su.az b { color: var(--kotu); }
.hud-kutu.su.az .mini-cubuk i { background: var(--kotu); }
.hud-kutu.parca .ik { color: var(--vurgu); }
.hud-kutu.parca.asti b { color: var(--uyari); }

/* saat / güneş çubuğu */
.gun-cubuk { display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 9px 0 6px; border-radius: 10px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--cizgi); }
.gc-ikon { display: grid; color: #e9b54d; }
.gc-ikon .ik { width: 17px; height: 17px; }
.gc-ray { position: relative; flex: 1; height: 10px; border-radius: 5px; background: var(--gun, linear-gradient(90deg, #1c2640, #e0a85a 50%, #1c2640)); opacity: 0.92; }
.gc-ray::after { content: ""; position: absolute; inset: 0; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35); }
.gc-dolu { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 5px; background: rgba(12, 14, 10, 0.45); }
.gc-imlec { position: absolute; top: -4px; width: 4px; height: 18px; border-radius: 2px; background: #fff7e2; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.55); transition: inset-inline-start 0.1s linear; }
.gc-isaret { position: absolute; top: -5px; width: 3px; height: 20px; border-radius: 2px; background: var(--kotu); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5); }
.gc-isaret::after { content: ""; position: absolute; top: -5px; left: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--kotu); }
.gc-saat { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 700; min-width: 40px; text-align: end; }

/* hedef kartı */
.hedef-kart { padding: 7px 10px 7px; border-radius: 12px; background: rgba(28, 33, 24, 0.92); box-shadow: inset 0 0 0 1px var(--cizgi-2), var(--golge); display: flex; flex-direction: column; gap: 5px; }
.hk-cumle { margin: 0; font-family: var(--baslik); font-size: 14.5px; line-height: 1.3; color: var(--yazi); }
:lang(ar) .hk-cumle, :lang(hi) .hk-cumle { font-family: var(--metin); }
.hk-bitkiler { display: flex; flex-direction: column; gap: 4px; }
.hk-bitki { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; border-radius: 8px; transition: background 0.2s; }
.hk-bitki.stres { background: rgba(208, 88, 60, 0.12); box-shadow: 0 0 0 4px rgba(208, 88, 60, 0.12); }
.hk-ad { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 13px; }
.hk-ad .ik { width: 17px; height: 17px; color: var(--yaprak); }
.hk-ad small { color: var(--soluk); font-weight: 500; font-size: 11.5px; }
.hk-canli { display: inline-flex; gap: 6px; margin-inline-start: auto; }
.cv { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--soluk); }
.cv .ik { width: 14px; height: 14px; }
.cv.iyi { color: var(--yaprak); }
.cv.kotu { color: var(--kotu); }

/* bildirim şeridi (tahta alanının üstünde ortalı; konumu JS) */
.serit { position: fixed; z-index: 14; top: 0; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; max-width: min(92vw, 420px); padding: 9px 14px; border-radius: 12px; background: var(--kagit); color: var(--murekkep); box-shadow: var(--golge); font-weight: 600; font-size: 14px; pointer-events: none; }
.serit .ik { width: 20px; height: 20px; flex: none; }
.serit.iyi { box-shadow: inset 4px 0 0 #5f8a3c, var(--golge); }
.serit.iyi .ik { color: #5f8a3c; }
.serit.kotu { box-shadow: inset 4px 0 0 var(--kotu), var(--golge); }
.serit.kotu .ik { color: var(--kotu); }
.serit.uyari { box-shadow: inset 4px 0 0 var(--uyari), var(--golge); }
.serit.uyari .ik { color: #b8731c; }
.serit.goster { animation: serit-gel 0.3s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes serit-gel { from { opacity: 0; transform: translate(-50%, -8px); } }

/* başarısız bitki vurgusu + ipucu çizgisi */
.vurgu-halka { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 9; pointer-events: none; }
.vurgu-halka::before, .vurgu-halka::after { content: ""; position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; border-radius: 50%; border: 3px solid var(--kotu); box-shadow: 0 0 0 3px rgba(208, 88, 60, 0.25); }
.vurgu-halka::after { animation: halka-yay 1.3s ease-out infinite; box-shadow: none; }
@keyframes halka-yay { from { transform: scale(0.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ipucu-cizgi { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9; pointer-events: none; overflow: visible; }
.ipucu-cizgi path { fill: none; stroke: var(--vurgu); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 10 9; animation: akis 0.8s linear infinite; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6)); }
.ipucu-cizgi circle { fill: var(--vurgu); stroke: #fff7e2; stroke-width: 2; }
@keyframes akis { to { stroke-dashoffset: -19; } }

/* ---------------- tepsi paneli (alt) ---------------- */
.tepsi-panel { grid-row: 3; grid-column: 1; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 10px calc(var(--sr) + 10px) calc(var(--sb) + 10px) calc(var(--sl) + 10px); background: linear-gradient(180deg, rgba(34, 39, 29, 0.97), rgba(20, 23, 17, 0.98)); border-radius: 18px 18px 0 0; box-shadow: 0 -12px 30px -14px rgba(0, 0, 0, 0.9), inset 0 1px 0 var(--cizgi-2); min-height: calc(176px + var(--sb)); }
.tepsi-panel::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--vurgu) 60%, transparent), transparent); opacity: 0.6; }
.tepsi-govde { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
.tepsi { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding: 2px 1px 2px; }
.tepsi::-webkit-scrollbar { display: none; }
.tepsi-kart { position: relative; flex: none; width: 74px; height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 12px; background: linear-gradient(180deg, #3a3423, #2b271b); box-shadow: inset 0 0 0 1.5px rgba(217, 164, 65, 0.45), 0 6px 14px -8px rgba(0, 0, 0, 0.9); cursor: grab; touch-action: none; color: #f6ecd2; }
.tepsi-kart .ik { width: 28px; height: 28px; color: #f0d79a; }
.tk-ad { font-size: 11.5px; font-weight: 600; max-width: 68px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-adet { position: absolute; top: 4px; inset-inline-end: 5px; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--vurgu); font-variant-numeric: tabular-nums; }
.tepsi-kart.secili { box-shadow: inset 0 0 0 2.5px var(--vurgu), 0 0 0 3px var(--vurgu-zayif); transform: translateY(-2px); }
.tepsi-kart.bitti { opacity: 0.38; cursor: default; }
.tepsi-kart:active:not(:disabled) { transform: scale(0.96); }
.tepsi-kablo { flex: none; width: 74px; height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 12px; background: rgba(239, 230, 210, 0.04); box-shadow: inset 0 0 0 1px var(--cizgi-2); border: 0; margin-inline-start: auto; }
.tepsi-kablo .ik { width: 24px; height: 24px; color: var(--yaprak); }
.tepsi-kablo b { font-size: 17px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.tepsi-kablo small { font-size: 11px; color: var(--soluk); font-weight: 600; }
.tepsi-kablo.bitti b { color: var(--kotu); }
.tepsi-not { margin: 0; font-size: 12.5px; color: var(--soluk); line-height: 1.3; min-height: 1.3em; }
.eylem-satir { display: flex; gap: 8px; align-items: stretch; }
.eylem-satir .btn.ikincil { flex: none; }
.hiz-grup { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 15px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--cizgi-2); min-height: 56px; }
.hiz-btn { border-radius: 11px; font-weight: 700; font-size: 17px; color: var(--soluk); cursor: pointer; font-variant-numeric: tabular-nums; }
.hiz-btn.secili { background: var(--vurgu); color: var(--vurgu-yazi); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.izle-bilgi { display: flex; align-items: center; gap: 8px; color: var(--soluk); font-size: 13.5px; padding: 8px 4px; margin: auto 0; }
.izle-bilgi .ik { width: 18px; height: 18px; color: var(--vurgu); }

/* durum kartı (başarısız / evre bitti) — kâğıt not */
.durum-kart { background: var(--kagit) linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 50%); color: var(--murekkep); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; box-shadow: inset 0 0 0 1px rgba(80, 64, 36, 0.22); animation: yukari 0.25s ease; }
.durum-kart.basarisiz { box-shadow: inset 4px 0 0 var(--kotu), inset 0 0 0 1px rgba(80, 64, 36, 0.22); }
.durum-kart.evre { box-shadow: inset 4px 0 0 #5f8a3c, inset 0 0 0 1px rgba(80, 64, 36, 0.22); max-height: 46vh; overflow-y: auto; }
.durum-kart.hasat { flex-direction: row; align-items: center; justify-content: center; font-family: var(--baslik); font-size: 18px; }
.durum-kart.hasat .ik { color: #5f8a3c; width: 26px; height: 26px; }
.dk-bas { display: flex; gap: 10px; align-items: flex-start; }
.dk-bas b { display: block; font-size: 15px; line-height: 1.3; margin-top: 2px; }
.dk-ikon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(208, 88, 60, 0.14); color: var(--kotu); flex: none; }
.dk-ikon .ik { width: 22px; height: 22px; }
.dk-oneri { margin: 0; font-size: 13px; color: var(--murekkep-soluk); line-height: 1.35; }
.durum-kart .btn.reklam { color: var(--murekkep); background: rgba(224, 154, 58, 0.14); align-self: flex-start; }
.ek-bitki { display: flex; gap: 10px; align-items: flex-start; }
.ek-bitki > .ik { width: 28px; height: 28px; color: #4b7136; flex: none; margin-top: 2px; }
.ek-bitki b { display: block; font-family: var(--baslik); font-size: 16px; }
:lang(ar) .ek-bitki b, :lang(hi) .ek-bitki b { font-family: var(--metin); }
.ek-ozet { display: block; font-size: 13.5px; font-weight: 600; color: #6f4f13; margin: 1px 0 5px; }

/* bilgi kartı (öğe/bitkiye dokununca) — konumu JS */
.bilgi-katman { position: fixed; z-index: 15; left: 0; right: 0; pointer-events: none; display: flex; justify-content: center; }
.bilgi-kart { pointer-events: auto; width: min(100%, 400px); background: var(--kagit) linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 50%); color: var(--murekkep); border-radius: 14px; padding: 11px 12px 12px; box-shadow: inset 0 0 0 1px rgba(80, 64, 36, 0.22), var(--golge-buyuk); display: flex; flex-direction: column; gap: 8px; animation: yukari 0.2s ease; }
.bk-bas { display: flex; align-items: center; gap: 10px; }
.bk-bas > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bk-bas b { font-family: var(--baslik); font-size: 18px; line-height: 1.15; }
:lang(ar) .bk-bas b, :lang(hi) .bk-bas b { font-family: var(--metin); }
.bk-bas small { color: var(--murekkep-soluk); font-size: 12.5px; }
.bk-bas > .ik { width: 30px; height: 30px; color: #4b7136; }
.bk-ikon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.bk-ikon .ik { width: 26px; height: 26px; }
.t-sensor.bk-ikon, .pk-ikon.t-sensor { background: #e6dcc4; color: #3d3a2c; box-shadow: inset 0 0 0 1px rgba(80, 64, 36, 0.3); }
.t-dugum.bk-ikon, .pk-ikon.t-dugum { background: linear-gradient(180deg, #d6aa52, #b08431); color: #fff8e6; }
.t-eylemci.bk-ikon, .pk-ikon.t-eylemci { background: linear-gradient(180deg, #c27a50, #9a5634); color: #fff3e6; }
.bilgi-kart .ikon-btn.kucuk { color: var(--murekkep); box-shadow: inset 0 0 0 1px rgba(80, 64, 36, 0.3); }
.bk-metin { margin: 0; font-size: 13.5px; line-height: 1.4; color: #4a4636; }
.ayar-kart { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 10px; border-radius: 10px; background: rgba(43, 42, 34, 0.07); font-size: 13.5px; font-weight: 600; }
.ayar-kart > span:first-child { flex: 1; }
.ayar-kart b { min-width: 30px; text-align: center; font-size: 18px; font-variant-numeric: tabular-nums; font-family: var(--baslik); }
.ayar-dugme { display: inline-flex; gap: 6px; }
.bk-eylem { display: flex; gap: 8px; }
.bk-eylem .btn { flex: 1; }
.bilgi-kart .btn.ikincil { background: rgba(43, 42, 34, 0.08); color: var(--murekkep); box-shadow: inset 0 0 0 1px rgba(80, 64, 36, 0.25); }
.bilgi-kart .btn.tehlike-cizgi { color: #a23a22; }

/* sürüklenen tepsi kartı */
.surukle-kart { position: fixed; left: 0; top: 0; z-index: 30; width: 0; height: 0; pointer-events: none; }
.surukle-kart .ik { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; padding: 8px; border-radius: 12px; background: #c99a3e; color: #fff8e6; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.8); opacity: 0.92; }

/* koç balonu + el işareti */
.koc { position: absolute; z-index: 16; left: 50%; transform: translate(-50%, 6px); top: 50%; max-width: min(90vw, 400px); padding: 10px 14px 10px 13px; border-radius: 12px; background: var(--kagit); color: var(--murekkep); font-weight: 600; font-size: 15px; line-height: 1.35; text-align: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.8); border-inline-start: 4px solid var(--vurgu); opacity: 0; transition: opacity 0.25s, transform 0.25s, top 0.25s; pointer-events: none; }
.koc.goster { opacity: 1; transform: translate(-50%, 0); }
.koc.yatay { max-width: min(46vw, 380px); }
.el-isaret { position: absolute; z-index: 17; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.el-isaret.goster { opacity: 1; }
.el-isaret .ik { position: absolute; width: 50px; height: 50px; left: -22px; top: -8px; color: #fffaf0; stroke-width: 1.4; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.85)); animation: el-bas 1.2s ease-in-out infinite; transform-origin: 22px 8px; }
.el-isaret::before { content: ""; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--vurgu); animation: halka 1.2s ease-out infinite; }
.el-isaret.surukle .ik { animation: none; transform: translate(2px, 4px); }
.el-isaret.surukle::before { animation: none; opacity: 0; }
.el-isaret.surukle.bas::before { opacity: 1; transform: scale(0.55); background: var(--vurgu-zayif); }
@keyframes el-bas { 0%, 100% { transform: translate(6px, 10px); } 45% { transform: translate(0, 0) scale(0.94); } }
@keyframes halka { 0% { transform: scale(0.4); opacity: 0; } 45% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }

/* toast */
.toast { position: absolute; z-index: 60; left: 50%; bottom: calc(var(--sb) + 26px); transform: translate(-50%, 20px); display: flex; align-items: center; gap: 8px; max-width: min(90vw, 420px); padding: 10px 15px; border-radius: 12px; background: var(--kagit); color: var(--murekkep); font-weight: 600; font-size: 14.5px; box-shadow: var(--golge-buyuk); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.toast .ik { width: 20px; height: 20px; flex: none; }
.toast.kotu .ik { color: var(--kotu); }
.toast.goster { opacity: 1; transform: translate(-50%, 0); }
.oyunda .toast { bottom: calc(var(--sb) + 196px); }

/* ---------------- sonuç ---------------- */
.sonuc { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.sonuc-ust { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sonuc-ust h1 { font-size: 40px; font-weight: 600; }
.yildiz-satir { display: flex; gap: 6px; align-items: flex-end; }
.buyuk-yildiz .ik { width: 52px; height: 52px; color: var(--panel-3); }
.buyuk-yildiz:nth-child(2) .ik { width: 64px; height: 64px; }
.buyuk-yildiz.dolu .ik { color: var(--vurgu); filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--vurgu) 50%, transparent)); animation: yildiz 0.45s cubic-bezier(.2, .9, .3, 1.5) both; animation-delay: inherit; }
.buyuk-yildiz { animation-delay: inherit; }
@keyframes yildiz { from { transform: scale(0.2) rotate(-30deg); opacity: 0; } }
.sonuc-kart { display: flex; flex-direction: column; gap: 8px; max-height: 54vh; overflow-y: auto; }
.kosul { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--soluk); }
.kosul.tamam { color: var(--yazi); }
.kosul small { margin-inline-start: auto; color: var(--soluk-2); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.kosul-yildiz .ik { width: 20px; height: 20px; color: var(--panel-3); }
.kosul.tamam .kosul-yildiz .ik { color: var(--vurgu); }
.istatistik { display: grid; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); gap: 6px; padding: 8px 0 2px; border-top: 1px solid var(--cizgi); margin-top: 2px; }
.istatistik span { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.istatistik .ik { width: 18px; height: 18px; color: var(--soluk); }
.istatistik b { font-family: var(--baslik); font-size: 21px; font-weight: 600; }
.istatistik small { color: var(--soluk); font-size: 11.5px; text-align: center; }
.odul-satir { display: flex; justify-content: center; gap: 22px; padding: 8px 0 2px; border-top: 1px solid var(--cizgi); }
.odul { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.odul .ik { width: 24px; height: 24px; }
.odul.xp .ik { color: var(--yaprak); }
.odul small { color: var(--soluk); font-size: 12px; }
.bildirim { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 10px; background: var(--panel-2); font-size: 14px; font-weight: 600; }
.bildirim .ik { width: 18px; height: 18px; color: var(--vurgu); }
.bildirim.yeni { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vurgu) 40%, transparent); }
.yeni-kartlar p { margin: 0 0 6px; display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.yeni-kartlar p .ik { width: 18px; height: 18px; color: var(--vurgu); }
.yk-satir { display: flex; gap: 8px; overflow-x: auto; }
.yk-satir .mini-kart { width: 78px; flex: none; }
.sonuc-cta .dugme-satir { margin-top: 0; }

/* ---------------- sayfalar: atölye, defter, görev, mağaza, etkinlik ---------------- */
.sayfa { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; width: min(100%, 560px); margin: 0 auto; }
.alt-baslik { display: flex; align-items: center; gap: 8px; font-size: 19px; margin: 10px 2px 0; }
.alt-baslik .ik { width: 20px; height: 20px; color: var(--vurgu); }
.alt-baslik .soluk { margin-inline-start: auto; font-family: var(--metin); font-size: 13px; font-weight: 500; }
.aciklama { margin: 2px 0 0; color: var(--soluk); font-size: 13.5px; line-height: 1.4; }
.sekmeler { display: flex; gap: 4px; padding: 4px; margin: 4px auto 10px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--cizgi); width: min(100%, 560px); flex: none; }
.sekme { flex: 1; min-height: 40px; border-radius: 9px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--soluk); display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; }
.sekme.secili { background: var(--panel-3); color: var(--yazi); box-shadow: inset 0 -2px 0 var(--vurgu); }
.sekme.kilitli .ik { width: 14px; height: 14px; }
.parca-izgara { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.parca-kart { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px 10px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--cizgi); cursor: pointer; text-align: center; min-width: 0; }
.parca-kart b { font-size: 13.5px; font-weight: 650; line-height: 1.15; }
.parca-kart small { font-size: 11.5px; color: var(--soluk); line-height: 1.25; display: inline-flex; align-items: center; gap: 3px; }
.parca-kart small .ik { width: 12px; height: 12px; }
.parca-kart.kilitli { opacity: 0.6; }
.parca-kart.kilitli .pk-ikon { filter: grayscale(1) brightness(0.6); }
.pk-ikon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--panel-2); color: var(--yaprak); flex: none; }
.pk-ikon .ik { width: 28px; height: 28px; }
.pk-ikon.buyuk { width: 72px; height: 72px; border-radius: 20px; }
.pk-ikon.buyuk .ik { width: 42px; height: 42px; }
.bitki-satir { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.bitki-satir.kilitli { opacity: 0.6; }
.bs-bas { display: flex; gap: 12px; align-items: center; }
.bs-bas b { font-family: var(--baslik); font-size: 18px; display: block; }
.bs-bas small { color: var(--soluk); font-size: 13px; display: inline-flex; gap: 4px; align-items: center; }
.bs-bas small .ik { width: 13px; height: 13px; }
.bs-evreler { display: flex; flex-direction: column; gap: 8px; }
.bs-evre { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border-radius: 10px; background: var(--panel-2); }
.tema-satir { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.tema-satir > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tema-satir b { font-family: var(--baslik); font-size: 17px; }
.tema-satir.kilitli { opacity: 0.6; }
.tema-satir > .ik { color: var(--soluk); }
.tema-renk { display: flex; gap: 3px; flex: none; }
.tema-renk i { width: 14px; height: 40px; border-radius: 5px; background: var(--t1); }
.tema-renk i:nth-child(2) { background: var(--t2); } .tema-renk i:nth-child(3) { background: var(--t3); }
.defter-ozet { display: flex; flex-direction: column; gap: 8px; }
.defter-ozet > div:first-child { display: flex; align-items: baseline; gap: 8px; }
.defter-ozet b { font-family: var(--baslik); font-size: 30px; }
.defter-ozet .cubuk i { background: var(--yaprak); }
.kart-izgara { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mini-kart { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; padding: 0; min-width: 0; }
.mini-kart .kart-sanat { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45)); }
.mini-kart small { font-size: 12px; font-weight: 600; text-align: center; line-height: 1.2; min-height: 2.4em; color: var(--yazi); overflow: hidden; }
.mini-kart.yok small { color: var(--soluk-2); letter-spacing: 0.2em; }
.mini-kart.yeni::after { content: ""; position: absolute; top: 4px; inset-inline-end: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--kotu); box-shadow: 0 0 0 2px var(--panel-kati); }
.kart-detay { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.kart-detay .kart-sanat { width: 150px; }
.kart-detay > b { font-family: var(--baslik); font-size: 25px; font-weight: 600; }
.kart-detay > p { margin: 0; }
.kd-satir { display: flex; flex-direction: column; gap: 5px; width: 100%; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: var(--panel-2); text-align: start; }
.kd-satir > span:last-child { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; flex-wrap: wrap; }
.kd-et { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--soluk); font-weight: 700; }
.gorev { display: flex; flex-direction: column; gap: 8px; padding: 13px 14px; border-radius: var(--yaricap); background: var(--panel); box-shadow: inset 0 0 0 1px var(--cizgi); }
.gorev.hazir { box-shadow: inset 0 0 0 1.5px var(--vurgu); }
.gorev.alindi { opacity: 0.6; }
.gorev .cubuk i { background: var(--yaprak); }
.gorev-ust { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.gorev-ust small { color: var(--soluk); font-variant-numeric: tabular-nums; }
.gorev-alt { display: flex; align-items: center; justify-content: space-between; }
.gorev-alt .odul { font-size: 15px; }
.gorev-alt .odul .ik { width: 20px; height: 20px; }
.seri-kart { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.seri-kart b { font-family: var(--baslik); font-size: 32px; color: var(--vurgu); }
.seri-kart small { width: 100%; }
.urun-kart { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: var(--yaricap); background: var(--panel); box-shadow: inset 0 0 0 1px var(--cizgi); }
.urun-kart.vurgu { box-shadow: inset 0 0 0 1.5px var(--vurgu); }
.urun-ust { display: flex; gap: 12px; }
.urun-ikon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-2); color: var(--vurgu); flex: none; }
.urun-ikon .ik { width: 24px; height: 24px; }
.urun-kart > .btn, .urun-kart > .durum-etiket { align-self: flex-end; }
.tema-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tema-kart { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--cizgi); }
.tema-kart.secili { box-shadow: inset 0 0 0 2px var(--yazi); }
.tema-ornek { display: flex; gap: 4px; width: 100%; height: 28px; }
.tema-ornek i { flex: 1; border-radius: 6px; background: #2a3023; }
.tema-ornek i:first-child { flex: 2; }
.tema-ornek[data-tema-ornek="pirinc"] i:first-child { background: linear-gradient(90deg, #d9a441, #a8761f); }
.tema-ornek[data-tema-ornek="bakir"] i:first-child { background: linear-gradient(90deg, #d07a48, #9b4f25); }
.tema-ornek[data-tema-ornek="yosun"] i:first-child { background: linear-gradient(90deg, #9cc070, #5f8a3c); }
.tema-ornek[data-tema-ornek="lavanta"] i:first-child { background: linear-gradient(90deg, #b3a0dc, #7a63ad); }
.tema-ornek i:nth-child(2) { background: var(--kagit); opacity: 0.85; }
.etkinlik-kart { display: flex; flex-direction: column; gap: 10px; }
.ev-bas { display: flex; gap: 12px; align-items: center; }
.ev-bas b { display: block; font-size: 16px; }
.ev-bas small { color: var(--soluk); }
.ev-ikon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--vurgu-zayif); color: var(--vurgu); flex: none; }
.ev-ikon .ik { width: 24px; height: 24px; }
.basamaklar { display: flex; flex-direction: column; gap: 6px; }
.basamak { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--panel-2); }
.basamak.hazir { box-shadow: inset 0 0 0 1.5px var(--vurgu); }
.basamak.alindi { opacity: 0.6; }
.basamak-hedef { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; min-width: 64px; font-variant-numeric: tabular-nums; }
.basamak-hedef .ik { width: 16px; height: 16px; color: var(--vurgu); }
.basamak .odul { flex: 1; font-size: 15px; }
.basamak .odul .ik { width: 18px; height: 18px; }

/* ayarlar */
.ayarlar { display: flex; flex-direction: column; gap: 4px; }
.ayar { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 4px; border-bottom: 1px solid var(--cizgi); }
.ayar > .ik { color: var(--vurgu); }
.ayar > span { flex: 1; display: flex; flex-direction: column; font-weight: 600; min-width: 0; }
.ayar > span small { font-weight: 400; color: var(--soluk); font-size: 12.5px; }
.ayar select { background: var(--panel-2); color: var(--yazi); border: 1px solid var(--cizgi-2); border-radius: 9px; padding: 8px 10px; font: inherit; font-size: 14px; max-width: 48%; }
.ayar input[type="range"] { width: 44%; accent-color: var(--vurgu); }
.anahtar { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 14px; background: var(--panel-3); position: relative; cursor: pointer; flex: none; transition: background 0.15s; }
.anahtar::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--kagit); transition: inset-inline-start 0.15s; }
.anahtar:checked { background: var(--vurgu); }
.anahtar:checked::after { inset-inline-start: 23px; }
.baglanti-satir { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.surum { text-align: center; color: var(--soluk-2); font-size: 12px; margin: 12px 0 0; }
.yardim { display: flex; flex-direction: column; gap: 4px; }
.yardim-satir { display: flex; gap: 12px; align-items: flex-start; padding: 8px 2px; border-bottom: 1px solid var(--cizgi); }
.yardim-satir p { margin: 0; line-height: 1.45; font-size: 14.5px; }
.yardim-ikon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--panel-2); color: var(--vurgu); flex: none; grid-auto-flow: column; gap: 4px; }
.yardim-ikon.dugum { background: linear-gradient(180deg, #d6aa52, #b08431); color: #fff8e6; }
.sinyal-ornek { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--soluk); }
.sinyal-ornek.acik { background: var(--yaprak); border-color: #e6f7c9; }
.debug-izgara { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.log { margin-top: 10px; font: 11px/1.4 monospace; color: var(--soluk); max-height: 30vh; overflow: auto; }
.log-satir b { color: var(--yazi); }

/* renk körü yardımı: canlı değerler ve evre noktaları ek desen alır */
.renk-koru .cv.kotu b::after { content: " !"; }
.renk-koru .evreler i.simdi { background: repeating-linear-gradient(90deg, var(--vurgu) 0 3px, transparent 3px 5px); }

/* ---------------- yatay (telefon yan çevrilmiş): yan sütun sağda (solak: solda), tahta kalan alanda ---------------- */
@media (orientation: landscape) and (max-height: 560px) {
  .hud.oyun { grid-template-columns: minmax(0, 1fr) calc(var(--yan-w) + var(--sr)); grid-template-rows: auto minmax(0, 1fr); }
  .hud.oyun.solak { grid-template-columns: calc(var(--yan-w) + var(--sl)) minmax(0, 1fr); }
  .hud-ust { grid-column: 2; grid-row: 1; padding: calc(var(--st) + 6px) calc(var(--sr) + 8px) 0 8px; background: rgba(24, 28, 20, 0.97); }
  .hud.solak .hud-ust { grid-column: 1; padding: calc(var(--st) + 6px) 8px 0 calc(var(--sl) + 8px); }
  .tepsi-panel { grid-column: 2; grid-row: 2; border-radius: 0; min-height: 0; padding: 8px calc(var(--sr) + 8px) calc(var(--sb) + 8px) 8px; background: rgba(24, 28, 20, 0.97); box-shadow: none; }
  .hud.solak .tepsi-panel { grid-column: 1; padding: 8px 8px calc(var(--sb) + 8px) calc(var(--sl) + 8px); }
  .tepsi-panel::before { display: none; }
  .hud-ust, .tepsi-panel { pointer-events: auto; }
  .hud-kutu, .hud-btn { height: 38px; }
  .hud-btn { width: 38px; }
  .hud-kutu.su .mini-cubuk { display: none; }
  .hedef-kart { padding: 6px 9px; }
  .hk-cumle { font-size: 13.5px; }
  .tepsi { flex-wrap: wrap; overflow: visible; }
  .tepsi-kart, .tepsi-kablo { width: 66px; height: 58px; }
  .tepsi-kart .ik { width: 24px; height: 24px; }
  .tepsi-govde { overflow-y: auto; }
  .btn.buyuk { min-height: 50px; }
  .hiz-grup { min-height: 50px; }
  .btn.kare { min-height: 50px; width: 50px; }
  .durum-kart.evre { max-height: none; }
  .ekran { padding-top: calc(var(--st) + 8px); }
  .logo-orta { margin-top: 0; }
  .logo-isaret { width: 50px; height: 50px; }
  .logo { flex-direction: row; gap: 14px; }
  .logo-yazi { align-items: flex-start; }
  .logo-yazi b { font-size: 34px; }
  .logo-yazi em { font-size: 21px; }
  .slogan { display: none; }
  .ekran-home .alt-bolge { width: min(100%, 560px); margin: 0 auto; }
  .ekran-home { background: linear-gradient(90deg, rgba(13, 15, 11, 0.55), rgba(13, 15, 11, 0.84) 30%, rgba(13, 15, 11, 0.84) 70%, rgba(13, 15, 11, 0.55)); }
  .ekran-home .bolum-kart { display: none; }
  .giris, .sonuc { width: min(100%, 560px); margin: 0 auto; }
  .giris-kart { max-height: 66vh; }
  .sonuc-kart { max-height: 42vh; }
  .sonuc-ust h1 { font-size: 30px; }
  .buyuk-yildiz .ik { width: 36px; height: 36px; }
  .buyuk-yildiz:nth-child(2) .ik { width: 44px; height: 44px; }
  .riza { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .riza .logo-orta { display: none; }
  .riza-kart { flex: 1 1 380px; }
  .riza .alt-cta { flex: 1 1 200px; }
  .modal.tam .modal-kutu { height: auto; max-height: 100%; }
  .kart-izgara { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .parca-izgara { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bolum-izgara { grid-template-columns: repeat(10, 1fr); }
  .oyunda .toast { bottom: calc(var(--sb) + 14px); left: calc((100% - var(--yan-w)) / 2); }
  .oyunda .hud.solak ~ .toast, .oyunda #hud.solak ~ #toast { left: calc(var(--yan-w) + (100% - var(--yan-w)) / 2); }
}

/* çok dar telefonlar (≤360dp) */
@media (max-width: 370px) {
  .hud-kutu { padding: 0 7px 0 6px; }
  .mini-cubuk { width: 26px; }
  .tepsi-kart, .tepsi-kablo { width: 66px; }
  .logo-yazi b { font-size: 42px; }
  .btn.buyuk { font-size: 16.5px; padding: 0 14px; }
}
@media (max-height: 700px) and (orientation: portrait) {
  .logo-orta { margin-top: 0; }
  .tepsi-panel { min-height: calc(164px + var(--sb)); }
  .tepsi-kart, .tepsi-kablo { height: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
