/* Miyavca — mobil öncelikli, sıcak ve sade. Derleme adımı yok.
   Renkler tek yerden: aşağıdaki değişkenleri değiştirmek tüm arayüzü değiştirir. */

:root {
  --bg: #fff8f2;
  --bg-tint: #fff2e8;          /* yumuşak vurgulu zemin (hero, boş durum) */
  --card: #ffffff;
  --ink: #2b2118;
  --muted: #71645b;            /* krem zeminde 5.4:1 — yardımcı metin için yeterli */
  --line: #eadfd5;
  --line-soft: #f4ebe3;

  /* Turuncu iki katmanlı: parlak olan dekoratif, koyu olan metin ve dolgu.
     Referanstaki parlak turuncu beyaz yazıyla 2.9:1 kalıyor; okunmaz. */
  --accent: #ea7332;           /* ikon, çizgi, dekoratif dolgu */
  --accent-dark: #b94712;      /* buton dolgusu, bağlantı metni — beyazla 5.3:1 */
  --accent-deep: #9e390d;      /* hover, seçili sekme yazısı */
  --accent-soft: #ffe8d8;      /* seçili sekme ve yumuşak rozet zemini */
  --accent-wash: #fff1e6;

  --ok: #2f7d46;
  --ok-soft: #eaf5ed;
  --warn: #96690a;
  --warn-soft: #fdf4e3;
  --err: #b23a2c;
  --err-soft: #fdeeec;
  --star: #f0a71b;

  --radius-card: 22px;
  --radius-ctrl: 16px;
  --radius-pill: 999px;
  --shadow: 0 8px 28px rgba(75, 40, 15, .06);
  --shadow-lift: 0 10px 30px rgba(75, 40, 15, .10);
  --ring: 0 0 0 3px var(--bg), 0 0 0 6px var(--accent-deep);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1613;
    --bg-tint: #221b16;
    --card: #262019;
    --ink: #f5ece3;
    --muted: #b3a496;
    --line: #3b312a;
    --line-soft: #332a24;

    --accent: #f4914f;
    --accent-dark: #f08b4d;    /* koyu zeminde koyu turuncu okunmaz; tersine çevrilir */
    --accent-deep: #ffa96e;
    --accent-soft: #3d2a1d;
    --accent-wash: #2a211a;

    --ok: #6cbb84; --ok-soft: #1e2c23;
    --warn: #dcb055; --warn-soft: #2e2617;
    --err: #e8796a; --err-soft: #32211e;
    --star: #f0b53f;

    --shadow: 0 8px 28px rgba(0, 0, 0, .32);
    --shadow-lift: 0 10px 30px rgba(0, 0, 0, .42);
    --ring: 0 0 0 3px var(--bg), 0 0 0 6px var(--accent-deep);
  }
}

/* Nunito — yerel dosyadan (Google Fonts'a istek gitmesin: KVKK açısından
   ziyaretçinin IP'si üçüncü tarafa aktarılmıyor). Değişken ağırlık 200–1000.
   Lisans: public/fonts/NUNITO-OFL.txt (SIL OFL 1.1). */
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-dark); text-underline-offset: 2px; }

/* Odak halkası her yerde aynı: 3px koyu halka, 3px boşluk.
   :focus-visible fareyle tıklayanı rahatsız etmez, klavyeyle geleni korur. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 8px;
}

/* Alt boşluk sekme çubuğunun yüksekliği kadar. Sekme çubuğu ayrıca
   safe-area-inset-bottom ekliyor (iPhone ana ekran çizgisi); sabit 104px
   bıraksaydık o cihazlarda son kart çubuğun altında kalırdı. */
.wrap { max-width: 620px; margin: 0 auto; padding: 0 18px calc(104px + env(safe-area-inset-bottom, 0px)); }

/* --- üst bar --- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-in {
  max-width: 620px; margin: 0 auto; padding: 12px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.brand {
  font-size: 24px; font-weight: 800; letter-spacing: -.03em;
  text-decoration: none; color: var(--ink); display: inline-flex; align-items: center;
}
.brand span { color: var(--accent); }
/* gap değil margin: flex gap metin düğümüyle <span> arasına da girip
   "Miyav ca" gibi ayrık görünmesine yol açıyordu. */
.brand .paw { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; margin-right: 7px; }

.topbar-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.topbar-actions .btn.sm { gap: 7px; }
.topbar-actions .btn.sm svg { width: 19px; height: 19px; flex: 0 0 auto; }

/* Dar ekranda üst bar düğmeleri yazısını bırakır, ikonuyla kalır.
   Sarmak yerine bu: sarmak üst barı üç sıra yapıyor ve sayfayı yiyordu.
   Yazı görsel olarak kaldırılır, aria-label erişilebilir adı korur. */
@media (max-width: 520px) {
  .topbar-actions .btn.sm { padding: 9px; min-width: 44px; justify-content: center; }
  .topbar-actions .lbl { display: none; }
}

/* Kare ikon düğmesi — 44x44 dokunma hedefi. */
.icon-btn {
  width: 44px; height: 44px; flex: 0 0 auto;
  display: inline-grid; place-items: center;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px;
  cursor: pointer; text-decoration: none;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--accent-wash); border-color: var(--accent-soft); }

/* --- alt menü --- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-top: 1px solid var(--line-soft);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar-in {
  max-width: 620px; margin: 0 auto; padding: 6px 10px 4px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px;
}
/* v1.13: dört sekme. Seçili sekmede yalnızca simgenin arkasında hap var
   (Android/iOS'un alışılmış görünümü); yazı altta, okunur boyda. */
.tab {
  display: grid; justify-items: center; gap: 3px;
  padding: 6px 0 6px; min-height: 56px;
  text-align: center; text-decoration: none;
  color: var(--muted); font-size: 12.5px; line-height: 1.2; font-weight: 700;
}
.tab .tab-ic {
  width: 56px; height: 30px; border-radius: 15px;
  display: grid; place-items: center; transition: background .15s;
}
.tab .ic { width: 22px; height: 22px; display: block; }
.tab.on { color: var(--accent-deep); font-weight: 800; }
.tab.on .tab-ic { background: var(--accent-soft); }

/* --- kart --- */
.card {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-card); padding: 22px; margin: 16px 0;
  box-shadow: var(--shadow);
}
.card.flat { box-shadow: none; background: var(--bg-tint); border-color: var(--line); }
.card.tint { background: var(--accent-wash); border-color: var(--accent-soft); box-shadow: none; }
.card h2 { margin: 0 0 14px; font-size: 18px; letter-spacing: -.01em; }

h1 { font-size: 28px; line-height: 1.2; margin: 24px 0 6px; letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: 19px; letter-spacing: -.015em; }
.lead { color: var(--muted); margin: 0 0 18px; font-size: 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }

@media (min-width: 520px) { h1 { font-size: 32px; } }

/* --- düğmeler --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 22px;
  background: var(--accent-dark); color: #fff; border: 1px solid transparent;
  border-radius: var(--radius-ctrl);
  font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: background .14s ease, transform .14s ease, box-shadow .14s ease;
}
.btn > svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn:hover { background: var(--accent-deep); }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn.block { width: 100%; }

.btn.ghost {
  background: var(--card); color: var(--ink);
  border-color: var(--line); font-weight: 600;
}
.btn.ghost:hover { background: var(--accent-wash); border-color: var(--accent-soft); }
.btn.danger { background: var(--err); }
.btn.danger:hover { background: #932e22; }
/* 44px, küçük buton dahil her dokunma hedefinin alt sınırı. */
.btn.sm { min-height: 44px; padding: 9px 16px; font-size: 14.5px; border-radius: 12px; }

@media (prefers-color-scheme: dark) {
  .btn { color: #2a170c; }
  .btn.ghost { color: var(--ink); }
  .btn.danger { color: #fff; }
}

/* --- mikrofon düğmesi --- */
.mic-wrap {
  position: relative; display: grid; place-items: center;
  padding: 6px 0 2px; isolation: isolate;
}
/* Dekoratif ses çizgileri. Gerçek ses ölçümü YOK — bu yüzden yalnızca kayıt
   sırasında hareket eder ve hiçbir zaman seviye göstergesi gibi sunulmaz. */
.wave { position: absolute; top: 50%; translate: 0 -50%; display: flex; gap: 4px; z-index: -1; pointer-events: none; }
.wave.left  { right: calc(50% + 88px); }
.wave.right { left:  calc(50% + 88px); }
.wave i { width: 5px; height: 18px; border-radius: 99px; background: var(--accent); opacity: .32; display: block; }
.wave i:nth-child(2) { height: 30px; }
.wave i:nth-child(3) { height: 44px; }
.wave i:nth-child(4) { height: 26px; }
.wave i:nth-child(5) { height: 14px; }

.record-btn {
  width: 176px; height: 176px; border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, var(--accent) 0%, var(--accent-dark) 70%);
  color: #fff; border: 0; cursor: pointer;
  display: grid; place-content: center; justify-items: center; gap: 6px;
  box-shadow: 0 14px 34px rgba(185, 71, 18, .30);
  transition: transform .14s ease, box-shadow .14s ease;
}
.record-btn .ico { display: grid; place-items: center; }
.record-btn svg { width: 46px; height: 46px; }
.record-btn .txt { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
/* Simge değişimi JS'ten değil, .recording sınıfından geliyor. */
.record-btn .ico .stop { display: none; }
.record-btn.recording .ico .mic { display: none; }
.record-btn.recording .ico .stop { display: block; }
.record-btn:active { transform: scale(.97); }
.record-btn.recording { background: var(--err); box-shadow: 0 14px 34px rgba(178, 58, 44, .38); }
/* DİKKAT: .wave-ring butonun İÇİNDE değil, KARDEŞİ (bkz. mic-wrap).
   Uzun süre `.record-btn.recording .wave-ring` yazılıydı; alt eleman seçtiği
   için hiç eşleşmedi, halka animasyonu hiç görünmedi. Blade'de halka artık
   butondan sonra geldiği için `~` ile eşleşiyor — :has() gerekmiyor. */
.record-btn.recording ~ .wave-ring { animation: halka 1.6s ease-out infinite; }

@media (max-width: 360px) {
  .record-btn { width: 160px; height: 160px; }
  .wave { display: none; }
}

.wave-ring {
  position: absolute; width: 176px; height: 176px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0; pointer-events: none; z-index: -1;
}
/* Buton küçülünce halka da küçülmeli, yoksa butonun dışına taşar.
   SIRA ÖNEMLİ: bu kural .wave-ring tanımından SONRA gelmeli. Aynı
   özgüllükte olduğu için önce yazılırsa 176px onu eziyor. */
@media (max-width: 360px) {
  .wave-ring { width: 160px; height: 160px; }
}
@keyframes halka {
  0%   { transform: scale(1);    opacity: .45; }
  100% { transform: scale(1.35); opacity: 0; }
}

.timer {
  font-variant-numeric: tabular-nums; font-size: 30px;
  font-weight: 800; text-align: center; margin: 14px 0 2px; letter-spacing: -.02em;
}

/* --- form --- */
label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
input[type=text], input[type=email], input[type=password], input[type=number],
input[type=date], input[type=time], input[type=url], input[type=tel], select, textarea {
  width: 100%; min-height: 48px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-ctrl);
  padding: 12px 14px; font: inherit; font-size: 16px;   /* 16px: iOS'ta odakta yakınlaştırmayı engeller */
}
textarea { min-height: 96px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371645b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 42px;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
.field { margin-bottom: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .grid2 { grid-template-columns: 1fr; } }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); cursor: pointer; }
.check input { margin-top: 3px; flex: 0 0 auto; width: 20px; height: 20px; accent-color: var(--accent-dark); }

/* --- uyarı kutuları --- */
.alert { border-radius: var(--radius-ctrl); padding: 14px 16px; margin: 14px 0; font-size: 15px; }
.alert.ok { background: var(--ok-soft); color: var(--ok); }
.alert.err { background: var(--err-soft); color: var(--err); }
.alert.warn { background: var(--warn-soft); color: var(--warn); }
.alert.info { background: var(--accent-wash); color: var(--accent-deep); }

/* --- ana sayfa hero --- */
/* overflow-x: clip — maskot ve arka plan lekesi kenardan taşıyor; `hidden`
   yerine `clip` kullanılıyor çünkü clip kaydırma bağlamı yaratmaz ve
   üstteki sticky başlığı bozmaz. */
.hero { position: relative; padding: 8px 0 4px; overflow-x: clip; }
.hero h1 { font-size: 40px; line-height: 1.08; margin: 6px 0 10px; }
.hero .lead { font-size: 17px; }
/* Maskot sağda duruyor; yalnızca başlık ve spot metin daralır, buton
   tam genişlikte kalır — mobilde CTA'nın küçülmesi kötü bir takas. */
/* Maskotun sol yarısı saydam olduğu için başlık 66%'ya kadar uzayabilir;
   göz "çarpışma" görmez, satır sayısı ikiye iner. */
.hero h1 { max-width: 66%; }
.hero .lead { max-width: 60%; }
.hero-art {
  position: absolute; right: -14px; top: 0; width: 46%; max-width: 260px;
  pointer-events: none; user-select: none;
}
.hero-art img { width: 100%; height: auto; display: block; }
.hero-copy { position: relative; z-index: 1; }

@media (max-width: 400px) { .hero h1 { font-size: 33px; } }
@media (min-width: 760px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; }
  .hero h1, .hero .lead { max-width: none; }
  .hero-art { position: static; width: 100%; max-width: 340px; margin-left: auto; }
}

/* Hero arkasındaki yumuşak turuncu leke. */
.blob {
  position: absolute; right: -70px; top: -40px; width: 320px; height: 300px;
  background: radial-gradient(60% 60% at 55% 45%, var(--accent-soft) 0%, transparent 72%);
  z-index: 0; pointer-events: none;
}

/* --- adım listesi (nasıl çalışıyor) --- */
.step { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.step:first-child { border-top: 0; padding-top: 4px; }
.step .no {
  width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%;
  background: var(--accent-dark); color: #fff; display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
}
.step .ic {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%;
  background: var(--accent-wash); color: var(--accent-dark); display: grid; place-items: center;
}
.step .ic svg { width: 22px; height: 22px; }
.step .title { font-weight: 700; font-size: 16.5px; }
.step .sub { color: var(--muted); font-size: 14.5px; }

/* --- sonuç --- */
.result-head { text-align: center; padding: 6px 0 4px; }
.result-cat { font-size: 27px; font-weight: 800; letter-spacing: -.025em; margin: 8px 0 6px; }
.result-icon {
  font-size: 46px; line-height: 1;
  width: 84px; height: 84px; margin: 0 auto;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--accent-wash); color: var(--accent-dark);
}
.result-icon svg { width: 40px; height: 40px; }
.band {
  display: inline-block; font-size: 13px; font-weight: 700;
  padding: 5px 13px; border-radius: var(--radius-pill);
}
.band.yuksek { background: var(--ok-soft); color: var(--ok); }
.band.orta { background: var(--warn-soft); color: var(--warn); }
.band.dusuk { background: var(--err-soft); color: var(--err); }

.barrow { display: grid; grid-template-columns: 1fr 110px 46px; gap: 10px; align-items: center; margin: 11px 0; font-size: 15px; }
.track { background: var(--line); border-radius: var(--radius-pill); height: 9px; overflow: hidden; }
.fill { background: var(--accent); height: 100%; border-radius: var(--radius-pill); }
.fill.dim { background: var(--muted); opacity: .4; }
.num { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }

/* --- yıldızlar --- */
.stars { display: flex; justify-content: center; gap: 4px; margin: 12px 0 4px; }
.star {
  background: none; border: 0; cursor: pointer; padding: 6px;
  width: 52px; height: 52px; line-height: 1;
  color: var(--line); transition: color .12s, transform .12s;
}
.star svg { width: 100%; height: 100%; display: block; }
.star.on { color: var(--star); }
.star:active { transform: scale(1.12); }
.star-label { text-align: center; font-size: 14.5px; color: var(--muted); min-height: 22px; }

/* 320px'de hesap: 320 − 36 (sayfa boşluğu) − 44 (kart boşluğu) = 276px yer.
   5×52 + 4×4 = 276px yıldız satırı taşıyordu. 5×44 + 4×2 = 228px sığıyor;
   44px hâlâ dokunma hedefinin alt sınırı. */
@media (max-width: 360px) {
  .stars { gap: 2px; }
  .star { width: 44px; height: 44px; padding: 5px; flex: 0 0 44px; }
  /* Olasılık satırı: dar ekranda etiket için 64px kalıyordu, çubuğu alta al. */
  .barrow { grid-template-columns: minmax(0, 1fr) 46px; }
  .barrow .track { grid-row: 2; grid-column: 1 / -1; width: 100%; }
}

/* Geçmiş kartındaki sabit yıldız gösterimi */
.stars-static { display: inline-flex; gap: 2px; color: var(--star); }
.stars-static svg { width: 17px; height: 17px; }
.stars-static .off { color: var(--line); }

/* --- kategori seçimi --- */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
@media (max-width: 420px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-opt {
  position: relative;   /* gizli radyo düğmesi kartın içinde kalsın */
  display: flex; align-items: center; gap: 10px; min-height: 52px;
  border: 1px solid var(--line); border-radius: var(--radius-ctrl);
  padding: 12px 14px; cursor: pointer; font-size: 15px; background: var(--bg);
}
/* display:none klavye odağını da yok eder; görsel olarak gizleyip
   odaklanabilir bırakıyoruz. Odak halkası :has ile karta veriliyor. */
.cat-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cat-opt:has(input:checked) {
  border-color: var(--accent); background: var(--accent-soft);
  color: var(--accent-deep); font-weight: 700;
}
.cat-opt:has(input:focus-visible) { box-shadow: var(--ring); }
.cat-opt .ico { font-size: 20px; display: inline-flex; flex: 0 0 auto; color: var(--accent-dark); }
.cat-opt .ico svg { width: 22px; height: 22px; }
.cat-opt .tag {
  margin-left: auto; font-size: 11px; color: var(--accent-deep); font-weight: 700;
  background: var(--accent-soft); border-radius: var(--radius-pill); padding: 2px 8px;
}

/* --- liste --- */
.list-item {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0; border-top: 1px solid var(--line-soft);
  text-decoration: none; color: inherit;
}
.list-item:first-child { border-top: 0; }
.list-item .ico { font-size: 25px; flex: 0 0 auto; }
/* SVG ikon taşıyan satırlarda simge daire içine alınır; emoji olanlar
   olduğu gibi kalır (kategori simgeleri yönetim panelinden gelen veridir). */
.list-item .ico:has(svg), .list-item .ico:has(img) {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-wash); color: var(--accent-dark);
  display: grid; place-items: center;
}
.list-item .ico svg { width: 21px; height: 21px; }
.empty .ico svg { width: 30px; height: 30px; }
/* Satır içinde metinle yan yana kullanılan küçük ikon. */
svg.ic { width: 18px; height: 18px; }

/* --- kategori görselleri ---
   Çizgi ikonlardan farklı olarak bunlar renkli raster görsel; currentColor
   almazlar. Boyut her çağrı yerinde width/height ile veriliyor (düzen
   kaymasını önlemek için), burada yalnızca yerleşim ayarlanıyor. */
.kat-gorsel { display: block; object-fit: contain; flex: 0 0 auto; }
.list-item .ico .kat-gorsel { width: 30px; height: 30px; }
.list-item .body { flex: 1; min-width: 0; }
.list-item .title { font-weight: 700; font-size: 16px; }
.list-item .sub { color: var(--muted); font-size: 14px; }
.list-item .arrow { color: var(--muted); flex: 0 0 auto; }
.list-item .arrow svg { width: 18px; height: 18px; display: block; }

/* Tıklanabilir kart satırı (kedi kartı, geçmiş kaydı) */
.row-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-card); box-shadow: var(--shadow);
  padding: 16px 18px; margin: 12px 0;
  text-decoration: none; color: inherit;
  transition: transform .14s ease, box-shadow .14s ease;
}
.row-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.row-card .avatar {
  width: 58px; height: 58px; flex: 0 0 auto; border-radius: 50%;
  background: var(--accent-wash); display: grid; place-items: center; overflow: hidden;
}
.row-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.row-card .avatar svg { width: 30px; height: 30px; color: var(--accent-dark); }
.row-card .body { flex: 1; min-width: 0; }
.row-card .title { font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.row-card .sub { color: var(--muted); font-size: 13.5px; }
.row-card .arrow { color: var(--muted); flex: 0 0 auto; }
.row-card .arrow svg { width: 20px; height: 20px; display: block; }

.level-bar { background: var(--line); border-radius: var(--radius-pill); height: 8px; overflow: hidden; margin-top: 9px; }
.level-fill { background: var(--accent-dark); height: 100%; border-radius: var(--radius-pill); }

/* --- boş durum --- */
.empty { text-align: center; padding: 8px 4px 4px; color: var(--muted); }
.empty .ico { font-size: 44px; display: block; margin-bottom: 12px; }
.empty h2 { color: var(--ink); margin: 4px 0 8px; font-size: 20px; }
.empty p { margin: 0 auto 18px; max-width: 34ch; font-size: 15px; }
.empty-art { width: min(240px, 62%); height: auto; margin: 0 auto 6px; display: block; }

/* Sayfa altındaki dekoratif maskot — içeriğin önüne geçmez. */
.mascot-foot {
  display: block; margin: 22px auto 4px;
  width: min(240px, 62%); height: auto;
  pointer-events: none; user-select: none;
}
@media (max-height: 620px) { .mascot-foot { width: min(200px, 55%); } }

/* Başlık hizasındaki küçük maskot. Süs; hiçbir kontrolün yerine geçmez,
   bu yüzden tıklama da almaz. */
.mascot-inline {
  display: block; width: 96px; max-width: 30vw; height: auto;
  flex: 0 0 auto; pointer-events: none; user-select: none;
}
/* Durum maskotu: boş/bekleme/teşekkür kartlarında ortada. */
.mascot-state {
  display: block; width: min(140px, 45%); height: auto;
  margin: 0 auto 12px; pointer-events: none; user-select: none;
}
/* Yanında spinner varken küçük kalır — ilerlemeyi anlatan spinner,
   maskot değil; büyük olduğunda spinner'ı ezip bekleme hissini bozuyor. */
.mascot-state.sm { width: min(96px, 32%); margin-bottom: 14px; }
/* Başlık + maskot satırı. */
.head-art { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.head-art > :first-child { min-width: 0; }
@media (max-width: 360px) { .mascot-inline { width: 76px; } }

/* --- çalan ses çubuğu --- */
/* Sayfanın başında "kedin huzursuz görünüyorsa durdur" yazıyor. Durdurma
   düğmesi bu yüzden ekranda sabit duruyor: uyarıyı verip kullanıcıyı
   listede düğme aramaya bırakmak olmaz. Sekme çubuğunun hemen üstünde. */
.ses-player {
  position: fixed; left: 0; right: 0; z-index: 29;
  bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  background: var(--card);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 22px rgba(75, 40, 15, .10);
}
.ses-player-in {
  max-width: 620px; margin: 0 auto; padding: 10px 18px 12px;
  display: grid; gap: 8px;
}
.ses-player-ust { display: flex; align-items: center; gap: 12px; }
.ses-player-ad { font-weight: 700; font-size: 15px; min-width: 0; flex: 1;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ses-player .dur { flex: 0 0 auto; min-height: 44px; padding: 10px 20px; }

/* İlerleme çizgisi — süs değil, ne kadar kaldığını gösteriyor. */
.ses-ilerleme { height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; }
.ses-ilerleme > i { display: block; height: 100%; width: 0;
  background: var(--accent-dark); border-radius: 99px; }

.ses-hacim { display: flex; align-items: center; gap: 10px; }
.ses-hacim svg { width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto; }
.ses-hacim input[type=range] { flex: 1; min-width: 0; accent-color: var(--accent-dark); height: 24px; }
.ses-hacim .yuzde { font-size: 13px; color: var(--muted); min-width: 38px; text-align: right;
  font-variant-numeric: tabular-nums; }

/* Çalar görünürken son kart çubuğun altında kalmasın. */
body.ses-caliyor .wrap {
  padding-bottom: calc(104px + 104px + env(safe-area-inset-bottom, 0px));
}

/* --- ses türü --- */
/* Sözlük satırındaki küçük dalga simgesi. */
.ses-ic { display: inline-flex; vertical-align: -2px; margin-right: 7px; color: var(--accent-dark); }
.ses-ic svg { width: 17px; height: 17px; display: block; }

.ses-alan { border: 0; padding: 0; margin: 0; min-width: 0; }
.ses-alan > legend {
  padding: 0; margin-bottom: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.ses-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ses-chip {
  position: relative;             /* gizli radyo düğmesi çipin içinde kalsın */
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--card); font-size: 14.5px; cursor: pointer;
  transition: border-color .12s, background .12s;
}
.ses-chip input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.ses-chip svg { width: 19px; height: 19px; color: var(--accent-dark); flex: 0 0 auto; }
.ses-chip:has(input:checked) {
  border-color: var(--accent-dark); background: var(--accent-wash);
  font-weight: 600;
}
.ses-chip:has(input:focus-visible) { outline: none; box-shadow: var(--ring); }

/* --- rozet --- */
.pillbox {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-soft); color: var(--accent-deep);
  border-radius: var(--radius-pill); padding: 4px 12px; font-size: 13px; font-weight: 700;
}

/* --- sayaç kartı (kalan hak) --- */
.meter {
  display: flex; align-items: center; gap: 14px;
}
.meter .ic {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center;
}
.meter .ic svg { width: 24px; height: 24px; }
.meter .body { flex: 1; min-width: 0; }
.meter .val {
  font-size: 21px; font-weight: 800; color: var(--accent-deep); flex: 0 0 auto;
  background: var(--accent-soft); border-radius: 14px; padding: 6px 15px;
  font-variant-numeric: tabular-nums;
}

/* --- açılır bağlam alanı --- */
details.ctx { border: 1px solid var(--line); border-radius: var(--radius-ctrl); padding: 0; background: var(--bg); }
details.ctx > summary {
  list-style: none; cursor: pointer; padding: 14px 16px; min-height: 48px;
  display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600;
}
details.ctx > summary::-webkit-details-marker { display: none; }
details.ctx > summary .caret { margin-left: auto; color: var(--muted); transition: transform .15s; }
details.ctx > summary .caret svg { width: 18px; height: 18px; display: block; }
details.ctx[open] > summary .caret { transform: rotate(180deg); }
details.ctx > summary .lead-ic { color: var(--accent-dark); display: grid; place-items: center; }
details.ctx > summary .lead-ic svg { width: 16px; height: 16px; }
details.ctx .ctx-body { padding: 0 16px 16px; }

.spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--accent-dark);
  animation: spin .8s linear infinite; margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- hareket tercihi --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

[hidden] { display: none !important; }

/* --- "Ana ekrana ekle" çubuğu ------------------------------------------
   Tabbar (z-index 30) ve ses oynatıcısının (29) ALTINDA duruyor: 28.
   Oynatıcı açıkken zaten hiç gösterilmiyor (bkz. js/pwa.js), o yüzden
   ikisinin üst üste binme ihtimali yok. */
.pwa-bar {
  position: fixed; left: 0; right: 0; z-index: 28;
  bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  background: var(--card);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 22px rgba(75, 40, 15, .10);
  transform: translateY(110%);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}
.pwa-bar.acik { transform: translateY(0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .pwa-bar { transition: none; }
}

.pwa-bar-in {
  max-width: 620px; margin: 0 auto;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px) * 0);
  display: flex; align-items: center; gap: 10px;
}
.pwa-ico { border-radius: 9px; flex: 0 0 34px; }
.pwa-metin { flex: 1 1 auto; font-size: 13.5px; line-height: 1.35; min-width: 0; }
.pwa-bar .btn.sm { flex: 0 0 auto; }

.pwa-kapat {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 0; background: transparent; cursor: pointer;
  font-size: 22px; line-height: 1;
  color: var(--muted);
  border-radius: 10px;
}
.pwa-kapat:hover { background: var(--line-soft); }

@media (max-width: 360px) {
  .pwa-metin { font-size: 12.5px; }
  .pwa-bar-in { gap: 8px; padding-left: 10px; padding-right: 10px; }
}

/* ==========================================================================
   v1.12 — tasarım turu eklemeleri
   ========================================================================== */

/* --- genel açılır kutu (Hesabım > şifre) --- */
details.acilir { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 4px; }
details.acilir > summary {
  list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center;
  font-weight: 600; font-size: 14.5px; color: var(--accent-dark);
}
details.acilir > summary::-webkit-details-marker { display: none; }
details.acilir > summary .acilir-ok { width: 18px; height: 18px; margin-left: auto; transition: transform .15s; color: var(--muted); }
details.acilir[open] > summary .acilir-ok { transform: rotate(180deg); }

/* --- Dinle: kalan hak satırı + kayıt sonrası bağlam soruları --- */
.hak-satiri {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 12px auto 0; width: fit-content; max-width: 100%;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--accent-wash); color: var(--accent-deep); font-size: 13.5px;
}
.hak-satiri svg { width: 15px; height: 15px; flex: 0 0 auto; }
.hak-satiri.bitti { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.ctx-sorular { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ctx-baslik { font-weight: 700; margin: 0 0 12px; font-size: 15px; }
.ctx-baslik .muted { font-weight: 400; font-size: 13.5px; }

/* --- Sonuç ekranı --- */
.ses-rozet {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--bg);
  font-size: 13px; color: var(--muted);
}
.ses-rozet svg { width: 16px; height: 16px; color: var(--accent-dark); }
.ogrenme-rozet {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 16px;
  padding: 12px 14px; border-radius: var(--radius-ctrl);
  background: var(--accent-wash); border: 1px dashed var(--accent);
  font-size: 13.5px; line-height: 1.5; color: var(--ink);
}
.ogrenme-rozet svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; color: var(--accent-dark); }
.ogrenme-rozet strong { display: block; font-size: 14px; }
.oneri {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-ctrl);
  background: var(--bg); border: 1px solid var(--line);
  font-size: 14px; line-height: 1.5;
}
.oneri-baslik { display: block; font-weight: 700; margin-bottom: 2px; color: var(--accent-deep); }
.paylas-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; }
.paylas-btn svg { width: 18px; height: 18px; }

/* --- Geçmiş: kedi süzgeci ve gün başlıkları --- */
.filtre-cipler { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px 6px; scrollbar-width: none; }
.filtre-cipler::-webkit-scrollbar { display: none; }
.filtre-cip {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 38px; padding: 6px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--card);
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600;
}
.filtre-cip.on { background: var(--accent-soft); border-color: var(--accent-dark); color: var(--accent-deep); }
.gun-baslik {
  font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  color: var(--muted); margin: 18px 4px 8px;
}
.tahmin-oran { opacity: .8; }

/* --- Kedine Seslen: grup çipleri --- */
.grup-cipler { position: sticky; top: 64px; z-index: 5; background: var(--bg); padding-top: 8px; }
.grup-kart { scroll-margin-top: 130px; }

/* --- Sahiplendirme --- */
.ilan-kapak {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center;
  background: var(--accent-wash); color: var(--accent);
}
.ilan-kapak img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ilan-kapak svg { width: 30px; height: 30px; }
.ilan-foto {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px;
  background: var(--accent-wash);
}
.iletisim-dugmeler { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; }
.iletisim-dugmeler.tek { grid-template-columns: 1fr; }
.iletisim-dugmeler .btn { display: flex; align-items: center; justify-content: center; gap: 8px; }
.iletisim-dugmeler .btn svg { width: 18px; height: 18px; }

/* --- Sayfalama --- */
.sayfalama {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 14px 0 6px;
}
.sayfalama .btn { min-width: 108px; justify-content: center; }
.sayfalama .pasif { opacity: .45; pointer-events: none; }
.sayfa-bilgi { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   v1.13 — sade tasarım
   ========================================================================== */

/* --- Keşfet --- */
.kesfet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.kesfet-kart {
  display: flex; flex-direction: column; gap: 8px; padding: 16px; min-height: 150px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  text-decoration: none; color: var(--ink);
}
.kesfet-ic {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent-wash); color: var(--accent-dark); margin-bottom: 2px;
}
.kesfet-ic svg { width: 24px; height: 24px; }
.kesfet-ad { font-weight: 900; font-size: 17px; line-height: 1.25; }
.kesfet-alt { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.kesfet-koyu {
  display: flex; align-items: center; gap: 14px; padding: 16px; margin-bottom: 12px;
  background: var(--ink); color: var(--bg); border-radius: 22px; text-decoration: none;
}
.kesfet-koyu .body { display: flex; flex-direction: column; }
.kesfet-koyu .kesfet-alt { color: color-mix(in srgb, var(--bg) 78%, var(--ink)); }
.kesfet-ic.koyu { background: color-mix(in srgb, var(--bg) 14%, var(--ink)); color: var(--accent); margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Dinle --- */
.dinle-bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px -6px 4px 0; }
.dinle-bas h1 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 900; letter-spacing: -.01em; min-width: 0; }
.dinle-maskot { display: block; width: 132px; max-width: 34vw; height: auto; flex: 0 0 auto; pointer-events: none; user-select: none; }

.kayit-alan { display: flex; flex-direction: column; align-items: stretch; }
.kedi-cipler { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.kedi-cip {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px 0 6px; border-radius: 22px;
  border: 1px solid var(--line); background: var(--card);
  font-weight: 700; font-size: 15px; cursor: pointer;
}
.kedi-cip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.kedi-harf {
  width: 32px; height: 32px; border-radius: 16px; display: grid; place-items: center;
  background: var(--line-soft); color: var(--muted); font-size: 14px; font-weight: 800;
}
.kedi-cip:has(input:checked) { border: 2px solid var(--accent-dark); background: var(--accent-soft); color: var(--accent-deep); font-weight: 800; padding-left: 5px; }
.kedi-cip:has(input:checked) .kedi-harf { background: var(--ink); color: var(--bg); }
.kedi-cip:has(input:focus-visible) { box-shadow: var(--ring); }
.kedi-ekle {
  width: 44px; height: 44px; border-radius: 22px; border: 1px dashed var(--muted);
  display: grid; place-items: center; text-decoration: none; color: var(--muted); font-size: 22px;
}

/* Büyük düğme: arkasında yumuşak hale, düz dolgu. Dekoratif çizgiler sade
   düzende gizli — hale aynı işi daha sakin görüyor. */
.mic-wrap.sade { padding: 30px 0 8px; }
.mic-wrap.sade::before {
  content: ""; position: absolute; width: 244px; height: 244px; border-radius: 50%;
  background: var(--accent-soft); z-index: -2; top: 50%; left: 50%; translate: -50% -46%;
}
.mic-wrap.sade .wave { display: none; }
.mic-wrap.sade .record-btn {
  width: 196px; height: 196px; background: var(--accent-dark);
  box-shadow: 0 14px 30px rgba(185, 71, 18, .28);
}
.mic-wrap.sade .record-btn .txt { font-size: 20px; font-weight: 900; }
.mic-wrap.sade .record-btn.recording { background: var(--err); }
.mic-wrap.sade .wave-ring { width: 196px; height: 196px; }
@media (max-width: 360px) {
  .mic-wrap.sade::before { width: 208px; height: 208px; }
  .mic-wrap.sade .record-btn, .mic-wrap.sade .wave-ring { width: 170px; height: 170px; }
}

.dinle-ipucu { text-align: center; font-size: 15px; color: var(--muted); line-height: 1.45; margin: 18px auto 12px; max-width: 30ch; }
.dinle-bilgi { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.hak-hap { padding: 5px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 800; color: var(--accent-deep); }
.hak-hap.bitti { color: var(--muted); }
.kilit-satir { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); text-decoration: none; }
.kilit-satir svg { width: 14px; height: 14px; }

/* --- Kayıt sonrası --- */
.kayit-sonrasi { display: flex; flex-direction: column; }
.ks-baslik { font-size: 20px; font-weight: 900; margin: 6px 0 12px; }
.kayit-sonrasi audio { width: 100%; border-radius: 18px; }
.ks-soru-bas { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; }
.ks-soru-bas > div { flex: 1 1 auto; min-width: 0; }
.ks-soru-bas h3 { margin: 0 0 4px; font-size: 24px; font-weight: 900; }
.ks-soru-bas p { margin: 0; font-size: 15px; color: var(--muted); }
.ks-maskot { width: 96px; height: auto; flex: 0 0 auto; pointer-events: none; }
.kayit-sonrasi .ses-alan > legend { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.ks-dugmeler { display: flex; flex-direction: column; gap: 4px; margin: 22px 0 10px; }
.btn.buyuk { min-height: 56px; font-size: 18px; font-weight: 900; border-radius: 18px; }
.btn-metin {
  min-height: 46px; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 700; color: var(--accent-dark);
}
.btn-metin.soluk { color: var(--muted); font-weight: 600; }

/* --- Sonuç --- */
.sonuc-kart {
  background: var(--card); border: 1px solid var(--line); border-radius: 26px;
  padding: 26px 20px 22px; margin-bottom: 14px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
}
.sonuc-gorsel { width: 112px; height: 112px; border-radius: 50%; background: var(--accent-wash); display: grid; place-items: center; }
.sonuc-gorsel img { width: 84px; height: 84px; }
.sonuc-ust { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.sonuc-ad { font-size: 34px; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.sonuc-alt { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); max-width: 34ch; }
.guven { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; font-weight: 800; color: var(--accent-deep); }
.guven-cizgi { display: flex; gap: 3px; }
.guven-cizgi i { width: 22px; height: 6px; border-radius: 3px; background: var(--line); display: block; }
.guven-cizgi i.dolu { background: var(--accent-dark); }
.sonuc-kart .ses-rozet { margin-top: 12px; }

.oneri-kutu {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px;
  background: var(--accent-wash); border-radius: 18px; padding: 14px 16px; font-size: 15px; line-height: 1.45;
}
.oneri-kutu svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--accent-dark); margin-top: 1px; }
.oneri-kutu strong { font-weight: 800; }
.ogrenme-not { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 0 4px 14px; line-height: 1.45; }
.ogrenme-not svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; color: var(--accent-dark); }

.dogru-mu { text-align: center; font-size: 19px; font-weight: 900; margin: 0 0 12px; }
.cevaplar { display: flex; gap: 8px; }
.cevap {
  flex: 1; min-height: 54px; border-radius: 16px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: inherit; font-size: 16px; font-weight: 800;
}
.cevap.on { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.cevaplar + .star-label { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.btn-metin.paylas-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 4px 0 6px; font-weight: 800; }
.btn-metin.paylas-btn svg { width: 18px; height: 18px; }
@media (prefers-color-scheme: dark) { .cevap.on { color: #2a170c; } }

/* v1.15 oylara dayalı olası anlamlar */
.olasi-liste { list-style: none; margin: 14px 0 0; padding: 0; width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 8px; }
.olasi-liste li { display: grid; grid-template-columns: 26px 1fr 84px; align-items: center; gap: 10px; text-align: left; font-size: 15px; font-weight: 700; }
.olasi-liste li:first-child { font-weight: 900; }
.olasi-sira { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-wash); color: var(--accent-deep); display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.olasi-liste li:first-child .olasi-sira { background: var(--accent-dark); color: #fff; }
.olasi-cubuk { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.olasi-cubuk i { display: block; height: 100%; border-radius: 4px; background: var(--accent-dark); }
.olasi-secim { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.olasi-secim .cevap { min-height: 54px; padding: 8px 10px; line-height: 1.2; }
.olasi-secim .cevap.soluk { color: var(--muted); font-weight: 700; }
.olasi-secim .cevap.soluk.on { color: #fff; }
.olasi-secim + .star-label { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 10px; }
@media (prefers-color-scheme: dark) { .olasi-liste li:first-child .olasi-sira, .olasi-secim .cevap.soluk.on { color: #2a170c; } }

/* --- Geçmiş (kompakt) --- */
.gecmis-satir {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  text-decoration: none; color: var(--ink);
}
.gecmis-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-wash); display: grid; place-items: center; flex: 0 0 auto; }
.gecmis-ic img { width: 36px; height: 36px; }
.gecmis-govde { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.gecmis-ad { font-weight: 800; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gecmis-alt { font-size: 13.5px; color: var(--muted); }
.durum { flex: 0 0 auto; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.durum svg { width: 16px; height: 16px; }
.durum.dogru { color: var(--ok); }
.durum.sor { padding: 6px 12px; border-radius: 999px; background: var(--accent-dark); color: #fff; }
@media (prefers-color-scheme: dark) { .durum.sor { color: #2a170c; } }
@media (prefers-color-scheme: dark) {
  /* Koyu temada düğme dolgusu açık turuncu; beyaz yazı okunmuyor. */
  .mic-wrap.sade .record-btn { color: #2a170c; }
  .mic-wrap.sade .record-btn.recording { color: #fff; }
}
.cikis-form { margin-top: 4px; }

/* --- Sonuç: "Neden bu tahmin?" --- */
details.neden { margin: 0 4px 14px; }
details.neden > summary {
  list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--muted);
}
details.neden > summary::-webkit-details-marker { display: none; }
details.neden .neden-ok { width: 16px; height: 16px; transition: transform .15s; }
details.neden[open] .neden-ok { transform: rotate(180deg); }
details.neden ul { list-style: none; margin: 4px 0 0; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; gap: 10px; }
details.neden li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
details.neden li svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; color: var(--accent-dark); }

/* ==========================================================================
   v1.14 — hemen dene · ses seviyesi · sağlık takvimi
   ========================================================================== */

/* --- Tanıtım: hemen dene --- */
.dene-kart { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 16px; margin: 6px 0 16px; }
.dene-ust { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dene-ust h2 { margin: 0; font-size: 19px; font-weight: 900; }
.dene-rozet { font-size: 12.5px; font-weight: 800; color: var(--accent-deep); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.dene-aciklama { margin: 4px 0 12px; font-size: 14px; color: var(--muted); }
.dene-liste { display: flex; flex-direction: column; gap: 8px; }
.dene-ornek {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; cursor: pointer;
  border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: inherit; text-align: left;
}
.dene-ornek[aria-pressed="true"] { border: 2px solid var(--accent-dark); background: var(--accent-soft); padding: 9px 11px; }
.dene-oynat { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: var(--accent-soft); color: var(--accent-dark); }
.dene-ornek[aria-pressed="true"] .dene-oynat { background: var(--accent-dark); color: #fff; }
.dene-oynat svg { width: 16px; height: 16px; }
.dene-metin { display: flex; flex-direction: column; }
.dene-baslik { font-weight: 800; font-size: 15px; }
.dene-alt { font-size: 13px; color: var(--muted); }
.dene-sonuc { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px; border-radius: 16px; background: var(--accent-wash); }
.dene-sonuc.yeni { animation: deneBelir .35s ease; }
@keyframes deneBelir { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.dene-sonuc-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--card); display: grid; place-items: center; flex: 0 0 auto; }
.dene-sonuc-govde { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.dene-sonuc-ust { font-size: 13px; color: var(--muted); }
.dene-sonuc-ad { font-size: 20px; font-weight: 900; }
.dene-not { margin: 8px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
@media (prefers-color-scheme: dark) { .dene-ornek[aria-pressed="true"] .dene-oynat { color: #2a170c; } }
@media (prefers-reduced-motion: reduce) { .dene-sonuc.yeni { animation: none; } }

/* --- Kayıt sırasında ses seviyesi --- */
.seviye { display: flex; align-items: center; justify-content: center; gap: 4px; height: 32px; margin: 8px 0 0; }
.seviye i { width: 6px; height: 4px; border-radius: 3px; background: var(--line); display: block; transition: height .08s linear; }
.seviye i.dolu { background: var(--accent); }
.kalite-uyari {
  margin: 12px auto 0; max-width: 34ch; text-align: center;
  padding: 10px 14px; border-radius: 14px; font-size: 14px; font-weight: 700; line-height: 1.4;
  background: var(--warn-soft); color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
}

/* --- Sağlık takvimi --- */
.geri-baglanti { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; min-height: 44px; }
.geri-baglanti svg { width: 18px; height: 18px; }
.geri-baglanti svg.ters { transform: rotate(180deg); }
.saglik-satir {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
}
.saglik-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-wash); color: var(--accent-dark); display: grid; place-items: center; flex: 0 0 auto; }
.saglik-ic svg { width: 22px; height: 22px; }
.saglik-govde { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.saglik-ad { font-weight: 800; font-size: 15.5px; }
.saglik-alt { font-size: 13px; color: var(--muted); }
.saglik-rozet { flex: 0 0 auto; font-size: 12.5px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); white-space: nowrap; }
.saglik-rozet.yakin { background: var(--warn-soft); color: var(--warn); }
.saglik-rozet.gecti { background: var(--err-soft); color: var(--err); }
.saglik-yapildi { margin: -4px 0 10px; text-align: right; }
.saglik-yapildi .btn-metin { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.saglik-yapildi svg { width: 16px; height: 16px; }
.saglik-ekle { margin: 6px 0 4px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 16px 12px; }
.saglik-ekle > summary { font-size: 15.5px; }
.saglik-sil { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; min-height: 40px; padding: 0 6px; }


/* v1.16 sahiplendirme: fotoğraf yükleme ve ilerleme */
.foto-girdi.gizli { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.foto-yukle {
  width: 100%; min-height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 2px dashed var(--accent); border-radius: 20px; background: var(--accent-wash); color: var(--accent-deep);
  font: inherit; cursor: pointer; padding: 18px 14px;
}
.foto-yukle svg { width: 36px; height: 36px; }
.foto-yukle-baslik { font-size: 19px; font-weight: 900; }
.foto-yukle-alt { font-size: 13px; color: var(--muted); font-weight: 600; text-align: center; }
.foto-yukle:active { transform: scale(.99); }
.foto-onizleme { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.foto-kutu { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--line); }
.foto-kutu img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-sil {
  position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.6); color: #fff; font-size: 20px; line-height: 1; display: grid; place-items: center;
}
.foto-kapak { position: absolute; left: 6px; bottom: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 10px; }
.foto-ekle { border: 2px dashed var(--accent); background: var(--accent-wash); color: var(--accent-deep); cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.foto-ekle span { font-size: 30px; font-weight: 700; line-height: 1; }
.foto-ekle small { font-size: 13px; font-weight: 800; }
.foto-hata { color: #b3261e; margin: 8px 0 0; }
.yukleme-perde { position: fixed; inset: 0; z-index: 90; background: rgba(20,12,6,.55); display: grid; place-items: center; padding: 20px; }
.yukleme-perde[hidden] { display: none; }
.yukleme-kutu { width: 100%; max-width: 360px; background: var(--card); border-radius: 22px; padding: 22px 20px; box-shadow: 0 20px 50px rgba(0,0,0,.3); text-align: center; }
.yukleme-baslik { font-size: 18px; font-weight: 900; margin-bottom: 14px; }
.yukleme-cubuk { height: 12px; border-radius: 6px; background: var(--line); overflow: hidden; }
.yukleme-cubuk i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--accent-dark); transition: width .15s linear; }
.yukleme-yuzde { margin-top: 10px; font-size: 15px; font-weight: 800; color: var(--accent-deep); }
.yukleme-yuzde span + span { color: var(--muted); font-weight: 600; }
.foto-yukle[hidden], .foto-onizleme[hidden] { display: none; }

/* v1.19 kedimi öğret */
.ogret-adim { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 900; margin: 0 0 10px; }
.ogret-adim span { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-dark); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
@media (prefers-color-scheme: dark) { .ogret-adim span { color: #2a170c; } }
.ogret-liste { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ogret-liste li { display: grid; grid-template-columns: 1fr; gap: 2px 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; }
.ogret-ad { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ogret-durum { font-size: 12.5px; color: var(--muted); }
.ogret-cubuk { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; display: none; }
.ogret-cubuk i { display: block; height: 100%; width: 0; background: var(--accent-dark); transition: width .15s linear; }
.ogret-liste li.yukleniyor .ogret-cubuk { display: block; }
.ogret-liste li.tamam { border-color: #9fd3a9; }
.ogret-liste li.tamam .ogret-durum { color: #1f7a35; font-weight: 700; }
.ogret-liste li.hata { border-color: #eab0aa; }
.ogret-liste li.hata .ogret-durum { color: #b3261e; font-weight: 700; }

.ogret-durum-kutu { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--accent-wash); font-size: 13.5px; line-height: 1.45; }
.ogret-sayilar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ogret-sayilar span { font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.ogret-sayilar span.hazir { border-color: #9fd3a9; color: #1f7a35; }
.ogret-kayit { width: 100%; min-height: 64px; border-radius: 18px; border: 0; cursor: pointer; font: inherit; font-size: 18px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--accent-dark); color: #fff; }
.ogret-kayit-nokta { width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.ogret-kayit.kayitta { background: #c62828; }
.ogret-kayit.kayitta .ogret-kayit-nokta { animation: ogretNabiz 1s infinite; }
.ogret-kayit-sure { font-size: 14px; font-weight: 700; opacity: .9; }
@keyframes ogretNabiz { 50% { opacity: .2; } }
@media (prefers-color-scheme: dark) { .ogret-kayit { color: #2a170c; } .ogret-kayit-nokta { background: #2a170c; } .ogret-kayit.kayitta { color: #fff; } .ogret-kayit.kayitta .ogret-kayit-nokta { background: #fff; } }
.ogret-kisayol { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 12px; padding: 10px 12px; border-radius: 14px;
  border: 1px dashed var(--accent); color: var(--accent-deep); font-size: 14px; font-weight: 800; text-decoration: none; background: var(--accent-wash); }
.ogret-kisayol svg { width: 18px; height: 18px; }
.ogret-rozet { display: inline-block; vertical-align: middle; margin-left: 6px; font-size: 11px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 10px; background: var(--accent-dark); color: #fff; }
@media (prefers-color-scheme: dark) { .ogret-rozet { color: #2a170c; } }

/* --- v1.23: üst bardaki plan rozeti --- */
.plan-rozet {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; min-height: 36px;
  font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap;
}
.plan-rozet svg { width: 16px; height: 16px; flex: 0 0 auto; }
.plan-rozet.premium {
  color: #5a3a00;
  background: linear-gradient(135deg, #ffe08a, #f5b83d);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 2px 6px rgba(197,134,20,.28);
}
.plan-rozet.premium svg { color: #8a5a00; }
.plan-rozet.davet {
  color: var(--accent-dark); background: var(--accent-soft);
  border: 1.5px dashed color-mix(in srgb, var(--accent) 60%, transparent);
}
.plan-rozet.davet:hover { background: var(--accent-wash); }
@media (prefers-color-scheme: dark) {
  .plan-rozet.premium { color: #3d2700; }
  .plan-rozet.davet { color: var(--accent-deep); background: color-mix(in srgb, var(--accent) 16%, transparent); }
}
@media (max-width: 360px) { .plan-rozet { padding: 7px 10px; font-size: 13px; } }

/* --- /premium sayfası --- */
.premium-kahraman { text-align: center; padding: 26px 18px; }
.premium-kahraman .yildiz {
  width: 58px; height: 58px; margin: 0 auto 10px; border-radius: 50%;
  display: grid; place-items: center; color: #8a5a00;
  background: linear-gradient(135deg, #ffe08a, #f5b83d);
}
.premium-kahraman .yildiz svg { width: 30px; height: 30px; }
.premium-kahraman h1 { margin: 0 0 6px; font-size: 24px; }
.plan-karsilastir { width: 100%; border-collapse: collapse; font-size: 15px; }
.plan-karsilastir th, .plan-karsilastir td { padding: 11px 6px; border-bottom: 1px solid var(--line-soft); text-align: center; }
.plan-karsilastir th:first-child, .plan-karsilastir td:first-child { text-align: left; }
.plan-karsilastir thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #8a7b70); }
.plan-karsilastir td.p { font-weight: 800; color: #9a6400; }
.premium-yakinda {
  margin-top: 14px; padding: 12px 14px; border-radius: 14px;
  background: var(--accent-wash); font-size: 14px; text-align: center;
}

/* --- v1.24: premium satın alma ve yasal sayfalar --- */
.paket-secim { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.paket-kart {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  padding: 14px 12px; border: 2px solid var(--line-soft); border-radius: 16px; cursor: pointer;
  background: var(--card, transparent);
}
.paket-kart input { position: absolute; opacity: 0; pointer-events: none; }
.paket-kart:has(input:checked) { border-color: #f0a92e; background: color-mix(in srgb, #ffe08a 22%, transparent); }
.paket-kart:has(input:focus-visible) { box-shadow: var(--ring); }
.paket-ad { font-size: 14px; font-weight: 700; }
.paket-fiyat { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.paket-alt { font-size: 12.5px; color: var(--muted, #8a7b70); }
.paket-alt strong { color: #9a6400; }
.odeme-iframe { width: 100%; min-height: 620px; border: 0; }
.odeme-gecmis { list-style: none; margin: 0; padding: 0; }
.odeme-gecmis li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.yasal-linkler { text-align: center; line-height: 1.9; }
.yasal h1 { font-size: 22px; margin: 0 0 2px; }
.yasal h2 { font-size: 16px; margin: 20px 0 6px; }
.yasal p, .yasal li { font-size: 14.5px; line-height: 1.6; }
.yasal-tablo { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0; }
.yasal-tablo th, .yasal-tablo td { text-align: left; vertical-align: top; padding: 7px 6px; border-bottom: 1px solid var(--line-soft); overflow-wrap: anywhere; }
.yasal-tablo th { width: 36%; font-weight: 700; }
.yasal-nav { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin: 4px 0 10px; }
.premium-yonetici { border: 1.5px dashed var(--accent); font-size: 14px; }
.premium-yonetici ul { margin: 6px 0 0; padding-left: 18px; }

/* --- v1.26: Google ile giriş --- */
.gg-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 18px;
  background: #fff; color: #1f1f1f; border: 1.5px solid #d6cfc8; border-radius: 14px; font-weight: 800; font-size: 16px; text-decoration: none;
  box-shadow: 0 1px 2px #2B211814; }
.gg-btn:hover { background: #faf7f4; border-color: #bfb4aa; }
.gg-btn svg { width: 22px; height: 22px; flex: none; }
.gg-ayrac { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted, #8a7b70); font-size: 13px; font-weight: 700; }
.gg-ayrac::before, .gg-ayrac::after { content: ""; flex: 1; height: 1px; background: var(--line-soft, #eadfd6); }
.gg-uyari { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: #FFF4DB; color: #5c4200; font-size: 14px; line-height: 1.4; }
.gg-uyari strong { font-size: 15px; }
.gg-kopya { justify-self: start; margin-top: 4px; border: 1.5px solid #d9b95a; background: #fff; color: #5c4200; font: inherit; font-weight: 800; padding: 7px 14px; border-radius: 10px; cursor: pointer; }
@media (prefers-color-scheme: dark) {
  .gg-btn { background: #131314; color: #e3e3e3; border-color: #8e918f; }
  .gg-btn:hover { background: #1c1c1d; }
  .gg-uyari { background: #3a2f14; color: #f2dfae; }
  .gg-kopya { background: transparent; color: #f2dfae; border-color: #8a7236; }
}
.gg-not { margin: 8px 0 0; text-align: center; font-size: 13px; color: var(--muted, #8a7b70); font-weight: 700; }
.disari { text-align: center; display: grid; gap: 10px; justify-items: center; padding-block: 28px; }
.disari-ikon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft, #ffe8d8); color: var(--accent-dark, #b94712); display: grid; place-items: center; font-size: 32px; font-weight: 900; }
.disari h1 { margin: 0; font-size: 24px; }
.disari-yedek { width: 100%; display: grid; gap: 10px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line-soft, #eadfd6); }
.disari-yedek p { margin: 0; font-size: 15px; }
.gg-btn { min-height: 56px; font-size: 17px; }
.kayit-cta { display: grid; gap: 8px; text-align: center; margin-top: 4px; }
.kayit-cta span { font-size: 14px; font-weight: 700; color: var(--muted, #8a7b70); }
.kayit-cta .btn { font-size: 18px; }

/* --- v1.27: Yuva arayanlar şeridi --- */
.yuva { margin: 22px 0; }
.yuva-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.yuva-bas h2 { margin: 0; font-size: 21px; font-weight: 900; letter-spacing: -.01em; }
.yuva-bas p { margin: 2px 0 0; font-size: 13.5px; font-weight: 700; color: var(--muted, #8a7b70); }
.yuva-tumu { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; font-size: 14px; color: var(--accent-dark); text-decoration: none; white-space: nowrap; padding: 6px 4px; }
.yuva-tumu svg { width: 16px; height: 16px; }
.yuva-serit { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; padding: 2px 18px 10px; margin: 0 -18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.yuva-serit::-webkit-scrollbar { display: none; }
.yuva-kart { flex: 0 0 148px; scroll-snap-align: start; text-decoration: none; color: inherit; display: grid; gap: 3px; }
.yuva-foto { position: relative; display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--accent-wash, #fff1e6); box-shadow: 0 6px 18px #2B211818; }
.yuva-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.yuva-kart:hover .yuva-foto img { transform: scale(1.04); }
.yuva-foto-bos, .yuva-arti { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; }
.yuva-rozet { position: absolute; left: 8px; bottom: 8px; background: #E4F4E6; color: #1f6b35; font-size: 11px; font-weight: 900; padding: 3px 8px; border-radius: 999px; }
.yuva-ad { font-weight: 900; font-size: 15px; line-height: 1.2; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yuva-alt { font-size: 12.5px; font-weight: 700; color: var(--muted, #8a7b70); }
.yuva-ekle .yuva-foto { background: transparent; border: 2.5px dashed color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: none; }
.yuva-arti { color: var(--accent-dark); font-weight: 400; font-size: 54px; }
.yuva-bos { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px; background: var(--accent-wash, #fff1e6); color: inherit; text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.yuva-bos-ikon { font-size: 34px; }
@media (prefers-reduced-motion: reduce) { .yuva-foto img { transition: none; } }

/* ============ v1.29 Kedim panosu ============ */
.pano-kedi {
  position: relative; display: flex; gap: 16px; align-items: center;
  margin: 14px 0 0; padding: 16px; border-radius: 26px; color: #fff;
  background: linear-gradient(135deg, #b94712 0%, #e0752f 100%);
  box-shadow: 0 12px 28px rgba(185, 71, 18, .22);
}
.pano-foto {
  position: relative; flex: 0 0 92px; width: 92px; height: 92px; border-radius: 26px; overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .18);
  display: grid; place-items: center; color: #fff; text-decoration: none;
}
.pano-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pano-harf { font-size: 40px; font-weight: 900; }
.pano-foto-ekle {
  position: absolute; right: 4px; bottom: 4px; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; color: var(--accent-dark); display: grid; place-items: center;
}
.pano-foto-ekle svg { width: 16px; height: 16px; }
.pano-bilgi { min-width: 0; flex: 1; }
.pano-bilgi h1 { margin: 0; font-size: 26px; line-height: 1.1; font-weight: 900; color: #fff; overflow-wrap: anywhere; padding-right: 76px; }
.pano-bilgi p { margin: 4px 0 0; font-size: 14px; font-weight: 700; opacity: .92; }
.pano-bilgi p a { color: #fff; }
.pano-son {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; max-width: 100%;
  padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .2);
  font-size: 12.5px; font-weight: 800; line-height: 1.25;
}
.pano-son svg { width: 14px; height: 14px; flex: 0 0 auto; }
.pano-degis { position: absolute; top: 12px; right: 12px; }
.pano-degis summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 3px;
  padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .16); font-size: 12.5px; font-weight: 800;
}
.pano-degis summary::-webkit-details-marker { display: none; }
.pano-degis summary svg { width: 14px; height: 14px; }
.pano-degis-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 190px;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lift); padding: 6px; display: grid;
}
.pano-degis-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; color: inherit; text-decoration: none; font-weight: 700; }
.pano-degis-menu a:hover, .pano-degis-menu a[aria-current] { background: var(--accent-wash); }
.pano-degis-menu img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.pano-degis-menu .kedi-harf { width: 28px; height: 28px; }
.pano-degis-menu .pano-degis-ekle { color: var(--accent-dark); border-top: 1px solid var(--line-soft); border-radius: 0 0 11px 11px; }

.pano-eylem { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 10px; margin: 14px 0 0; }
.pano-kutu {
  display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 96px; padding: 12px 6px;
  border-radius: 20px; background: var(--card); border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none; font: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer;
}
.pano-kutu svg { width: 28px; height: 28px; color: var(--accent-dark); }
.pano-kutu small { font-size: 11.5px; font-weight: 700; opacity: .85; }
.pano-kutu.ana { background: var(--accent-dark); color: #fff; border-color: transparent; font-size: 16px; box-shadow: 0 10px 22px rgba(185, 71, 18, .28); }
.pano-kutu.ana svg { color: #fff; width: 32px; height: 32px; }
.pano-kutu:hover { transform: translateY(-1px); }
.pano-kutu:focus-visible { box-shadow: var(--ring); outline: none; }

.bolum-bas { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 22px 0 10px; }
.bolum-bas h2 { margin: 0; font-size: 19px; font-weight: 900; }
.bolum-bas a { font-size: 13.5px; font-weight: 800; color: var(--accent-dark); text-decoration: none; }

.bugun-liste { background: var(--card); border: 1px solid var(--line-soft); border-radius: 22px; box-shadow: var(--shadow); padding: 2px 14px; }
.bugun-satir { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: inherit; text-decoration: none; margin: 0; }
.bugun-satir + .bugun-satir { border-top: 1px solid var(--line-soft); }
.bugun-kutu {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 9px; border: 2px solid #d6c6b8; background: var(--card);
  display: grid; place-items: center; color: transparent; cursor: pointer; padding: 0;
}
.bugun-kutu svg { width: 18px; height: 18px; stroke-width: 3; }
.bugun-satir.bitti .bugun-kutu { background: var(--ok); border-color: var(--ok); color: #fff; }
.bugun-kutu:focus-visible { box-shadow: var(--ring); outline: none; }
.bugun-ikon { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; }
.bugun-ikon svg { width: 17px; height: 17px; }
.bugun-govde { flex: 1; min-width: 0; display: grid; color: inherit; text-decoration: none; }
.bugun-govde .ad { font-weight: 800; font-size: 15.5px; }
.bugun-govde .alt { font-size: 13px; color: var(--muted); }
.bugun-satir.bitti .ad { color: var(--muted); text-decoration: line-through; font-weight: 700; }
.bugun-satir.oneri .ad { color: var(--accent-dark); }
.bugun-rozet { flex: 0 0 auto; font-size: 12px; font-weight: 900; padding: 4px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); white-space: nowrap; }
.bugun-rozet.uyari { background: var(--warn-soft); color: var(--warn); }
.bugun-rozet.yakin { background: var(--accent-soft); color: var(--accent-deep); }
.bugun-rozet.gecti { background: var(--err-soft); color: var(--err); }
.bugun-yapildi { border: 0; background: none; color: var(--ok); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; padding: 4px 2px; }
.bugun-ok { width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto; }

/* Dinle katmanı: tam ekran, alt menünün üstünde */
.dinle-sayfa { position: fixed; inset: 0; z-index: 60; background: var(--bg); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.dinle-sayfa[hidden] { display: none; }
.dinle-sayfa-ic { max-width: 620px; margin: 0 auto; padding: 14px 18px calc(28px + env(safe-area-inset-bottom)); }
.dinle-sayfa-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.dinle-sayfa-bas h2 { margin: 0; font-size: 22px; font-weight: 900; }
body.katman-acik { overflow: hidden; }
body.katman-acik .tabbar { display: none; }

/* Alt menü: ortada Dinle düğmesi */
.tabbar-in { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tab-fab { display: grid; justify-items: center; gap: 3px; text-decoration: none; color: var(--accent-deep); font-size: 12.5px; font-weight: 800; }
.tab-fab-ic {
  width: 60px; height: 60px; margin-top: -26px; border-radius: 50%;
  background: var(--accent-dark); color: #fff; display: grid; place-items: center;
  border: 5px solid var(--bg); box-shadow: 0 8px 20px rgba(185, 71, 18, .38);
}
.tab-fab-ic .ic { width: 26px; height: 26px; }
.tab-fab:focus-visible .tab-fab-ic { box-shadow: var(--ring); }

/* Günlük */
.duygu-cipler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.duygu-cip { position: relative; display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); font-weight: 800; font-size: 13px; cursor: pointer; }
.duygu-cip .e { font-size: 24px; line-height: 1.1; }
.duygu-cip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.duygu-cip:has(input:checked) { border: 2px solid var(--accent-dark); background: var(--accent-soft); color: var(--accent-deep); }
.duygu-cip:has(input:focus-visible) { box-shadow: var(--ring); }
.gunluk-kayit { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-bottom: 8px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 18px; }
.gunluk-duygu { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-size: 22px; color: var(--accent-deep); }
.gunluk-duygu svg { width: 20px; height: 20px; }
.gunluk-govde { flex: 1; min-width: 0; display: grid; gap: 2px; }
.gunluk-ust { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gunluk-kilo { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.gunluk-not { font-size: 14.5px; color: var(--ink); overflow-wrap: anywhere; }

/* Kedi formu: fotoğraf */
.foto-sec { display: flex; gap: 14px; align-items: center; }
.foto-onizleme { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 20px; overflow: hidden; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; }
.foto-onizleme img { width: 100%; height: 100%; object-fit: cover; }
.foto-onizleme svg { width: 28px; height: 28px; }

@media (max-width: 360px) {
  .pano-foto { flex-basis: 76px; width: 76px; height: 76px; }
  .pano-bilgi h1 { font-size: 22px; }
  .tab-fab-ic { width: 54px; height: 54px; }
}
.dinle-sayfa-ic { min-height: 100%; display: flex; flex-direction: column; }
.dinle-sayfa-ic > #recordArea { margin-block: auto; padding-bottom: 8vh; }
