/* Gömülü fontlar (Inter: SIL OFL 1.1 · TeX Gyre Pagella: GUST Font License) — tüm cihazlarda aynı görünüm */
@font-face { font-family: 'Tamga Inter'; src: url('/fonts/inter-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tamga Inter'; src: url('/fonts/inter-600.woff') format('woff'); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tamga Inter'; src: url('/fonts/inter-700.woff') format('woff'); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tamga Baslik'; src: url('/fonts/pagella-bold.woff') format('woff'); font-weight: 400 900; font-style: normal; font-display: swap; }

/* Tamga — arayüz stilleri */
:root {
  --tas-koyu: #1d1712;
  --tas: #2b221b;
  --tas-acik: #4a3d31;
  --kum: #e9dcc0;
  --kum-soluk: #c9b89a;
  --kum-silik: #b3a384;
  --altin: #d8b77a;
  --altin-acik: #f1dfb2;
  --altin-koyu: #9b7740;
  --kirmizi: #d9785f;
  --yesil: #9cc48a;
  --golge: 0 2px 2px rgba(0, 0, 0, .55);
  --yazi-golge: 0 2px 3px rgba(0, 0, 0, .85), 0 0 1px rgba(0, 0, 0, .9);
  --baslik-font: 'Tamga Baslik', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  /* Tüm telefonlarda aynı görünüm için ortak yazı tipi (Inter); yüklenemezse sistem yazı tipi */
  --govde-font: 'Tamga Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ust-bosluk: env(safe-area-inset-top, 0px);
  --alt-bosluk: env(safe-area-inset-bottom, 0px);
  --menu-h: 70px;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
/* iOS ve Android tarayıcılarının farklı davranışlarını eşitle */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale; font-synthesis: none; }
button, input, textarea, select { -webkit-appearance: none; appearance: none; border-radius: 0; margin: 0; }
button, a, [role="button"] { touch-action: manipulation; }
button, .alt-menu, .serit, .tas-dugme, .ozellik, .cip, .liste-satir, .rozet-kart, .isaret-kart { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
input:-webkit-autofill, input:-webkit-autofill:focus, textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--kum); -webkit-box-shadow: 0 0 0 1000px #1b1510 inset; caret-color: var(--kum); transition: background-color 9999s;
}
img, svg { -webkit-user-drag: none; }
body {
  background: #120e0b url('/img/tas.jpg') center / 900px auto;
  color: var(--kum);
  font-family: var(--govde-font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.gizli { display: none !important; }
.svg-tanim { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Masaüstünde telefon çerçevesi */
.cerceve { min-height: 100%; display: flex; justify-content: center; }
#uygulama {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 230, 190, .05), transparent 60%),
    linear-gradient(rgba(0, 0, 0, .12), rgba(0, 0, 0, .3)),
    url('/img/tas.jpg') center top / 900px auto;
  box-shadow: 0 0 60px rgba(0, 0, 0, .7);
  display: flex;
  flex-direction: column;
}
@media (min-width: 520px) {
  body { background-color: #0d0a08; background-image: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url('/img/tas.jpg'); }
}

/* ---------- Sürüm şeridi ---------- */
.serit {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-top: var(--ust-bosluk);
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .25)),
    linear-gradient(90deg, #4d4842, #79736b 30%, #6d675f 70%, #47423c);
  border-top: 1px solid rgba(255, 255, 255, .25);
  border-bottom: 1px solid rgba(0, 0, 0, .6);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .55);
}
.serit::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/img/tas.jpg') center / 600px auto;
  mix-blend-mode: overlay;
  opacity: .5;
  pointer-events: none;
}
.serit-yazi {
  position: relative;
  font-family: var(--govde-font);
  font-weight: 600;
  letter-spacing: .09em;
  font-size: 19px;
  color: #ece6dc;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .5), 0 1px 1px rgba(255, 255, 255, .15);
}
.serit-ikon { position: relative; width: 22px; height: 22px; }
.serit-ikon svg { width: 100%; height: 100%; }
.serit-ikon .d, .serit-ikon .o { fill: #2c2824; }
.pro .serit {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .25)),
    linear-gradient(90deg, #8a6420, #d9ab4a 25%, #f0cf7d 50%, #d4a443 75%, #86601f);
  border-top-color: rgba(255, 240, 200, .6);
}
.pro .serit::before { opacity: .45; }
.pro .serit-yazi { color: #3a2508; text-shadow: 0 1px 0 rgba(255, 235, 180, .55); }
.pro .serit-ikon .d { fill: #3a2508; }
.pro .serit-ikon .o { stroke: #e7c46d; fill: none; stroke-width: 1.2; }

/* ---------- Ekranlar ---------- */
#ekranlar { flex: 1; position: relative; padding-bottom: calc(var(--menu-h) + var(--alt-bosluk) + 12px); }
.ekran { display: none; padding: 0 18px; animation: belir .25s ease; }
.ekran.aktif { display: block; }
@keyframes belir { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Ana sayfa ---------- */
.marka { text-align: center; padding-top: 18px; }
.marka-logo { width: 178px; height: 178px; display: block; margin: 0 auto; }
.marka-ad {
  margin: 4px 0 0;
  font-family: var(--baslik-font);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: .05em;
  line-height: 1.1;
  background: linear-gradient(180deg, #f5e8cb 10%, #d9bf93 55%, #a98c60 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .8));
}
.marka-slogan { margin: 4px 0 0; font-size: 19px; color: var(--kum); text-shadow: var(--yazi-golge); letter-spacing: .01em; }
.cagri { text-align: center; font-size: 19px; line-height: 1.5; margin: 34px 0 18px; text-shadow: var(--yazi-golge); color: #efe4cf; }

.dugmeler { display: flex; flex-direction: column; gap: 10px; }
.dugme-sira { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tas-dugme {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 116px;
  padding: 12px 8px;
  border-radius: 12px;
  border: 1.5px solid rgba(219, 190, 140, .55);
  background:
    linear-gradient(180deg, rgba(255, 240, 210, .10), rgba(0, 0, 0, .18)),
    linear-gradient(rgba(70, 54, 38, .78), rgba(55, 42, 30, .82)),
    url('/img/tas.jpg') center / 500px auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 200, .25),
    inset 0 -2px 4px rgba(0, 0, 0, .35),
    0 4px 10px rgba(0, 0, 0, .55);
  cursor: pointer;
  transition: transform .12s, filter .12s;
  text-shadow: var(--yazi-golge);
}
.tas-dugme:active { transform: scale(.97); filter: brightness(.92); }
.tas-dugme-genis {
  min-height: 102px;
  background:
    linear-gradient(180deg, rgba(255, 235, 195, .16), rgba(0, 0, 0, .15)),
    linear-gradient(rgba(130, 102, 66, .70), rgba(105, 80, 50, .78)),
    url('/img/tas.jpg') center / 500px auto;
}
.pro .tas-dugme-genis {
  border-color: rgba(240, 205, 130, .8);
  background:
    linear-gradient(180deg, rgba(255, 230, 160, .28), rgba(60, 35, 0, .2)),
    linear-gradient(rgba(170, 120, 40, .72), rgba(120, 82, 25, .82)),
    url('/img/tas.jpg') center / 500px auto;
}
.tas-ikon { width: 64px; height: 52px; }
.tas-ikon svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .8)); }
.tas-ikon .d { fill: url(#altin); }
.tas-ikon .o { fill: #4a3826; }
.tas-ikon .c { fill: none; stroke: #6a5236; stroke-width: 1.1; stroke-linecap: round; }
.tas-yazi { font-size: 21px; font-weight: 600; color: #f3e9d5; }
.tas-dugme-genis .tas-yazi { font-weight: 700; }

/* Standart sürümde kilitli düğmeler */
.kilit { display: none; position: absolute; top: 8px; right: 9px; width: 18px; height: 18px; }
.kilit svg { width: 100%; height: 100%; }
.kilit .d { fill: #a69a89; } .kilit .c { fill: none; stroke: #a69a89; stroke-width: 2; } .kilit .o { fill: #4a443d; }
.standart .kilitli-olabilir {
  border-color: rgba(160, 150, 138, .35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(0, 0, 0, .1)),
    linear-gradient(rgba(70, 68, 64, .66), rgba(60, 58, 55, .72)),
    url('/img/tas.jpg') center / 500px auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 3px 8px rgba(0, 0, 0, .45);
}
.standart .kilitli-olabilir .tas-yazi { color: rgba(205, 198, 188, .55); text-shadow: 0 1px 1px rgba(0, 0, 0, .6); }
.standart .kilitli-olabilir .tas-ikon .d { fill: #8c857b; }
.standart .kilitli-olabilir .tas-ikon .o { fill: #57524b; }
.standart .kilitli-olabilir .tas-ikon svg { opacity: .65; }
.standart .kilit { display: block; }


/* ---------- Alt menü ---------- */
.alt-menu {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 30;
  height: calc(var(--menu-h) + var(--alt-bosluk));
  padding-bottom: var(--alt-bosluk);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding-left: 4px; padding-right: 4px;
  background: linear-gradient(rgba(20, 15, 11, .72), rgba(15, 11, 8, .96));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(220, 190, 140, .14);
}

/* ---------- Üst başlık ---------- */
.ust {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 0 10px;
}
.ust h2 {
  margin: 0; flex: 1; text-align: center;
  font-family: var(--baslik-font); font-weight: 700; font-size: 21px; letter-spacing: .03em;
  color: var(--altin-acik); text-shadow: var(--yazi-golge);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.geri, .ust-dugme, .ust-bos {
  width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center;
  border-radius: 50%; border: 0; background: rgba(0, 0, 0, .28); cursor: pointer;
}
.ust-bos { background: none; }
.geri svg, .ust-dugme svg { width: 20px; height: 20px; }
.c { fill: none; stroke: var(--kum); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sözlük ---------- */
.arama {
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px; height: 46px; border-radius: 12px;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(220, 190, 140, .25);
}
.arama svg { width: 18px; height: 18px; display: block; }
.arama input { flex: 1; background: none; border: 0; outline: none; height: 100%; font-size: 16px; }
.arama input::placeholder { color: var(--kum-silik); }
.kategoriler { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
.kategoriler::-webkit-scrollbar { display: none; }
.cip {
  flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: 14px;
  border: 1px solid rgba(220, 190, 140, .3); background: rgba(0, 0, 0, .3); color: var(--kum-soluk);
}
.cip.secili { background: linear-gradient(#e3c68e, #b8935a); color: #2b1c08; border-color: #f0d9a6; font-weight: 600; }
.sayac { font-size: 13px; color: var(--kum-silik); margin: 8px 2px; }
.izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.isaret-kart {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 14px 8px 12px; border-radius: 12px;
  background: linear-gradient(rgba(60, 47, 35, .72), rgba(40, 31, 23, .82));
  border: 1px solid rgba(220, 190, 140, .22);
  box-shadow: inset 0 1px 0 rgba(255, 235, 200, .12), 0 3px 8px rgba(0, 0, 0, .4);
  transition: transform .12s;
}
.isaret-kart:active { transform: scale(.97); }
.isaret-kart b { font-size: 15px; font-weight: 600; line-height: 1.25; }
.isaret-kart small { font-size: 12px; color: var(--kum-silik); }
.isaret-ikon { width: 64px; height: 64px; }
.isaret-ikon svg { width: 100%; height: 100%; fill: none; stroke: url(#altin); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .8)); }
.isaret-ikon img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.bos-sonuc { text-align: center; color: var(--kum-silik); padding: 30px 10px; grid-column: 1 / -1; }
.dipnot { font-size: 12.5px; color: var(--kum-silik); margin: 18px 4px 6px; line-height: 1.5; }

/* İşaret detay */
.detay-ust { text-align: center; padding: 8px 0 4px; }
.detay-ikon {
  width: 150px; height: 150px; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 45% 35%, rgba(255, 235, 200, .12), rgba(0, 0, 0, .35));
  border: 2px solid rgba(220, 190, 140, .4);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .6), 0 4px 14px rgba(0, 0, 0, .5);
}
.detay-ikon svg { width: 96px; height: 96px; fill: none; stroke: url(#altin); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .8)); }
.detay-gorsel { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; margin-top: 12px; border: 1px solid rgba(220, 190, 140, .25); }
.rozetler { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 12px 0 4px; }
.rozet { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(220, 190, 140, .3); color: var(--kum-soluk); }
.rozet-altin { background: linear-gradient(#e3c68e, #b8935a); color: #2b1c08; border-color: #f0d9a6; font-weight: 600; }
.ozet { text-align: center; color: var(--kum-soluk); margin: 8px 6px 14px; font-size: 15.5px; }

.bolum {
  margin: 10px 0; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(rgba(40, 31, 23, .78), rgba(30, 23, 17, .86));
  border: 1px solid rgba(220, 190, 140, .18);
}
.bolum h3 {
  margin: 0 0 6px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--altin); display: flex; align-items: center; gap: 8px; font-weight: 700;
}
.bolum h3 svg { width: 16px; height: 16px; }
.bolum h3 .d { fill: var(--altin); } .bolum h3 .o { fill: #2a2018; } .bolum h3 .c { stroke: var(--altin); }
.bolum p { margin: 0; font-size: 15.5px; color: #eadfca; }
.bolum ul, .bolum ol { margin: 4px 0 0; padding-left: 20px; }
.bolum li { margin: 4px 0; font-size: 15px; }
.bolum-gercek { border-color: rgba(156, 196, 138, .35); background: linear-gradient(rgba(36, 44, 30, .8), rgba(26, 32, 22, .88)); }
.bolum-gercek h3 { color: var(--yesil); }
.bolum-gercek h3 .d { fill: var(--yesil); }
.bolum-uyari { border-color: rgba(217, 120, 95, .4); background: linear-gradient(rgba(52, 30, 24, .82), rgba(38, 22, 17, .9)); }
.bolum-uyari h3 { color: var(--kirmizi); }
.bolum-uyari h3 .d { fill: var(--kirmizi); }
.etiketler { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.etiketler span { font-size: 12.5px; color: var(--kum-silik); background: rgba(0, 0, 0, .3); padding: 3px 9px; border-radius: 6px; }
.yatay-liste { display: flex; gap: 10px; overflow-x: auto; margin: 0 -18px; padding: 4px 18px 8px; scrollbar-width: none; }
.yatay-liste::-webkit-scrollbar { display: none; }
.yatay-liste .isaret-kart { flex: 0 0 120px; }
.yatay-liste .isaret-ikon { width: 48px; height: 48px; }

/* ---------- Analiz ---------- */
.onizleme {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1.5px solid rgba(220, 190, 140, .4); background: #000; box-shadow: 0 6px 16px rgba(0, 0, 0, .6);
}
.onizleme img { display: block; width: 100%; max-height: min(52vh, 480px); object-fit: contain; background: #0b0907; }
.onizleme-degistir {
  position: absolute; right: 10px; bottom: 10px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: rgba(0, 0, 0, .65); border: 1px solid rgba(255, 255, 255, .25); font-size: 14px;
}
.panel-kart {
  margin: 12px 0; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(rgba(40, 31, 23, .82), rgba(30, 23, 17, .9));
  border: 1px solid rgba(220, 190, 140, .2);
}
.etiket { display: block; font-size: 14px; font-weight: 600; color: var(--altin); margin: 10px 0 6px; }
.etiket:first-child { margin-top: 0; }
.etiket small { font-weight: 400; color: var(--kum-silik); }
.secim { display: flex; gap: 6px; flex-wrap: wrap; }
.secim button {
  flex: 1 1 auto; padding: 9px 10px; border-radius: 10px; cursor: pointer; font-size: 14px;
  border: 1px solid rgba(220, 190, 140, .3); background: rgba(0, 0, 0, .3); color: var(--kum-soluk);
}
.secim button.secili { background: linear-gradient(#e3c68e, #b8935a); color: #2b1c08; border-color: #f0d9a6; font-weight: 600; }
.girdi {
  width: 100%; padding: 11px 12px; border-radius: 10px !important; font-size: 16px; resize: vertical;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(220, 190, 140, .25); outline: none;
}
.girdi:focus { border-color: var(--altin); }
.girdi::placeholder { color: var(--kum-silik); }
.pusula-durum { margin-top: 12px; font-size: 13.5px; color: var(--kum-silik); display: flex; align-items: center; gap: 8px; }
.pusula-durum svg { width: 16px; height: 16px; flex: 0 0 16px; }
.pusula-durum .d { fill: var(--kum-silik); } .pusula-durum .o { fill: #2a2018; }
.pusula-durum button { margin-left: auto; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(220, 190, 140, .35); background: rgba(0, 0, 0, .3); cursor: pointer; font-size: 13px; color: var(--altin); }

.altin-dugme {
  width: 100%; height: 56px; border-radius: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 19px; font-weight: 700; color: #2e1d06; letter-spacing: .02em;
  border: 1px solid #f6dea6;
  background: linear-gradient(180deg, #f3d891, #d4a752 55%, #b4843a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 4px 12px rgba(0, 0, 0, .5);
  text-shadow: 0 1px 0 rgba(255, 240, 200, .5);
}
.altin-dugme:active { transform: scale(.98); }
.altin-dugme:disabled { opacity: .55; }
.altin-dugme svg { width: 26px; height: 26px; }
.altin-dugme .d { fill: #2e1d06; }
.ikincil-dugme {
  width: 100%; height: 48px; border-radius: 12px; cursor: pointer; margin-top: 10px;
  display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 600;
  background: rgba(0, 0, 0, .3); border: 1px solid rgba(220, 190, 140, .35); color: var(--altin-acik);
}
.ikincil-dugme svg { width: 18px; height: 18px; }
.kalan { text-align: center; font-size: 13px; color: var(--kum-silik); margin: 10px 0; }

/* Yükleniyor */
.ekran-yukleniyor.aktif { display: flex; align-items: center; justify-content: center; min-height: 70vh; }
.yukleniyor { text-align: center; }
.yukleniyor-logo { width: 150px; height: 150px; animation: don 6s linear infinite, nabiz 1.6s ease-in-out infinite; }
@keyframes don { to { transform: rotate(360deg); } }
@keyframes nabiz { 50% { filter: drop-shadow(0 0 14px rgba(230, 190, 110, .55)); } }
.yukleniyor-yazi { font-size: 19px; margin: 18px 0 4px; text-shadow: var(--yazi-golge); min-height: 1.5em; }
.yukleniyor-alt { font-size: 13.5px; color: var(--kum-silik); margin: 0; }

/* Sonuç */
.sonuc-resim { position: relative; border-radius: 16px; overflow: hidden; border: 1.5px solid rgba(220, 190, 140, .4); background: #0b0907; }
.sonuc-resim img { display: block; width: 100%; max-height: min(46vh, 440px); object-fit: contain; }
.yon-ok {
  position: absolute; left: 50%; top: 50%; width: 46%; max-width: 180px; aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(var(--aci, 0deg));
  pointer-events: none; filter: drop-shadow(0 0 4px rgba(0, 0, 0, .9));
}
.yon-ok svg { width: 100%; height: 100%; }
.sonuc-baslik { text-align: center; margin: 14px 0 4px; }
.sonuc-baslik h3 { margin: 0; font-family: var(--baslik-font); font-size: 24px; color: var(--altin-acik); text-shadow: var(--yazi-golge); }
.guven { margin: 12px 0 4px; }
.guven-ust { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--kum-soluk); margin-bottom: 6px; }
.guven-cubuk { height: 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); overflow: hidden; border: 1px solid rgba(220, 190, 140, .2); }
.guven-cubuk span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8a6420, #e3bd6a); }
.eslesme { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(220, 190, 140, .12); }
.eslesme:first-of-type { border-top: 0; }
.eslesme .isaret-ikon { width: 44px; height: 44px; flex: 0 0 44px; }
.eslesme-bilgi { flex: 1; min-width: 0; }
.eslesme-bilgi b { display: block; font-size: 15.5px; }
.eslesme-bilgi small { color: var(--kum-silik); font-size: 13px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eslesme-yuzde { font-weight: 700; color: var(--altin); font-size: 15px; }
.pusula-kadran {
  width: 168px; height: 168px; margin: 8px auto 4px; position: relative;
}
.pusula-kadran svg { width: 100%; height: 100%; }
.yon-metin { text-align: center; font-size: 17px; font-weight: 600; color: var(--altin-acik); margin: 6px 0 2px; }
.cip-durum { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.cip-durum.dusuk { background: rgba(156, 196, 138, .18); color: var(--yesil); }
.cip-durum.orta { background: rgba(227, 189, 106, .18); color: #e3bd6a; }
.cip-durum.yuksek { background: rgba(217, 120, 95, .2); color: var(--kirmizi); }

/* Geçmiş */
.gecmis-oge {
  display: flex; align-items: center; gap: 12px; padding: 10px; margin-bottom: 8px; border-radius: 12px;
  background: linear-gradient(rgba(40, 31, 23, .8), rgba(30, 23, 17, .88)); border: 1px solid rgba(220, 190, 140, .18);
}
.gecmis-oge img { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; flex: 0 0 62px; }
.gecmis-oge b { display: block; font-size: 15.5px; }
.gecmis-oge small { color: var(--kum-silik); font-size: 12.5px; }

/* Bilgi / ayarlar */
.metin-kart {
  margin: 10px 0; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(rgba(40, 31, 23, .8), rgba(30, 23, 17, .88));
  border: 1px solid rgba(220, 190, 140, .18);
}
.metin-kart h3 { margin: 0 0 6px; font-size: 17px; color: var(--altin-acik); }
.metin-kart p, .metin-kart li { font-size: 15px; color: #e3d8c3; }
.metin-kart p { margin: 0; }
.metin-kart ol, .metin-kart ul { margin: 0; padding-left: 20px; }
.metin-kart li { margin: 6px 0; }
.uyari-kart { border-color: rgba(217, 120, 95, .35); }
.surum-yazi { text-align: center; color: var(--kum-silik); font-size: 12.5px; margin: 18px 0; }
.liste-kart { margin: 12px 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(220, 190, 140, .18); background: linear-gradient(rgba(40, 31, 23, .8), rgba(30, 23, 17, .88)); }
.liste-satir {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; text-align: left; cursor: pointer;
  background: none; border: 0; border-top: 1px solid rgba(220, 190, 140, .1); font-size: 16px;
}
.liste-satir:first-child { border-top: 0; }
.liste-satir > span:first-child { width: 22px; height: 22px; flex: 0 0 22px; }
.liste-satir svg { width: 100%; height: 100%; }
.liste-satir .d { fill: var(--altin); } .liste-satir .o { fill: #2a2018; } .liste-satir .c { stroke: var(--altin); }
.liste-satir > span:nth-child(2) { flex: 1; }
.ok-sag { width: 16px; height: 16px; color: var(--kum-silik); font-size: 13px; white-space: nowrap; width: auto; }
.ok-sag svg { width: 16px; height: 16px; }
.ok-sag .c { stroke: var(--kum-silik); }
.surum-durum { display: flex; align-items: center; gap: 12px; }
.surum-durum .rozet-buyuk { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 46px; background: linear-gradient(#6f6a62, #4b4741); }
.pro .surum-durum .rozet-buyuk { background: linear-gradient(#f0cf7d, #a47a2c); }
.surum-durum svg { width: 26px; height: 26px; }
.surum-durum .d { fill: #2c2824; }
.surum-durum b { font-size: 17px; display: block; }
.surum-durum small { color: var(--kum-silik); font-size: 13.5px; }

/* ---------- Pencere ---------- */
.pencere-arka {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: belir .2s ease;
}
.pencere {
  position: relative; width: 100%; max-width: 480px; max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: 26px 20px calc(22px + var(--alt-bosluk));
  border-radius: 22px 22px 0 0;
  background: linear-gradient(rgba(45, 35, 26, .94), rgba(28, 21, 16, .97)), url('/img/tas.jpg') center / 700px auto;
  border-top: 1px solid rgba(220, 190, 140, .35);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .6);
  animation: kay .25s ease;
}
@keyframes kay { from { transform: translateY(40px); } to { transform: none; } }
@media (min-width: 520px) { .pencere-arka { align-items: center; } .pencere { border-radius: 22px; } }
.pencere-kapat { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .35); display: grid; place-items: center; cursor: pointer; }
.pencere-kapat svg { width: 16px; height: 16px; }
.pencere h3 { margin: 0 0 8px; font-family: var(--baslik-font); font-size: 22px; color: var(--altin-acik); text-align: center; }
.pencere p { color: #e3d8c3; font-size: 15.5px; margin: 8px 0; }
.pencere-ikon { width: 64px; height: 64px; margin: 0 auto 8px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(#f0cf7d, #a47a2c); box-shadow: 0 4px 12px rgba(0, 0, 0, .5); }
.pencere-ikon svg { width: 36px; height: 36px; }
.pencere-ikon .d { fill: #3a2508; } .pencere-ikon .o { fill: #e7c46d; }
.pro-liste { list-style: none; padding: 0; margin: 12px 0; }
.pro-liste li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 15.5px; }
.pro-liste svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; }
.pro-liste .c { stroke: #e3bd6a; stroke-width: 2.6; }
.kod-girdi { text-transform: uppercase; letter-spacing: .08em; text-align: center; font-weight: 600; margin: 10px 0; }
.hata-yazi { color: var(--kirmizi); font-size: 14px; text-align: center; min-height: 1.2em; margin: 4px 0; }
.satin-al { display: block; text-align: center; margin-top: 12px; color: var(--altin); font-weight: 600; text-decoration: underline; }

/* Bildirim */
.bildirim {
  position: fixed; left: 50%; bottom: calc(var(--menu-h) + var(--alt-bosluk) + 16px); transform: translateX(-50%);
  z-index: 200; max-width: 90%; padding: 12px 18px; border-radius: 12px;
  background: rgba(20, 15, 11, .95); border: 1px solid rgba(220, 190, 140, .35); font-size: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .6); animation: belir .2s ease; text-align: center;
}

.tas-yazi { font-size: clamp(16px, 5.2vw, 21px); white-space: nowrap; }
@media (max-width: 340px) {
  .ekran { padding: 0 12px; }
  .kategoriler, .yatay-liste { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
  .sohbet-ust { margin: 0 -12px; padding: 10px 12px; }
}

/* ---------- Pro penceresi ---------- */
.pro-liste-ikon { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(#f0cf7d, #a47a2c); box-shadow: 0 2px 4px rgba(0,0,0,.5); }
.pro-liste .pro-liste-ikon svg { width: 18px; height: 18px; margin: 0; }
.pro-liste-ikon .d { fill: #3a2508; } .pro-liste-ikon .o { fill: #e7c46d; } .pro-liste-ikon .c { stroke: #3a2508; stroke-width: 2.4; }
.pro-liste small { color: var(--kum-silik); font-size: 13.5px; }
.pro-etkin { text-align: center; color: var(--yesil) !important; font-weight: 600; margin: -2px 0 10px !important; font-size: 14.5px !important; }
.bag-dugme { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--kum-silik); text-decoration: underline; cursor: pointer; font-size: 14px; }
.kilitli-ikon { background: linear-gradient(#6f6a62, #4b4741) !important; }
.kilitli-ikon .d { fill: #2c2824 !important; }

/* ---------- Kutlama ---------- */
.kutlama { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(10, 7, 4, 0); transition: background .35s; overflow: hidden; cursor: pointer; }
.kutlama.acik { background: rgba(10, 7, 4, .72); }
.kutlama.kapaniyor { background: rgba(10, 7, 4, 0); }
.kutlama-kart {
  position: relative; width: min(86vw, 340px); text-align: center; padding: 26px 22px 24px; border-radius: 24px;
  background: linear-gradient(rgba(60, 42, 20, .95), rgba(30, 21, 12, .97)), url('/img/tas.jpg') center / 600px;
  border: 1.5px solid #e9c46a; box-shadow: 0 0 0 4px rgba(233, 196, 106, .15), 0 20px 60px rgba(0, 0, 0, .7), 0 0 60px rgba(233, 196, 106, .25);
  transform: scale(.6) translateY(30px); opacity: 0; transition: transform .45s cubic-bezier(.2, 1.4, .4, 1), opacity .3s;
}
.kutlama.acik .kutlama-kart { transform: none; opacity: 1; }
.kutlama.kapaniyor .kutlama-kart { transform: scale(.9); opacity: 0; }
.kutlama-logo { width: 110px; height: 110px; display: block; margin: 0 auto; animation: parilti 1.6s ease-in-out infinite; }
@keyframes parilti { 50% { filter: drop-shadow(0 0 18px rgba(240, 205, 120, .8)); } }
.kutlama-tac { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#f6dc8e, #b4843a); box-shadow: 0 4px 12px rgba(0,0,0,.6); animation: zipla .9s ease .3s both; }
.kutlama-tac svg { width: 30px; height: 30px; } .kutlama-tac .d { fill: #3a2508; } .kutlama-tac .o { fill: #f6dc8e; }
@keyframes zipla { 0% { transform: translateX(-50%) scale(0) rotate(-30deg); } 60% { transform: translateX(-50%) scale(1.25) rotate(8deg); } 100% { transform: translateX(-50%) scale(1); } }
.kutlama-kart h3 { margin: 8px 0 0; font-family: var(--baslik-font); font-size: 30px; background: linear-gradient(#fff3d0, #e3bd6a 60%, #b4843a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kutlama-baslik { font-family: var(--baslik-font); font-weight: 700; font-size: 18px; color: var(--altin-acik); margin: 4px 0 8px; letter-spacing: .03em; }
.kutlama-kart p:last-child { color: var(--kum-soluk); font-size: 15px; margin: 0; }
.konfeti { position: absolute; inset: 0; pointer-events: none; }
.konfeti i { position: absolute; top: -20px; border-radius: 2px; opacity: 0; animation-name: konfeti; animation-timing-function: cubic-bezier(.3, .6, .6, 1); animation-fill-mode: forwards; }
@keyframes konfeti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: .9; transform: translate(var(--kay), 105vh) rotate(var(--don)); } }

/* ---------- Ben (profil) ---------- */
.profil-kapak {
  margin: 14px 0 12px; padding: 24px 18px 18px; border-radius: 20px; text-align: center; position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(233, 196, 106, .22), transparent 65%), linear-gradient(rgba(45, 34, 24, .85), rgba(28, 21, 15, .92));
  border: 1px solid rgba(220, 190, 140, .28); box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
.pro .profil-kapak { border-color: rgba(233, 196, 106, .6); }
.profil-foto {
  position: relative; width: 104px; height: 104px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; cursor: pointer; padding: 0;
  background: linear-gradient(#6f5a40, #3d2f22); border: 3px solid #cdb68c; box-shadow: 0 4px 14px rgba(0, 0, 0, .6);
}
.pro .profil-foto { border-color: #e9c46a; box-shadow: 0 0 0 3px rgba(233, 196, 106, .25), 0 4px 14px rgba(0, 0, 0, .6); }
.profil-foto img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.profil-foto span { font-family: var(--baslik-font); font-size: 38px; font-weight: 700; color: var(--altin-acik); }
.profil-foto i { position: absolute; right: -2px; bottom: 2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#f0cf7d, #a47a2c); border: 2px solid #2a2018; }
.profil-foto i svg { width: 17px; height: 17px; } .profil-foto i .d { fill: #3a2508; } .profil-foto i .o { fill: #e7c46d; }
.profil-foto-kucuk { width: 88px; height: 88px; }
.profil-ad { margin: 12px 0 0; font-family: var(--baslik-font); font-size: 24px; color: var(--altin-acik); text-shadow: var(--yazi-golge); }
.profil-kullanici { margin: 2px 0 8px; color: var(--kum-silik); font-size: 14.5px; }
.profil-rozetler { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.profil-rozetler .rozet { display: inline-flex; align-items: center; gap: 5px; }
.profil-rozetler .rozet svg { width: 13px; height: 13px; } .profil-rozetler .rozet .d { fill: var(--kum-soluk); } .profil-rozetler .rozet .o { fill: #2a2018; }
.rozet-pro { background: linear-gradient(#f0cf7d, #b4843a) !important; color: #3a2508 !important; border-color: #f6dea6 !important; font-weight: 700; }
.rozet-pro .d { fill: #3a2508 !important; } .rozet-pro .o { fill: #f0cf7d !important; }
.profil-hakkinda { margin: 10px 4px 0; color: #e3d8c3; font-size: 15px; }
.profil-hakkinda:empty { display: none; }
.profil-duzenle { margin-top: 14px; height: 42px; }
.istatistik { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 4px; }
.istatistik div { text-align: center; padding: 12px 6px; border-radius: 14px; background: linear-gradient(rgba(40, 31, 23, .82), rgba(30, 23, 17, .9)); border: 1px solid rgba(220, 190, 140, .2); }
.istatistik b { display: block; font-size: 24px; color: var(--altin-acik); font-family: var(--baslik-font); }
.istatistik b small { font-size: 13px; color: var(--kum-silik); font-family: var(--govde-font); }
.istatistik span { font-size: 12.5px; color: var(--kum-silik); }
.kart-baslik { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.kart-baslik h3 { margin: 0; font-size: 16px; color: var(--altin); }
.kart-baslik small { color: var(--kum-silik); }
.kart-bag { color: var(--altin); font-size: 14px; }
.rozet-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rozet-kart { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(220, 190, 140, .12); cursor: pointer; text-align: center; }
.rozet-kart b { font-size: 12.5px; line-height: 1.2; color: var(--kum-silik); }
.rozet-kart small { font-size: 11px; color: rgba(156, 139, 114, .8); line-height: 1.2; }
.rozet-madalya { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#57524b, #36322d); border: 2px solid #6b655c; opacity: .7; }
.rozet-madalya svg { width: 24px; height: 24px; } .rozet-madalya .d { fill: #8c857b; } .rozet-madalya .o { fill: #36322d; } .rozet-madalya .c { stroke: #8c857b; }
.rozet-kart.kazanildi { border-color: rgba(233, 196, 106, .4); background: rgba(233, 196, 106, .07); }
.rozet-kart.kazanildi b { color: var(--kum); }
.rozet-kart.kazanildi small { color: var(--yesil); }
.rozet-kart.kazanildi .rozet-madalya { opacity: 1; background: linear-gradient(#f3d891, #b4843a); border-color: #f6dea6; box-shadow: 0 0 12px rgba(233, 196, 106, .35); }
.rozet-kart.kazanildi .rozet-madalya .d { fill: #3a2508; } .rozet-kart.kazanildi .rozet-madalya .o { fill: #e9c46a; } .rozet-kart.kazanildi .rozet-madalya .c { stroke: #3a2508; }
.bos-kucuk { color: var(--kum-silik); font-size: 14px; margin: 0; padding: 0 18px; }
#profil-analizler .bos-kucuk { padding: 0; }
.duzenle-foto { text-align: center; margin-bottom: 4px; }
.favori-dugme { display: inline-flex; align-items: center; gap: 6px; margin-top: -4px; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 14.5px; font-weight: 600; background: rgba(0, 0, 0, .3); border: 1px solid rgba(220, 190, 140, .35); color: var(--altin-acik); }
.favori-dugme svg { width: 18px; height: 18px; } .favori-dugme .c { stroke: var(--altin); } .favori-dugme .d { fill: var(--altin); }
.favori-dugme.secili { background: rgba(233, 196, 106, .15); border-color: #e9c46a; }

/* ---------- Yönetim ---------- */
.yonetim-dugme {
  position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  font-size: 13.5px; font-weight: 700; color: #3a2508; border: 1px solid #f6dea6; background: linear-gradient(#f3d891, #b4843a); box-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.yonetim-dugme span { width: 16px; height: 16px; display: block; } .yonetim-dugme svg { width: 100%; height: 100%; }
.yonetim-dugme .d { fill: #3a2508; } .yonetim-dugme .o { stroke: #f3d891 !important; }
.rozet-admin { background: rgba(156, 196, 138, .15) !important; color: var(--yesil) !important; border-color: rgba(156, 196, 138, .45) !important; font-weight: 600; }
.rozet-admin .d { fill: var(--yesil) !important; } .rozet-admin .o { stroke: #1d1712 !important; }
.yonetim-sayilar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.yonetim-sayilar div { text-align: center; padding: 11px 4px; border-radius: 12px; background: linear-gradient(rgba(40, 31, 23, .82), rgba(30, 23, 17, .9)); border: 1px solid rgba(220, 190, 140, .2); }
.yonetim-sayilar b { display: block; font-size: 22px; color: var(--altin-acik); font-family: var(--baslik-font); }
.yonetim-sayilar span { font-size: 12px; color: var(--kum-silik); }
.kisi-satir { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 8px; border-radius: 14px; background: linear-gradient(rgba(40, 31, 23, .82), rgba(30, 23, 17, .9)); border: 1px solid rgba(220, 190, 140, .18); }
.kisi-bilgi { flex: 1; min-width: 0; }
.kisi-bilgi b { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 15.5px; }
.kisi-bilgi small { display: block; color: var(--kum-silik); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(#6f5a40, #3d2f22); border: 2px solid #cdb68c; font-family: var(--baslik-font); font-weight: 700; color: var(--altin-acik); font-size: 17px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-buyuk { width: 96px; height: 96px; margin: 0 auto; font-size: 34px; border-width: 3px; }
.kapak-pro .avatar-buyuk { border-color: #e9c46a; }
.mini-etiket { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; letter-spacing: .03em; background: rgba(255, 255, 255, .08); color: var(--kum-soluk); }
.mini-etiket.pro { background: linear-gradient(#f0cf7d, #b4843a); color: #3a2508; }
.mini-etiket.admin { background: rgba(156, 196, 138, .18); color: var(--yesil); }
.mini-etiket.ban { background: rgba(217, 120, 95, .2); color: var(--kirmizi); }
.analiz-izgara { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.analiz-kucuk { position: relative; display: block; border-radius: 12px; overflow: hidden; background: rgba(0, 0, 0, .3); border: 1px solid rgba(220, 190, 140, .15); }
.analiz-kucuk img, .analiz-bos { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #0b0907; }
.analiz-kucuk b { display: block; font-size: 13.5px; padding: 6px 8px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.analiz-kucuk small { display: block; font-size: 11.5px; color: var(--kum-silik); padding: 0 8px 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.analiz-sil { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); display: grid; place-items: center; cursor: pointer; }
.analiz-sil svg { width: 13px; height: 13px; }
.bilgi-satir { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(220, 190, 140, .1); font-size: 14.5px; }
.bilgi-satir:first-child { border-top: 0; padding-top: 0; }
.bilgi-satir span { color: var(--kum-silik); }
.bilgi-satir b { font-weight: 600; text-align: right; }
.bilgi-satir code { font-size: 12.5px; background: rgba(0, 0, 0, .35); padding: 2px 6px; border-radius: 5px; }
.liste-satir.tehlike, .liste-satir.tehlike .c { color: var(--kirmizi); stroke: var(--kirmizi) !important; }

/* ---------- Üyelik ---------- */
.giris-kart { margin: 18px 0; padding: 22px 18px 16px; border-radius: 20px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(233,196,106,.18), transparent 60%), linear-gradient(rgba(45,34,24,.88), rgba(28,21,15,.94)); border: 1px solid rgba(220,190,140,.3); box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.pencere .giris-kart { margin: 0; padding: 4px 0 0; background: none; border: 0; box-shadow: none; }
.giris-logo { width: 88px; height: 88px; display: block; margin: 0 auto 4px; }
.giris-kart h2 { margin: 0; font-family: var(--baslik-font); font-size: 23px; color: var(--altin-acik); }
.giris-alt { color: var(--kum-soluk); font-size: 14.5px; margin: 6px 6px 14px; }
.giris-kart form { text-align: left; }
.giris-kart .altin-dugme { margin-top: 6px; }
.sekme-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0,0,0,.35); margin-bottom: 4px; }
.sekme-sec button { padding: 9px; border-radius: 9px; border: 0; background: none; cursor: pointer; font-weight: 600; color: var(--kum-soluk); }
.sekme-sec button.secili { background: linear-gradient(#e3c68e, #b8935a); color: #2b1c08; }

/* ---------- Menü rozeti ---------- */
.menu-rozet { position: absolute; top: 4px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--kirmizi); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #1a140f; }

/* ---------- Mesajlar ---------- */
.sohbet-satir { display: flex; align-items: center; gap: 12px; padding: 11px 12px; margin-bottom: 8px; border-radius: 14px; background: linear-gradient(rgba(40,31,23,.82), rgba(30,23,17,.9)); border: 1px solid rgba(220,190,140,.18); }
.sohbet-satir.okunmamis { border-color: rgba(233,196,106,.55); }
.sohbet-satir.okunmamis .kisi-bilgi small { color: var(--kum); font-weight: 600; }
.sohbet-sag { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.sohbet-sag small { color: var(--kum-silik); font-size: 12px; }
.sohbet-sag i { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: linear-gradient(#f0cf7d, #b4843a); color: #3a2508; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.bos-kart { text-align: center; padding: 30px 20px; margin-top: 10px; border-radius: 18px; background: linear-gradient(rgba(40,31,23,.8), rgba(30,23,17,.88)); border: 1px solid rgba(220,190,140,.18); }
.bos-kart > svg { width: 54px; height: 54px; } .bos-kart .d { fill: var(--altin); } .bos-kart .o { fill: #2a2018; }
.bos-kart h3 { margin: 8px 0 4px; color: var(--altin-acik); }
.bos-kart p { color: var(--kum-soluk); margin: 0 0 14px; font-size: 15px; }
.uye-sonuc { margin-top: 10px; max-height: 50vh; overflow-y: auto; }
.sohbet-ust { position: sticky; top: calc(52px + var(--ust-bosluk)); z-index: 10; margin: 0 -18px; padding: 10px 18px; background: linear-gradient(rgba(26,20,15,.95), rgba(26,20,15,.85)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(220,190,140,.12); }
.sohbet-kisi { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.sohbet-kisi .avatar { width: 40px; height: 40px; flex-basis: 40px; font-size: 14px; }
.sohbet-kisi b { display: block; font-size: 16px; } .sohbet-kisi small { color: var(--kum-silik); font-size: 12.5px; }
.sohbet-mesajlar { display: flex; flex-direction: column; gap: 6px; padding: 12px 0 90px; }
.balon { max-width: 80%; align-self: flex-start; padding: 8px 12px 6px; border-radius: 16px 16px 16px 4px; background: rgba(60,48,36,.92); border: 1px solid rgba(220,190,140,.15); }
.balon p { margin: 0; font-size: 15.5px; word-wrap: break-word; }
.balon small { display: block; text-align: right; font-size: 11px; color: var(--kum-silik); margin-top: 2px; }
.balon.benden { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: linear-gradient(#e3c68e, #c09858); color: #2b1c08; border-color: #f0d9a6; }
.balon.benden small { color: rgba(43,28,8,.65); }
.sohbet-bos { text-align: center; color: var(--kum-silik); margin-top: 40px; }
.sohbet-form { position: fixed; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; bottom: calc(var(--menu-h) + var(--alt-bosluk)); z-index: 25; display: flex; gap: 8px; align-items: flex-end; padding: 8px 12px; background: rgba(20,15,11,.96); border-top: 1px solid rgba(220,190,140,.15); }
body:not(.sohbette) .sohbet-form { display: none; }
.sohbet-form textarea { flex: 1; resize: none; max-height: 120px; padding: 10px 14px; border-radius: 20px; background: rgba(0,0,0,.4); border: 1px solid rgba(220,190,140,.3); outline: none; font-size: 16px; line-height: 1.35; }
.sohbet-form button { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: linear-gradient(#f3d891, #b4843a); }
.sohbet-form button svg { width: 22px; height: 22px; } .sohbet-form .d { fill: #3a2508; stroke: #3a2508; stroke-width: 1.5; stroke-linejoin: round; }
.ikincil-dugme svg, .altin-dugme svg { flex: 0 0 auto; }
.ikincil-dugme .d { fill: var(--altin-acik); } .ikincil-dugme .o { stroke: #1d1712 !important; }

/* ---------- Sözlük erişim seviyeleri ---------- */
.isaret-kart { position: relative; }
.kilitli-kart { opacity: .42; filter: grayscale(.85); }
.kilitli-kart:active { opacity: .55; }
.kart-kilit { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; }
.kart-kilit svg { width: 100%; height: 100%; }
.kart-kilit .d { fill: #cfc3ad; } .kart-kilit .c { fill: none; stroke: #cfc3ad; stroke-width: 2; } .kart-kilit .o { fill: #3a2f25; }
.seviye-bandi { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; padding: 12px; border-radius: 14px; background: linear-gradient(rgba(70, 52, 28, .85), rgba(40, 29, 18, .9)); border: 1px solid rgba(233, 196, 106, .45); }
.seviye-bandi > span { width: 30px; height: 30px; flex: 0 0 30px; }
.seviye-bandi > span svg { width: 100%; height: 100%; }
.seviye-bandi .d { fill: var(--altin); } .seviye-bandi .c { fill: none; stroke: var(--altin); stroke-width: 2; } .seviye-bandi .o { fill: #2a2018; }
.seviye-bandi p { flex: 1; margin: 0; font-size: 13.5px; color: var(--kum); line-height: 1.4; }
.altin-dugme.kucuk { width: auto; height: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 10px; flex: 0 0 auto; text-decoration: none; }
.kilitli-detay .detay-ikon { position: relative; opacity: .5; filter: grayscale(.8); }
.detay-kilit { position: absolute; right: 6px; bottom: 6px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #2a2018; border: 2px solid #cdb68c; }
.detay-kilit svg { width: 22px !important; height: 22px !important; filter: none !important; }
.detay-kilit .d { fill: #e1cda4; stroke: none; } .detay-kilit .c { fill: none; stroke: #e1cda4; stroke-width: 2; } .detay-kilit .o { fill: #2a2018; stroke: none; }
.kilit-kart { margin: 14px 0; padding: 20px 18px; border-radius: 16px; text-align: center; background: linear-gradient(rgba(60, 44, 24, .88), rgba(34, 25, 16, .94)); border: 1px solid rgba(233, 196, 106, .45); }
.kilit-kart h3 { margin: 0 0 8px; font-family: var(--baslik-font); color: var(--altin-acik); font-size: 20px; }
.kilit-kart p { margin: 0 0 14px; color: var(--kum-soluk); font-size: 15px; }
.kilit-kart .altin-dugme { text-decoration: none; }

/* ---------- Rozet ilerlemesi ---------- */
.rozet-sayi { color: var(--altin) !important; font-weight: 700; font-size: 12px !important; }
.rozet-cubuk { display: block; width: 78%; height: 5px; margin-top: 2px; border-radius: 99px; background: rgba(0, 0, 0, .45); overflow: hidden; }
.rozet-cubuk i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8a6420, #e3bd6a); }
.rozet-cubuk.buyuk { width: 80%; height: 8px; margin: 6px auto 4px; }

/* ---------- Yeni rozet kutlaması ---------- */
.rozet-kutlama {
  position: fixed; left: 50%; top: calc(14px + var(--ust-bosluk)); z-index: 250; width: min(92vw, 380px);
  display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 18px; cursor: pointer;
  background: linear-gradient(rgba(70, 50, 22, .97), rgba(38, 27, 15, .98)); border: 1.5px solid #e9c46a;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .6), 0 0 26px rgba(233, 196, 106, .3);
  transform: translate(-50%, -140%); opacity: 0; transition: transform .5s cubic-bezier(.2, 1.4, .4, 1), opacity .3s;
}
.rozet-kutlama.acik { transform: translate(-50%, 0); opacity: 1; }
.rozet-kutlama.kapaniyor { transform: translate(-50%, -140%); opacity: 0; transition: transform .35s ease-in, opacity .3s; }
.rk-madalya { position: relative; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#f6dc8e, #b4843a); border: 2px solid #fff0c4; animation: rk-don .9s cubic-bezier(.3, 1.6, .5, 1) .15s both; }
.rk-madalya > svg { position: relative; width: 30px; height: 30px; z-index: 1; }
.rk-madalya .d { fill: #3a2508; } .rk-madalya .o { fill: #f0cf7d; } .rk-madalya .c { stroke: #3a2508; stroke-width: 2.4; }
@keyframes rk-don { 0% { transform: scale(0) rotate(-180deg); } 70% { transform: scale(1.18) rotate(12deg); } 100% { transform: scale(1) rotate(0); } }
.rk-parilti { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.rk-parilti::after { content: ''; position: absolute; top: -20%; left: -60%; width: 40%; height: 140%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent); transform: rotate(20deg); animation: rk-isilti 1.2s ease .8s 2; }
@keyframes rk-isilti { to { left: 130%; } }
.rk-kivilcim { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.rk-kivilcim i { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #ffe9a8; box-shadow: 0 0 6px #ffd46b; opacity: 0; animation: rk-patla .7s ease-out both; }
@keyframes rk-patla { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.3); } }
.rk-yazi { min-width: 0; }
.rk-yazi small { display: block; color: var(--yesil); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.rk-yazi b { display: block; font-family: var(--baslik-font); font-size: 19px; color: var(--altin-acik); line-height: 1.2; }
.rk-yazi span { display: block; color: var(--kum-soluk); font-size: 13px; }

/* ---------- Aç/kapa anahtarı ---------- */
.anahtar-dugme { display: inline-block; position: relative; width: 46px; height: 26px; border-radius: 13px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(220, 190, 140, .35); transition: background .2s; vertical-align: middle; }
.anahtar-dugme i { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #9c8b72; transition: transform .2s, background .2s; }
.anahtar-dugme.acik { background: linear-gradient(#e3c68e, #b8935a); border-color: #f0d9a6; }
.anahtar-dugme.acik i { transform: translateX(20px); background: #fff7e2; }
.pusula-durum button + button { margin-left: 6px; }

/* ---------- Pro üye karşılaması (sade) ---------- */
.kutlama-sade .kutlama-kart { padding: 30px 24px 26px; overflow: hidden; }
.kutlama-sade .kutlama-logo { width: 96px; height: 96px; }
.kutlama-ust { margin: 10px 0 2px; font-size: 12px; letter-spacing: .32em; font-weight: 700; color: var(--altin); }
.kutlama-sade h3 { font-size: 27px; line-height: 1.25; margin: 2px 0 10px; }
.kutlama-sade .kutlama-kart p:last-child { font-size: 15.5px; color: var(--kum); }
.altin-toz { position: absolute; inset: 0; pointer-events: none; }
.altin-toz i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #ffe9a8; box-shadow: 0 0 8px #ffd46b; opacity: 0; animation: toz 2.4s ease-in-out infinite; }
@keyframes toz { 0%, 100% { opacity: 0; transform: translateY(6px) scale(.5); } 50% { opacity: .9; transform: translateY(-6px) scale(1); } }

/* Tüm cihazlarda aynı yazı ve kontrol görünümü */
button, input, textarea, select { font-family: var(--govde-font); }
body { font-synthesis: none; text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale; }
svg text { font-family: var(--govde-font); }

/* ---------- Pro satın alma ---------- */
.fiyat-kutu { margin: 14px 0 10px; padding: 12px; text-align: center; border-radius: 16px; border: 1px solid rgba(233, 196, 106, .45); background: radial-gradient(circle at 50% 0, rgba(233, 196, 106, .18), rgba(0, 0, 0, .15) 70%); }
.fiyat-kutu b { display: block; font-family: var(--baslik-font); font-size: 34px; line-height: 1.1; color: var(--altin-acik); text-shadow: var(--yazi-golge); }
.fiyat-kutu span { font-size: 13.5px; color: var(--kum-soluk); }
.guven-yazi { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px !important; color: var(--kum-silik) !important; text-align: center; margin: 8px 0 0 !important; }
.guven-yazi svg { width: 14px; height: 14px; flex: 0 0 14px; }
.guven-yazi .d { fill: var(--kum-silik); } .guven-yazi .o { fill: #2c2824; }
.kod-ac { margin-top: 14px; border-top: 1px solid rgba(220, 190, 140, .18); padding-top: 10px; }
.kod-ac summary { cursor: pointer; text-align: center; color: var(--altin); font-size: 14.5px; list-style: none; padding: 4px; }
.kod-ac summary::-webkit-details-marker { display: none; }
.kod-ac[open] summary { margin-bottom: 4px; }
.odeme-alt { text-align: center; font-size: 13.5px !important; color: var(--kum-soluk) !important; margin: 0 0 12px !important; }
.odeme-uyari { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin-bottom: 12px; border-radius: 12px; background: rgba(233, 196, 106, .1); border: 1px solid rgba(233, 196, 106, .35); font-size: 13.5px; color: var(--kum); }
.odeme-uyari svg { width: 20px; height: 20px; flex: 0 0 20px; }
.odeme-uyari .d { fill: var(--altin); } .odeme-uyari .o, .odeme-uyari .c { fill: #2c2824; stroke: #2c2824; }
.yontem-sec { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-bottom: 6px; }
.yontem-sec button { display: flex; align-items: center; gap: 8px; padding: 11px 10px; border-radius: 14px; border: 1.5px solid rgba(220, 190, 140, .25); background: rgba(0, 0, 0, .25); color: var(--kum); font: inherit; font-size: 14.5px; font-weight: 600; text-align: left; cursor: pointer; }
.yontem-sec button small { display: block; font-weight: 400; font-size: 12px; color: var(--kum-silik); }
.yontem-sec button svg { width: 26px; height: 26px; flex: 0 0 26px; }
.yontem-sec .d { fill: var(--kum-soluk); } .yontem-sec .o { fill: #2c2824; }
.yontem-sec button.secili { border-color: var(--altin); background: rgba(233, 196, 106, .14); box-shadow: 0 0 0 3px rgba(233, 196, 106, .12); }
.yontem-sec button.secili .d { fill: var(--altin); }
.onay-kutu { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; cursor: pointer; font-size: 13px; line-height: 1.45; color: var(--kum-soluk); }
.onay-kutu input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.onay-kutu > span { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--altin); background: rgba(0, 0, 0, .3); display: grid; place-items: center; margin-top: 1px; }
.onay-kutu input:checked + span { background: linear-gradient(#f0cf7d, #a47a2c); }
.onay-kutu input:checked + span::after { content: ''; width: 6px; height: 11px; border: solid #3a2508; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.onay-kutu input:focus-visible + span { outline: 2px solid var(--altin-acik); outline-offset: 2px; }
.onay-kutu em { font-style: normal; }
.onay-kutu a { color: var(--altin); }
.havale-kutu { border-radius: 14px; border: 1px solid rgba(220, 190, 140, .25); background: rgba(0, 0, 0, .28); padding: 4px 12px; margin-bottom: 8px; }
.havale-satir { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(220, 190, 140, .12); }
.havale-satir:last-child { border-bottom: 0; }
.havale-satir span { flex: 0 0 74px; font-size: 13px; color: var(--kum-silik); }
.havale-satir b { flex: 1; min-width: 0; font-size: 14.5px; color: var(--kum); word-break: break-all; font-variant-numeric: tabular-nums; }
.kopya-dugme { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(220, 190, 140, .3); background: rgba(233, 196, 106, .12); display: grid; place-items: center; cursor: pointer; }
.kopya-dugme svg { width: 18px; height: 18px; } .kopya-dugme .d { fill: var(--altin); }
#pencere.genis .pencere { max-width: 560px; padding-left: 10px; padding-right: 10px; }
.odeme-cerceve { display: block; width: 100%; height: min(640px, 70vh); border: 0; border-radius: 12px; background: #fff; }
.altin-dugme svg .d { fill: #3a2508; } .altin-dugme svg .o { fill: #e7c46d; }
/* Yönetim: ödemeler */
.odeme-satir { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 11px 0; border-bottom: 1px solid rgba(220, 190, 140, .14); font-size: 14px; }
.odeme-satir:last-child { border-bottom: 0; }
.odeme-satir small { color: var(--kum-silik); font-size: 12.5px; }
.odeme-satir .odeme-islem { grid-column: 1 / -1; display: flex; gap: 8px; }
.odeme-satir .odeme-islem button { flex: 1; padding: 8px; border-radius: 10px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; border: 1px solid rgba(220, 190, 140, .3); background: rgba(0, 0, 0, .25); color: var(--kum); }
.odeme-satir .odeme-islem .onayla { background: linear-gradient(#f0cf7d, #a47a2c); color: #3a2508; border: 0; }
.durum-etiket { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; align-self: start; background: rgba(255, 255, 255, .08); color: var(--kum-soluk); }
.durum-etiket.odendi { background: rgba(156, 196, 138, .18); color: var(--yesil); }
.durum-etiket.bildirildi { background: rgba(233, 196, 106, .2); color: var(--altin-acik); }
.durum-etiket.reddedildi, .durum-etiket.basarisiz { background: rgba(217, 120, 95, .18); color: var(--kirmizi); }
.yasal-linkler { text-align: center; font-size: 13px; color: var(--kum-silik); margin: 18px 0 4px; line-height: 1.9; }
.yasal-linkler a { color: var(--altin); text-decoration: none; white-space: nowrap; }
.altin-dugme .c { stroke: #2e1d06; }
.havale-satir b { word-break: normal; overflow-wrap: anywhere; }

/* =====================================================================
   SPRINT 1 — Ana ekran, gezinme, okunabilirlik
   Tipografi: başlık = Tamga Baslik (Pagella), gövde = Tamga Inter
   Ölçek: başlık 26 · alt başlık 18 · gövde 16 · küçük 13.5
   ===================================================================== */
:root { --t-baslik: 26px; --t-alt: 18px; --t-govde: 16px; --t-kucuk: 13.5px; }

/* ---------- Ana sayfa ---------- */
.ekran-ana { padding-bottom: 8px; }
.ekran-ana .marka { padding-top: 6px; }
.ekran-ana .marka-logo { width: clamp(92px, 26vw, 124px); height: clamp(92px, 26vw, 124px); }
.ekran-ana .marka-ad { font-size: clamp(32px, 9vw, 40px); margin-top: 2px; }
.ekran-ana .marka-slogan { font-size: 16px; margin-top: 2px; color: var(--kum-soluk); }

.analiz-kart {
  margin-top: 16px; padding: 18px 14px 14px; border-radius: 18px; text-align: center;
  background: linear-gradient(rgba(54, 41, 28, .92), rgba(30, 22, 15, .95));
  border: 1.5px solid rgba(233, 196, 106, .5);
  box-shadow: inset 0 1px 0 rgba(255, 235, 200, .18), 0 6px 18px rgba(0, 0, 0, .55), 0 0 26px rgba(233, 196, 106, .08);
}
.analiz-baslik {
  margin: 0; font-family: var(--baslik-font); font-weight: 700; letter-spacing: .04em; line-height: 1.15; text-wrap: balance;
  font-size: clamp(21px, 6.4vw, 30px); color: var(--altin-acik); text-shadow: var(--yazi-golge); white-space: nowrap;
}
.analiz-aciklama { margin: 8px 2px 14px; font-size: 15.5px; line-height: 1.55; color: #eee3cd; }
.analiz-kart .dugme-sira { gap: 10px; }
.analiz-kart .tas-dugme { min-height: 96px; padding: 12px 6px; gap: 6px; }
.analiz-kart .tas-ikon { width: 46px; height: 40px; }
.analiz-kart .tas-yazi { font-size: clamp(15px, 4.4vw, 18px); font-weight: 700; }
/* Birincil düğme: altın/bronz */
.tas-dugme-altin {
  border-color: rgba(246, 214, 140, .85);
  background:
    linear-gradient(180deg, rgba(255, 232, 170, .32), rgba(60, 35, 0, .22)),
    linear-gradient(rgba(176, 124, 42, .78), rgba(122, 82, 24, .86)),
    url('/img/tas.jpg') center / 500px auto;
  box-shadow: inset 0 1px 0 rgba(255, 240, 200, .4), inset 0 -2px 4px rgba(60, 30, 0, .4), 0 4px 12px rgba(0, 0, 0, .55), 0 0 16px rgba(233, 196, 106, .18);
}
.tas-dugme-altin .tas-ikon .o { fill: #5a3f14; }
/* Standart sürümde altın düğme canlı kalır (kilit simgesiyle Pro'ya yönlendirir), ikincil düğme soluk */
.standart .tas-dugme-altin.kilitli-olabilir {
  border-color: rgba(246, 214, 140, .8);
  background:
    linear-gradient(180deg, rgba(255, 232, 170, .28), rgba(60, 35, 0, .22)),
    linear-gradient(rgba(150, 108, 40, .74), rgba(104, 72, 24, .84)),
    url('/img/tas.jpg') center / 500px auto;
}
.standart .tas-dugme-altin.kilitli-olabilir .tas-yazi { color: #f7ecd4; }
.standart .tas-dugme-altin.kilitli-olabilir .tas-ikon .d { fill: url(#altin); }
.standart .tas-dugme-altin.kilitli-olabilir .tas-ikon .o { fill: #5a3f14; }
.standart .tas-dugme-altin.kilitli-olabilir .tas-ikon svg { opacity: 1; }
.standart .kilitli-olabilir .tas-yazi { color: rgba(222, 215, 205, .78); }
.kilit { top: 7px; right: 8px; width: 17px; height: 17px; }
.standart .tas-dugme-altin .kilit .d { fill: #f0d9a0; } .standart .tas-dugme-altin .kilit .c { stroke: #f0d9a0; } .standart .tas-dugme-altin .kilit .o { fill: #6b4a14; }

/* Sözlük: ikincil eylem */
.sozluk-kart {
  display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px 16px; min-height: 88px;
  border-radius: 16px; border: 1px solid rgba(220, 190, 140, .32);
  background: linear-gradient(rgba(50, 39, 28, .92), rgba(32, 24, 17, .94));
  box-shadow: inset 0 1px 0 rgba(255, 235, 200, .1), 0 4px 12px rgba(0, 0, 0, .45);
  transition: transform .12s, filter .12s;
}
.sozluk-kart:active { transform: scale(.985); filter: brightness(.94); }
.sozluk-kart-ikon {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid #cdb68c; background: radial-gradient(circle at 40% 35%, #5a4836, #2f251c);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 240, 210, .3);
}
.sozluk-kart-ikon svg { width: 26px; height: 26px; } .sozluk-kart-ikon .d { fill: #e1cda4; } .sozluk-kart-ikon .c { stroke: #3b2e22; }
.sozluk-kart-metin { min-width: 0; }
.sozluk-kart-metin b { display: block; font-family: var(--baslik-font); font-size: 19px; line-height: 1.2; color: var(--altin-acik); text-shadow: var(--yazi-golge); }
.sozluk-kart-metin small { display: block; margin: 3px 0 6px; font-size: 14px; line-height: 1.45; color: #e3d8c3; }
.sozluk-kart-metin em { font-style: normal; font-size: 14.5px; font-weight: 600; color: var(--altin); }

/* Son analizler */
.son-analizler { margin-top: 20px; }
.bolum-baslik { display: flex; align-items: baseline; justify-content: space-between; margin: 0 2px 8px; }
.bolum-baslik h3 { margin: 0; font-size: var(--t-alt); font-weight: 700; color: var(--altin-acik); text-shadow: var(--yazi-golge); }
.bolum-baslik a { font-size: 14px; font-weight: 600; color: var(--altin); padding: 6px 0 6px 10px; }
.son-kart {
  display: flex; align-items: center; gap: 12px; padding: 10px; margin-bottom: 8px; min-height: 76px; border-radius: 14px;
  background: linear-gradient(rgba(44, 34, 24, .94), rgba(30, 23, 16, .96)); border: 1px solid rgba(220, 190, 140, .24);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .4);
}
.son-kart:active { transform: scale(.985); }
.son-kart img, .son-kart .son-bos { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 10px; object-fit: cover; background: rgba(0, 0, 0, .35); }
.son-kart > span { min-width: 0; display: block; }
.son-kart b { display: block; font-size: 15.5px; line-height: 1.3; color: var(--kum); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.son-kart small { display: block; font-size: 13.5px; color: var(--kum-soluk); margin-top: 1px; }
.son-kart em { display: block; margin-top: 3px; font-style: normal; font-size: 14px; font-weight: 600; color: var(--altin); }

/* Nasıl çalışır (kompakt, ana eylemden daha sönük) */
.nasil { margin-top: 20px; padding: 12px 14px; border-radius: 14px; background: rgba(12, 9, 6, .55); border: 1px solid rgba(220, 190, 140, .14); }
.nasil h3 { margin: 0 0 8px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--kum-soluk); }
.nasil ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.nasil li { display: flex; gap: 11px; align-items: flex-start; }
.nasil-no { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--altin-acik); border: 1.5px solid rgba(233, 196, 106, .55); background: rgba(0, 0, 0, .3); margin-top: 1px; }
.nasil b { display: block; font-size: 14.5px; color: var(--kum); }
.nasil small { display: block; font-size: 13.5px; line-height: 1.4; color: var(--kum-soluk); }

/* ---------- Alt gezinme (5 bölüm, etiketli, ortada yükseltilmiş Analiz) ---------- */
.alt-menu > a, .alt-menu > button {
  flex: 1 1 0; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 6px 0 5px; background: none; border: 0; border-radius: 12px; cursor: pointer; font: inherit; color: inherit;
}
.alt-menu > a > span[data-ikon] { width: 28px; height: 28px; display: grid; place-items: center; transition: transform .15s; }
.alt-menu > a > span[data-ikon] svg { width: 26px; height: 26px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .8)); }
.alt-menu > a .d { fill: #9d8f7b; } .alt-menu > a .o { fill: #2a221b; } .alt-menu > a .c { stroke: #2a221b; }
.alt-menu b { font-size: 11.5px; font-weight: 600; line-height: 1; letter-spacing: .01em; color: #ab9d88; white-space: nowrap; }
.alt-menu > a:active > span[data-ikon] { transform: scale(.88); }
.alt-menu > a.aktif b { color: var(--altin-acik); }
.alt-menu > a.aktif .d { fill: url(#altin); }
.alt-menu > a.aktif::before { content: ''; position: absolute; top: -1px; left: 28%; right: 28%; height: 2px; border-radius: 0 0 2px 2px; background: linear-gradient(90deg, transparent, #e3bd6a, transparent); }
.alt-menu > a:focus-visible, .alt-menu > button:focus-visible { outline: 2px solid var(--altin); outline-offset: -2px; }
/* Ortadaki Analiz düğmesi */
.alt-analiz { overflow: visible; }
.alt-analiz-daire {
  position: absolute; top: -26px; left: 50%; width: 62px; height: 62px; margin-left: -31px; border-radius: 50%;
  display: grid; place-items: center; transition: transform .15s, filter .15s;
  background: radial-gradient(circle at 38% 28%, #f8e0a0, #cf9f45 55%, #8d6322);
  border: 2px solid rgba(255, 240, 200, .8);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .7), inset 0 2px 2px rgba(255, 255, 255, .45), inset 0 -4px 6px rgba(80, 45, 0, .45), 0 0 0 5px rgba(18, 13, 9, .96), 0 0 18px 4px rgba(233, 196, 106, .2);
}
.alt-analiz-daire svg { width: 31px; height: 31px; filter: none !important; }
.alt-menu .alt-analiz-daire .d { fill: #3a2508; } .alt-menu .alt-analiz-daire .o { fill: #f2d68e; }
.alt-analiz b { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; color: var(--altin-acik); }
.alt-analiz:active .alt-analiz-daire { transform: scale(.93); filter: brightness(.92); }
.alt-menu .menu-rozet { top: 1px; left: calc(50% + 6px); right: auto; }
#mesaj-rozet-satir { position: static; box-shadow: none; display: inline-grid; margin-right: 4px; }
/* Klavye açıkken alt gezinme gizlenir (iPhone Safari ve Android) */
body.klavye .alt-menu { display: none; }
body.klavye .sohbet-form { bottom: var(--klavye-yuk, 0px); }

/* ---------- Okunabilirlik ---------- */
body { line-height: 1.5; }
.panel-kart, .metin-kart, .liste-kart, .bolum, .gecmis-oge, .istatistik div, .bos-kart, .kilit-kart {
  background-image: linear-gradient(rgba(40, 31, 23, .94), rgba(29, 22, 16, .96));
}
.bolum-gercek { background-image: linear-gradient(rgba(34, 44, 29, .94), rgba(25, 32, 21, .96)); }
.bolum-uyari { background-image: linear-gradient(rgba(54, 31, 24, .94), rgba(38, 22, 17, .96)); }
.isaret-kart { background: linear-gradient(rgba(58, 45, 33, .93), rgba(38, 29, 21, .95)); }
.ust h2 { font-size: 22px; }
.bolum p, .bolum li { font-size: 16px; line-height: 1.62; }
.metin-kart p, .metin-kart li { font-size: 16px; line-height: 1.62; }
.bolum h3 { font-size: 13.5px; }
.kart-baslik h3 { font-size: var(--t-alt); }
.kart-baslik small, .kart-bag { font-size: 14px; }
.isaret-kart b { font-size: 15.5px; overflow-wrap: anywhere; }
.isaret-kart small { font-size: 13px; }
.sayac { font-size: 14px; }
.dipnot { font-size: 13.5px; line-height: 1.55; }
.surum-yazi { font-size: 13.5px; }
.gecmis-oge small, .etiketler span, .istatistik span { font-size: 13.5px; }
.gecmis-oge b { font-size: 16px; overflow-wrap: anywhere; }
.bos-kucuk { font-size: 15px; line-height: 1.5; }
.rozet-kart b { font-size: 13px; color: var(--kum-soluk); } .rozet-kart small { font-size: 12.5px; color: var(--kum-silik); }
.rozet-kart.kazanildi b { color: var(--kum); }
.bos-kart p, .kilit-kart p { font-size: 15.5px; line-height: 1.55; }
.etiket small { font-size: 13px; }
.onizleme-degistir { font-size: 15px; min-height: 40px; }

/* ---------- Sözlük ---------- */
.ekran[data-ekran="sozluk"] .arama {
  height: 54px; padding: 0 16px; gap: 10px; border-radius: 14px;
  background: rgba(10, 7, 4, .6); border: 1.5px solid rgba(233, 196, 106, .45);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .5), 0 0 14px rgba(233, 196, 106, .06);
}
.ekran[data-ekran="sozluk"] .arama:focus-within { border-color: var(--altin); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .5), 0 0 0 3px rgba(233, 196, 106, .18); }
.ekran[data-ekran="sozluk"] .arama svg { width: 22px; height: 22px; }
.ekran[data-ekran="sozluk"] .arama .c { stroke: var(--altin); }
.arama input { font-size: 16px; }
.cip { min-height: 42px; padding: 8px 16px; font-size: 15px; display: inline-flex; align-items: center; }
.kategoriler { gap: 8px; }
.izgara { gap: 12px; }
.yatay-liste { gap: 12px; }
.isaret-kart { min-height: 136px; justify-content: flex-start; }
.favori-dugme { min-height: 44px; }
.geri, .ust-dugme, .ust-bos { width: 44px; height: 44px; flex-basis: 44px; }
.ust-sayac { flex: 0 0 44px; text-align: right; font-size: 14px; color: var(--kum-soluk); }

/* Sözlük detayından analize geçiş */
.analiz-cta { margin: 20px 0 8px; padding: 18px 16px 16px; text-align: center; border-radius: 16px; border: 1.5px solid rgba(233, 196, 106, .42); background: linear-gradient(rgba(54, 41, 28, .94), rgba(32, 24, 16, .96)); box-shadow: 0 4px 14px rgba(0, 0, 0, .45); }
.analiz-cta h3 { margin: 0 0 4px; font-family: var(--baslik-font); font-size: 20px; line-height: 1.25; color: var(--altin-acik); }
.analiz-cta p { margin: 0 0 14px; font-size: 15.5px; color: #eee3cd; }
.analiz-cta .altin-dugme { height: 54px; font-size: 18px; }

/* ---------- Profil ---------- */
.kart-alt-bag { display: flex; align-items: center; justify-content: center; min-height: 46px; margin: 12px -16px -14px; border-top: 1px solid rgba(220, 190, 140, .16); font-weight: 600; font-size: 15px; color: var(--altin); }
#profil-menu { margin-top: 14px; }
#profil-menu .liste-satir { min-height: 54px; }

/* ---------- Bilgi: akordeon ---------- */
.akordeon { display: grid; gap: 10px; margin-top: 6px; }
.akordeon details { border-radius: 14px; overflow: hidden; background: linear-gradient(rgba(40, 31, 23, .95), rgba(29, 22, 16, .97)); border: 1px solid rgba(220, 190, 140, .24); }
.akordeon summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 14px 16px; cursor: pointer; font-size: 17px; font-weight: 600; color: var(--altin-acik); }
.akordeon summary::-webkit-details-marker { display: none; }
.akordeon summary::after { content: '›'; font-size: 28px; line-height: 1; color: var(--altin); transition: transform .2s; }
.akordeon details[open] summary { border-bottom: 1px solid rgba(220, 190, 140, .16); }
.akordeon details[open] summary::after { transform: rotate(90deg); }
.akordeon summary:focus-visible { outline: 2px solid var(--altin); outline-offset: -2px; }
.akordeon-icerik { padding: 14px 16px 16px; font-size: 16px; line-height: 1.65; color: #eee3cd; }
.akordeon-icerik p { margin: 0 0 12px; } .akordeon-icerik p:last-child { margin-bottom: 0; }
.akordeon-icerik ol, .akordeon-icerik ul { margin: 0; padding-left: 20px; } .akordeon-icerik li { margin: 8px 0; }
.akordeon-icerik .yasal-linkler { text-align: left; margin: 14px 0 0; }

/* ---------- Boş / yükleniyor durumları ---------- */
.bos-kart .altin-dugme, .bos-dugme { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; min-width: 200px; height: 50px; padding: 0 24px; font-size: 17px; border-radius: 14px; }
.bos-kart > svg { width: 52px; height: 52px; }
.bos-kart { margin: 12px 0; }
.panel-kart .bos-kart { margin: 0; padding: 18px 8px 8px; background: none; border: 0; }
.panel-kart .bos-kart h3 { font-size: 17px; }
.yukleniyor-mini { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 10px; color: var(--kum-soluk); font-size: 15px; grid-column: 1 / -1; }
.yukleniyor-mini::before { content: ''; width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(220, 190, 140, .25); border-top-color: var(--altin); animation: tamga-don .9s linear infinite; }
@keyframes tamga-don { to { transform: rotate(360deg); } }

/* ---------- Güvenli alan, modal, klavye ---------- */
.pencere { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); scroll-padding-bottom: 80px; }
.bildirim { bottom: calc(var(--menu-h) + var(--alt-bosluk) + 18px); }
input, textarea, select { font-size: 16px; } /* iOS'ta odaklanınca yakınlaşmayı önler */

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* Tablet ve masaüstü: telefon genişliğinde ortalanmış, çevresi taş dokusu */
@media (min-width: 560px) { #uygulama { border-left: 1px solid rgba(220, 190, 140, .12); border-right: 1px solid rgba(220, 190, 140, .12); } }

/* Dosya seçiciler: display:none yerine görünmez (bazı mobil tarayıcılarda daha güvenilir) */
.dosya-gizli { position: fixed; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; z-index: -1; }

/* ===== SPRINT 2 — Analiz akışı ve sonuç ekranı ===== */
.adimlar { display: flex; gap: 8px; justify-content: center; margin: 2px 0 14px; }
.adimlar span { width: 44px; height: 5px; border-radius: 99px; background: rgba(220, 190, 140, .22); transition: background .2s, width .2s; }
.adimlar span.aktif { background: linear-gradient(90deg, #e9c46a, #b8935a); width: 64px; }
.adim-baslik { margin: 4px 0 4px; text-align: center; font-family: var(--baslik-font); font-size: 23px; color: var(--altin-acik); text-shadow: var(--yazi-golge); }
.adim-aciklama { margin: 0 4px 10px; text-align: center; font-size: 15.5px; color: #eee3cd; line-height: 1.5; }
.kirp-alan { position: relative; width: fit-content; max-width: 100%; margin: 0 auto 12px; border-radius: 12px; overflow: hidden; background: #0b0907; border: 1.5px solid rgba(220, 190, 140, .4); touch-action: none; user-select: none; -webkit-user-select: none; }
.kirp-alan img { display: block; max-width: 100%; max-height: 36dvh; width: auto; height: auto; -webkit-user-drag: none; pointer-events: none; }
.kirp-kutu { position: absolute; border: 2px solid #e9c46a; box-shadow: 0 0 0 100vmax rgba(8, 5, 2, .62); cursor: move; touch-action: none; }
.kirp-kutu::before, .kirp-kutu::after { content: ''; position: absolute; pointer-events: none; background: rgba(233, 196, 106, .35); }
.kirp-kutu::before { left: 33.3%; right: 33.3%; top: 0; bottom: 0; background: none; border-left: 1px solid rgba(233, 196, 106, .35); border-right: 1px solid rgba(233, 196, 106, .35); }
.kirp-kutu::after { top: 33.3%; bottom: 33.3%; left: 0; right: 0; background: none; border-top: 1px solid rgba(233, 196, 106, .35); border-bottom: 1px solid rgba(233, 196, 106, .35); }
.kirp-kutu i { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #e9c46a; border: 2px solid #4a3410; box-shadow: 0 1px 4px rgba(0, 0, 0, .6); touch-action: none; z-index: 2; }
.kirp-kutu i::after { content: ''; position: absolute; inset: -14px; }
.kirp-kutu i[data-k=nw] { left: -11px; top: -11px; cursor: nwse-resize; } .kirp-kutu i[data-k=ne] { right: -11px; top: -11px; cursor: nesw-resize; }
.kirp-kutu i[data-k=sw] { left: -11px; bottom: -11px; cursor: nesw-resize; } .kirp-kutu i[data-k=se] { right: -11px; bottom: -11px; cursor: nwse-resize; }
.kirp-islem { display: flex; gap: 8px; margin: 10px 0 0; }
.kirp-islem .ikincil-dugme { flex: 1; min-height: 46px; }
.kirp-not { text-align: center; font-size: 13px; color: var(--kum-silik); margin: 10px 0 0; }
.kirp-ozet { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 10px; border-radius: 14px; background: rgba(0, 0, 0, .32); border: 1px solid rgba(220, 190, 140, .25); }
.kirp-ozet img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(220, 190, 140, .4); flex: none; }
.kirp-ozet .ikincil-dugme { flex: 1; min-height: 44px; }
.yuzey-secim button { min-height: 44px; }

/* Aşamalı yükleme */
.asamalar { list-style: none; margin: 18px auto 6px; padding: 0; text-align: left; display: inline-block; }
.asamalar li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 15.5px; color: var(--kum-silik); transition: color .25s; }
.asamalar li b { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(220, 190, 140, .35); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1; }
.asamalar li[data-d=suruyor] { color: #f6e8c8; }
.asamalar li[data-d=suruyor] b { border-color: #e9c46a transparent #e9c46a #e9c46a; animation: tamga-don .9s linear infinite; }
.asamalar li[data-d=tamam] { color: #eee3cd; }
.asamalar li[data-d=tamam] b { background: linear-gradient(#e9c46a, #b8935a); border-color: #f0d9a6; color: #2b1c08; }
.asamalar li[data-d=tamam] b::after { content: '✓'; font-weight: 800; }

/* Sonuç — ana kart */
.sonuc-ana { margin: 14px 0 12px; padding: 18px 16px 16px; border-radius: 18px; text-align: center; border: 1.5px solid rgba(233, 196, 106, .5);
  background: linear-gradient(rgba(60, 45, 30, .93), rgba(30, 22, 15, .96)); box-shadow: inset 0 1px 0 rgba(255, 235, 200, .18), 0 6px 20px rgba(0, 0, 0, .55), 0 0 28px rgba(233, 196, 106, .1); }
.ai-etiket { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: #2b1c08; background: linear-gradient(#e9c46a, #b8935a); padding: 4px 12px; border-radius: 99px; }
.en-guclu { display: block; margin-top: 12px; font-size: 14px; letter-spacing: .06em; color: var(--kum-soluk); }
.ana-ad { margin: 2px 0 8px; font-family: var(--baslik-font); font-size: clamp(30px, 9vw, 40px); letter-spacing: .06em; text-transform: uppercase; color: var(--altin-acik); text-shadow: var(--yazi-golge); overflow-wrap: anywhere; line-height: 1.12; }
.duzey-cip { display: inline-block; padding: 6px 16px; border-radius: 99px; font-weight: 700; font-size: 15px; border: 1.5px solid; }
.duzey-cip.yuksek { color: #bfe3a8; border-color: rgba(156, 196, 138, .7); background: rgba(60, 90, 40, .35); }
.duzey-cip.orta { color: #f0d28c; border-color: rgba(233, 196, 106, .7); background: rgba(110, 80, 20, .35); }
.duzey-cip.dusuk { color: #e3b3a3; border-color: rgba(217, 120, 95, .6); background: rgba(90, 40, 28, .35); }
.sonuc-ana .rozetler { justify-content: center; margin-top: 12px; }
.tarih-kucuk { display: block; margin-top: 10px; color: var(--kum-silik); font-size: 12.5px; }
.sonuc-ana.yetersiz h3 { margin: 12px 0 6px; font-family: var(--baslik-font); font-size: 25px; color: var(--altin-acik); }
.sonuc-ana.yetersiz .sebep { margin: 0 0 14px; color: #eee3cd; font-size: 16px; }

/* Aç/kapa bölümler */
.sd { margin: 10px 0; border-radius: 14px; border: 1px solid rgba(220, 190, 140, .28); background: linear-gradient(rgba(40, 30, 21, .9), rgba(24, 18, 12, .93)); overflow: hidden; }
.sd > summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 14px 14px; min-height: 52px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sd > summary::-webkit-details-marker { display: none; }
.sd-baslik { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--altin-acik); flex: 1; min-width: 0; }
.sd-baslik svg { width: 17px; height: 17px; flex: none; }
.sd-baslik .d { fill: var(--altin); } .sd-baslik .o { fill: #2a2018; } .sd-baslik .c { stroke: var(--altin); }
.sd-ok { width: 9px; height: 9px; border-right: 2.5px solid #e9c46a; border-bottom: 2.5px solid #e9c46a; transform: rotate(45deg); transition: transform .2s; margin: 0 4px 3px 4px; flex: none; }
.sd[open] > summary .sd-ok { transform: rotate(-135deg); margin-bottom: -3px; }
.sd-ic { padding: 0 14px 14px; }
.sd-ic p { margin: 6px 0; font-size: 15.5px; color: #eadfca; line-height: 1.55; }
.sd-ic ul { margin: 4px 0 6px; padding-left: 20px; } .sd-ic li { margin: 4px 0; font-size: 15px; }
.sd-not { font-size: 13.5px !important; color: var(--kum-silik) !important; line-height: 1.5; margin: 6px 0; }
.sd-gercek { border-color: rgba(156, 196, 138, .35); }
.sd-gercek .sd-baslik { color: var(--yesil); } .sd-gercek .sd-baslik .d { fill: var(--yesil); }
.sd .cip-durum { margin-left: auto; }
.sd .yon-chip { margin-left: auto; }
.sd .pusula-kadran { margin: 8px auto; }

.alt-liste { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.alt-satir { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 12px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(220, 190, 140, .22); color: inherit; text-decoration: none; }
a.alt-satir:active { background: rgba(233, 196, 106, .12); }
.alt-ad { flex: 1; font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }
.alt-satir .cip-durum { margin-left: 0; }
.sozlukte-incele { margin: 14px 0 6px; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; }

.benzer-sira { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 6px; margin: 0 -2px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.benzer-kart { flex: 0 0 124px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 14px; text-decoration: none; color: inherit; text-align: center; background: rgba(0, 0, 0, .3); border: 1px solid rgba(220, 190, 140, .28); }
.benzer-kart .isaret-ikon svg { width: 46px; height: 46px; }
.benzer-kart b { font-size: 14.5px; overflow-wrap: anywhere; } .benzer-kart small { font-size: 12px; color: var(--kum-silik); }

.sonuc-eylem { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.eylem-dugme { min-height: 50px; padding: 10px 8px; border-radius: 14px; font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center;
  color: var(--kum); background: linear-gradient(rgba(56, 43, 30, .9), rgba(34, 26, 18, .94)); border: 1.5px solid rgba(220, 190, 140, .4); -webkit-tap-highlight-color: transparent; }
.eylem-dugme svg { width: 18px; height: 18px; flex: none; }
.eylem-dugme.secili { color: #2b1c08; background: linear-gradient(#e3c68e, #b8935a); border-color: #f0d9a6; }
.eylem-dugme.secili svg .d, .eylem-dugme.secili svg .o { fill: #2b1c08; } .eylem-dugme.secili svg .c { stroke: #2b1c08; }

.geri-kutu { margin: 14px 0; padding: 14px; border-radius: 14px; text-align: center; background: rgba(0, 0, 0, .28); border: 1px solid rgba(220, 190, 140, .25); }
.geri-kutu h3 { margin: 0 0 10px; font-size: 16px; color: var(--altin-acik); }
.geri-sira { display: flex; gap: 10px; justify-content: center; }
.geri-sira button { flex: 1; max-width: 150px; min-height: 48px; border-radius: 12px; font-size: 16px; font-weight: 600; color: var(--kum); background: rgba(56, 43, 30, .9); border: 1.5px solid rgba(220, 190, 140, .4); }
.geri-sira button.secili { background: linear-gradient(#e3c68e, #b8935a); color: #2b1c08; }
#geri-nedenler { margin-top: 12px; text-align: left; } #geri-nedenler .secim { justify-content: center; }
#geri-nedenler textarea { margin-top: 10px; } #geri-nedenler .ikincil-dugme { width: 100%; margin-top: 10px; min-height: 46px; }
.gizli { display: none !important; }

.paylas-onizleme { margin: 10px auto 12px; max-width: 260px; border-radius: 14px; overflow: hidden; border: 1.5px solid rgba(220, 190, 140, .4); background: #0b0907; }
.paylas-onizleme img { display: block; width: 100%; height: auto; }

.gecmis-duzey { font-weight: 700; }
.gecmis-duzey.yuksek { color: #bfe3a8; } .gecmis-duzey.orta { color: #f0d28c; } .gecmis-duzey.dusuk { color: #e3b3a3; }
.gecmis-konum { color: var(--altin); } .gecmis-konum svg { width: 13px; height: 13px; vertical-align: -2px; }
.gecmis-oge span { min-width: 0; } .gecmis-oge small { display: block; }
.kayit-yildiz { color: #e9c46a; font-style: normal; }
.gecmis-bos { width: 62px; height: 62px; border-radius: 10px; background: rgba(0, 0, 0, .35); flex: 0 0 62px; }

.harita-oge { display: flex; align-items: center; gap: 10px; padding: 12px; margin: 8px 0; border-radius: 14px; background: linear-gradient(rgba(40, 30, 21, .9), rgba(24, 18, 12, .93)); border: 1px solid rgba(220, 190, 140, .28); flex-wrap: wrap; }
.harita-ikon svg { width: 26px; height: 26px; } .harita-bilgi { flex: 1; min-width: 150px; } .harita-bilgi b { display: block; font-size: 16px; } .harita-bilgi small { color: var(--kum-silik); font-size: 12.5px; }
.harita-oge .ikincil-dugme { min-height: 40px; padding: 6px 12px; font-size: 14px; text-decoration: none; }
.harita-sil { width: 40px; height: 40px; border-radius: 50%; color: var(--kum); background: rgba(0, 0, 0, .35); border: 1px solid rgba(220, 190, 140, .3); font-size: 16px; }
@media (min-width: 700px) { .benzer-kart { flex-basis: 140px; } }
.sonuc-eylem .eylem-dugme:last-child:nth-child(odd) { grid-column: 1 / -1; }
.adim-baslik { font-size: clamp(19px, 5.8vw, 23px); }
@media (max-height: 700px) { .kirp-alan img { max-height: 30dvh; } .adim-aciklama { font-size: 14px; margin-bottom: 8px; } .adimlar { margin-bottom: 8px; } }

/* ===================== SPRINT 3 ===================== */
/* E-posta onayı */
.kod-girdi { font-size: 30px; letter-spacing: .5em; text-align: center; font-weight: 700; padding-left: .5em; font-variant-numeric: tabular-nums; margin: 6px 0 2px; }
.eposta-uyari { display: flex; align-items: center; gap: 12px; margin: 10px 0 4px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(rgba(120, 84, 30, .55), rgba(70, 48, 18, .6)); border: 1px solid rgba(231, 196, 109, .55); }
.eposta-uyari.hafif { background: linear-gradient(rgba(40, 30, 21, .9), rgba(24, 18, 12, .93)); border-color: rgba(220, 190, 140, .3); }
.eposta-uyari > span:first-child svg { width: 30px; height: 30px; }
.eposta-uyari > span:nth-child(2) { flex: 1; min-width: 0; }
.eposta-uyari b { display: block; font-size: 15px; color: var(--altin-acik); }
.eposta-uyari small { display: block; font-size: 12.5px; color: var(--kum-soluk); line-height: 1.35; }
.eposta-uyari .altin-dugme, .eposta-uyari .ikincil-dugme { width: auto; min-height: 40px; padding: 6px 14px; margin: 0; font-size: 14px; flex: 0 0 auto; }
.satir-alt { display: block; font-size: 12px; color: var(--kum-silik); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52vw; }
.mini-etiket.yesil-etiket { background: rgba(156, 196, 138, .18); color: var(--yesil); }

/* Çevrim içi */
.cevrimici-kart { display: flex; align-items: center; gap: 10px; width: 100%; margin: 6px 0 10px; padding: 12px 14px; border-radius: 14px; text-align: left; cursor: pointer;
  background: linear-gradient(rgba(36, 52, 30, .85), rgba(22, 30, 18, .9)); border: 1px solid rgba(156, 196, 138, .45); color: var(--kum); font-size: 15px; }
.cevrimici-kart b { font-size: 22px; color: var(--yesil); }
.cevrimici-kart small { margin-left: auto; color: var(--kum-silik); font-size: 12.5px; }
.canli-nokta { width: 10px; height: 10px; border-radius: 50%; background: #6fd36a; box-shadow: 0 0 0 0 rgba(111, 211, 106, .7); animation: canli 1.8s infinite; flex: 0 0 10px; }
@keyframes canli { 0% { box-shadow: 0 0 0 0 rgba(111, 211, 106, .6); } 70% { box-shadow: 0 0 0 9px rgba(111, 211, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 211, 106, 0); } }
.avatar-sar { position: relative; display: inline-flex; flex: 0 0 auto; }
.cevrimici-nokta { position: absolute; right: 0; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: #6fd36a; border: 2px solid #1c1612; }
.cevrimici-yazi { color: var(--yesil); font-weight: 600; }
#yonetim-filtre { padding-top: 4px; }
@media (prefers-reduced-motion: reduce) { .canli-nokta { animation: none; } }

/* Haritam */
.harita-filtre { padding-top: 4px; padding-bottom: 8px; }
.cip-renk { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; border: 1px solid rgba(0, 0, 0, .35); }
.harita-sar { position: relative; margin: 0 -18px; isolation: isolate; z-index: 0; }
.harita-alan { height: calc(100vh - 330px); height: calc(100dvh - 330px); min-height: 320px; background: #1a1410; border-top: 1px solid rgba(220, 190, 140, .25); border-bottom: 1px solid rgba(220, 190, 140, .25); z-index: 0; }
.harita-alan .yukleniyor-mini, .harita-alan .bos-kart { margin: 40px 18px; }
.harita-araclar { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 10px; z-index: 500; }
.harita-arac { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(28, 22, 18, .9); border: 1px solid rgba(220, 190, 140, .5); box-shadow: 0 3px 10px rgba(0, 0, 0, .45); }
.harita-arac svg { width: 22px; height: 22px; }
.harita-arac.altin { background: linear-gradient(#e3c68e, #b8935a); border-color: #f0d9a6; }
.harita-arac.altin .c { stroke: #2b1c08; } .harita-arac.altin .d { fill: #2b1c08; }
.harita-arac.etkin { box-shadow: 0 0 0 3px rgba(95, 168, 240, .6), 0 3px 10px rgba(0, 0, 0, .45); }
.harita-arac.altin.etkin { box-shadow: 0 0 0 3px rgba(240, 217, 166, .6), 0 3px 10px rgba(0, 0, 0, .45); }
.harita-nisan { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; pointer-events: none; z-index: 450; }
.harita-nisan span { position: absolute; inset: 0; border: 2px solid #f0d9a6; border-radius: 50%; box-shadow: 0 0 0 2px rgba(0, 0, 0, .45); }
.harita-nisan::before, .harita-nisan::after { content: ''; position: absolute; background: #f0d9a6; box-shadow: 0 0 0 1px rgba(0, 0, 0, .45); }
.harita-nisan::before { left: 21px; top: -10px; width: 2px; height: 64px; } .harita-nisan::after { top: 21px; left: -10px; height: 2px; width: 64px; }
.harita-ekle-cubuk { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 600; padding: 12px; border-radius: 16px; background: rgba(28, 22, 18, .95); border: 1px solid rgba(220, 190, 140, .45); box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.harita-ekle-cubuk p { margin: 0 0 8px; font-size: 13.5px; color: var(--kum-soluk); text-align: center; }
.harita-ekle-cubuk .dugme-sira { display: flex; gap: 8px; } .harita-ekle-cubuk .dugme-sira > * { flex: 1; margin: 0; min-height: 44px; font-size: 14.5px; }
.harita-ekle-cubuk .bag-dugme { display: block; margin: 6px auto 0; }
.harita-alt { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 8px 0 0; }
.harita-alt small { color: var(--kum-silik); font-size: 12.5px; }
.harita-alt .bag-dugme { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; padding: 6px 8px; }
.harita-alt .bag-dugme svg { width: 16px; height: 16px; }
.harita-gizlilik { margin-top: 4px; }
.harita-renk { width: 14px; height: 14px; border-radius: 50%; flex: 0 0 14px; border: 2px solid rgba(0, 0, 0, .4); }
.harita-not { display: block; color: var(--kum-soluk) !important; margin-top: 2px; white-space: pre-line; }
/* İşaretçiler */
.tamga-pin { background: none; border: 0; }
.tamga-pin > span { position: relative; display: block; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pin); border: 2px solid #1c1612; box-shadow: 0 3px 8px rgba(0, 0, 0, .55); }
.tamga-pin i { position: absolute; inset: 0; display: grid; place-items: center; transform: rotate(45deg); }
.tamga-pin svg { width: 17px; height: 17px; } .tamga-pin .d { fill: #1c1612; } .tamga-pin .c { stroke: #1c1612; } .tamga-pin .o { fill: var(--pin); }
.ben-nokta { background: none; border: 0; }
.ben-nokta span { display: block; width: 18px; height: 18px; border-radius: 50%; background: #3d8ee8; border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(61, 142, 232, .6); animation: ben-nabiz 2s infinite; }
@keyframes ben-nabiz { 0% { box-shadow: 0 0 0 0 rgba(61, 142, 232, .55); } 70% { box-shadow: 0 0 0 14px rgba(61, 142, 232, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 142, 232, 0); } }
/* Leaflet açılır kutusu — Tamga görünümü */
.harita-alan.leaflet-container { font-family: inherit; background: #1a1410; }
.harita-alan .leaflet-popup-content-wrapper, .harita-alan .leaflet-popup-tip { background: #2a2019; color: var(--kum); border: 1px solid rgba(220, 190, 140, .45); box-shadow: 0 6px 18px rgba(0, 0, 0, .55); }
.harita-alan .leaflet-popup-content { margin: 12px 14px; font-size: 13px; line-height: 1.4; }
.harita-alan.leaflet-container a.leaflet-popup-close-button { color: var(--kum-soluk); }
.pin-popup b { display: block; font-size: 15.5px; color: var(--altin-acik); margin-bottom: 2px; padding-right: 14px; }
.pin-popup small { display: block; font-size: 12px; color: var(--kum-silik); }
.pin-popup small i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.pin-popup p { margin: 6px 0; font-size: 13.5px; white-space: pre-line; }
.pin-popup .pin-uzak { color: #8fc1f3; margin-top: 3px; } .pin-popup .pin-uzak svg { width: 12px; height: 12px; vertical-align: -1px; }
.pin-dugmeler { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pin-dugmeler a, .pin-dugmeler button { flex: 1 1 auto; text-align: center; padding: 7px 9px; border-radius: 9px; font-size: 12.5px; font-weight: 600; text-decoration: none; cursor: pointer;
  background: rgba(0, 0, 0, .3); color: var(--altin-acik) !important; border: 1px solid rgba(220, 190, 140, .35); }
.pin-dugmeler .pin-sil { color: #e9a184 !important; }
.harita-alan .leaflet-control-zoom a, .harita-alan .leaflet-bar a { background: rgba(28, 22, 18, .9); color: var(--kum); border-color: rgba(220, 190, 140, .3); }
.harita-alan .leaflet-control-scale-line { background: rgba(28, 22, 18, .7); color: var(--kum); border-color: var(--kum-soluk); }
.harita-alan .leaflet-control-attribution { background: rgba(28, 22, 18, .7) !important; color: var(--kum-silik); font-size: 10px; }
.harita-alan .leaflet-control-attribution a { color: var(--kum-soluk); }
.secim-izgara { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.secim-izgara button { padding: 8px 12px; border-radius: 999px; font-size: 13.5px; cursor: pointer; background: rgba(0, 0, 0, .3); color: var(--kum); border: 1px solid rgba(220, 190, 140, .35); }
.secim-izgara button.secili { border-color: #f0d9a6; background: rgba(217, 178, 106, .22); color: var(--altin-acik); font-weight: 600; }
#katman-sec .liste-satir.secili { background: rgba(217, 178, 106, .12); }
.harita-alan .leaflet-bar { border-color: rgba(220, 190, 140, .3); }
.eposta-uyari > span:first-child .d { fill: var(--altin); }
.eposta-uyari > span:first-child .c { stroke: #2b1c08 !important; }
.harita-oge .harita-bilgi { flex: 1 1 calc(100% - 30px); }
.harita-oge .ikincil-dugme { flex: 1 1 auto; margin: 0; }
