/* SESLİ AJANDA — görünüm
   Dil: iOS'un kendi uygulamaları gibi sade ve ferah. Büyük başlıklar, gruplanmış
   kartlar, yüzen cam menü, renk geçişli kayıt düğmesi. Açık/koyu tema sistemden. */
:root {
  --zemin: #F4F2EF;
  --zemin-isik: radial-gradient(1200px 520px at 50% -180px, #FFE3E1 0%, rgba(255, 227, 225, 0) 70%);
  --yuzey: #FFFFFF;
  --yuzey-2: #F1EEEA;
  --yuzey-cam: rgba(255, 255, 255, .72);
  --cizgi: rgba(20, 16, 12, .08);
  --yazi: #141210;
  --yazi-2: #57514B;
  --soluk: #9A938C;
  --vurgu: #E5394B;
  --vurgu-2: #FF6B5E;
  --vurgu-yumusak: rgba(229, 57, 75, .1);
  --yesil: #1F9D63; --yesil-yumusak: rgba(31, 157, 99, .12);
  --amber: #C27A0E; --amber-yumusak: rgba(232, 160, 40, .16);
  --golge-1: 0 1px 1px rgba(20, 16, 12, .04), 0 2px 8px rgba(20, 16, 12, .04);
  --golge-2: 0 10px 30px rgba(20, 16, 12, .08), 0 2px 6px rgba(20, 16, 12, .05);
  --r-l: 22px; --r-m: 16px; --r-s: 12px;
  --menu-y: 74px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --zemin: #0A0A0B;
    --zemin-isik: radial-gradient(1200px 520px at 50% -200px, rgba(229, 57, 75, .22) 0%, rgba(229, 57, 75, 0) 70%);
    --yuzey: #161618; --yuzey-2: #1F1F22; --yuzey-cam: rgba(28, 28, 31, .72);
    --cizgi: rgba(255, 255, 255, .08);
    --yazi: #F5F3F1; --yazi-2: #BDB7B1; --soluk: #7D7873;
    --vurgu: #FF5466; --vurgu-2: #FF8A6B; --vurgu-yumusak: rgba(255, 84, 102, .14);
    --yesil: #3DD68C; --yesil-yumusak: rgba(61, 214, 140, .14);
    --amber: #F2B544; --amber-yumusak: rgba(242, 181, 68, .14);
    --golge-1: none; --golge-2: 0 10px 30px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; background: var(--zemin); color: var(--yazi);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; letter-spacing: -.005em; }
body { background-image: var(--zemin-isik); background-repeat: no-repeat; background-attachment: fixed; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
#uygulama { min-height: 100vh; }

/* ---------- üst çubuk ---------- */
#ust { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 10px) 20px 10px; transition: background .2s; }
#ust.golgeli { background: var(--yuzey-cam); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--cizgi); }
.marka { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.marka i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(140deg, var(--vurgu-2), var(--vurgu)); display: grid; place-items: center; }
.marka i svg { width: 15px; height: 15px; stroke: #fff; stroke-width: 2.2; fill: none; stroke-linecap: round; }
.esitleme { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--cizgi); background: var(--yuzey-cam);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 999px; padding: 6px 12px 6px 10px; font-size: 12.5px; font-weight: 600; color: var(--yazi-2); }
.esitleme::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--soluk); }
.esitleme.tamam::before { background: var(--yesil); box-shadow: 0 0 0 3px var(--yesil-yumusak); }
.esitleme.uyari { color: var(--amber); } .esitleme.uyari::before { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-yumusak); }
.esitleme.calisiyor::before { background: var(--vurgu); animation: yanip 1s ease-in-out infinite; }
.esitleme:empty { display: none; }
@keyframes yanip { 50% { opacity: .3; } }

#icerik { padding: 0 20px calc(var(--menu-y) + env(safe-area-inset-bottom) + 36px); max-width: 680px; margin: 0 auto; }

/* ---------- büyük başlık ---------- */
.baslik-blok { padding: 6px 2px 4px; }
.baslik-blok .ust-yazi { font-size: 13px; font-weight: 600; color: var(--soluk); text-transform: uppercase; letter-spacing: .06em; }
.baslik-blok h1 { font-size: 34px; line-height: 1.1; font-weight: 750; letter-spacing: -.03em; margin: 4px 0 0; }

/* ---------- yüzen menü ---------- */
#alt { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom) + 12px); z-index: 12;
  display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--yuzey-cam); border: 1px solid var(--cizgi);
  backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); box-shadow: var(--golge-2); }
#alt button { border: 0; background: none; display: flex; align-items: center; gap: 7px; height: 48px; padding: 0 16px; border-radius: 999px;
  color: var(--yazi-2); font-size: 14px; font-weight: 650; transition: background .2s, color .2s; }
#alt button span { display: none; }
#alt button.aktif { background: var(--yazi); color: var(--zemin); }
#alt button.aktif span { display: inline; }

/* ---------- genel parçalar ---------- */
h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--soluk); margin: 30px 4px 10px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
h3 .sayi { background: var(--yuzey-2); color: var(--yazi-2); border-radius: 999px; padding: 1px 8px; font-size: 12px; letter-spacing: 0; }
.soluk { color: var(--soluk); } .kucuk { font-size: 13.5px; }
.satir { display: flex; gap: 10px; align-items: center; } .bosluk { flex: 1; }
.dugme { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; padding: 12px 18px; font-weight: 650;
  background: var(--yuzey); color: var(--yazi); box-shadow: var(--golge-1); border: 1px solid var(--cizgi); transition: transform .12s; }
.dugme:active { transform: scale(.97); }
.dugme.ana { background: var(--yazi); color: var(--zemin); border-color: transparent; }
.dugme.vurgu { background: linear-gradient(140deg, var(--vurgu-2), var(--vurgu)); color: #fff; border-color: transparent; }
.dugme.tehlike { color: var(--vurgu); }
.dugme.tam { width: 100%; }
.dugme.kucuk { padding: 7px 12px; font-size: 13.5px; border-radius: 11px; }
.dugme:disabled { opacity: .5; }
input[type=text], input[type=search], input[type=password], input[type=date], textarea, select {
  width: 100%; border: 1px solid var(--cizgi); background: var(--yuzey); border-radius: var(--r-s); padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { border-color: var(--vurgu); box-shadow: 0 0 0 4px var(--vurgu-yumusak); }
textarea { resize: vertical; min-height: 110px; line-height: 1.55; }

/* ---------- kayıt ---------- */
.kahraman { display: flex; flex-direction: column; align-items: center; padding: 26px 0 6px; }
.mikrofon { width: 176px; height: 176px; border-radius: 50%; border: 0; position: relative; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, var(--vurgu-2), var(--vurgu) 62%);
  box-shadow: 0 22px 50px -12px color-mix(in srgb, var(--vurgu) 60%, transparent), inset 0 2px 0 rgba(255, 255, 255, .25); transition: transform .18s; }
.mikrofon:active { transform: scale(.95); }
.mikrofon svg { width: 62px; height: 62px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; position: relative; z-index: 2; }
.mikrofon::before, .mikrofon::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--vurgu) 30%, transparent); }
.mikrofon::after { inset: -30px; border-color: color-mix(in srgb, var(--vurgu) 14%, transparent); }
.mikrofon.kayitta::before, .mikrofon.kayitta::after { animation: halka 1.8s ease-out infinite; border-width: 2px; }
.mikrofon.kayitta::after { animation-delay: .6s; }
@keyframes halka { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }
.kayit-alti { margin-top: 30px; min-height: 60px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sayac { font: 600 34px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.dalga { display: flex; align-items: center; gap: 4px; height: 44px; }
.dalga i { width: 4px; height: 6px; border-radius: 4px; background: linear-gradient(var(--vurgu-2), var(--vurgu)); transition: height .09s ease-out; }
.ipucu { color: var(--yazi-2); font-size: 15px; text-align: center; max-width: 300px; line-height: 1.5; }
.ipucu b { color: var(--yazi); font-weight: 650; }
.kayit-not { font-size: 13px; color: var(--soluk); display: flex; align-items: center; gap: 6px; }

.ozetler { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.ozet-kutu { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: var(--r-m); padding: 13px 14px; box-shadow: var(--golge-1); text-align: left; }
.ozet-kutu b { display: block; font-size: 24px; font-weight: 750; letter-spacing: -.02em; line-height: 1.1; }
.ozet-kutu span { display: block; margin-top: 3px; font-size: 12px; color: var(--soluk); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ozet-kutu.amber b { color: var(--amber); }
.hizli { display: flex; gap: 10px; margin-top: 12px; }
.hizli .dugme { flex: 1; white-space: nowrap; }

/* ---------- not kartı ---------- */
.not { display: block; width: 100%; text-align: left; background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: var(--r-m);
  padding: 14px 16px 14px 18px; margin-bottom: 10px; box-shadow: var(--golge-1); position: relative; overflow: hidden; transition: transform .12s; }
.not:active { transform: scale(.985); }
.not::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--renk, var(--soluk)); }
.not .meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--soluk); font-weight: 600; }
.not .meta .kat { color: var(--renk); }
.not .baslik { font-weight: 650; font-size: 16.5px; margin-top: 3px; letter-spacing: -.01em; line-height: 1.3; }
.not .ozet { color: var(--yazi-2); font-size: 14.5px; margin-top: 3px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.etiketler { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.etiket { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--yuzey-2); color: var(--yazi-2); font-weight: 600; }
.etiket.takip { background: var(--amber-yumusak); color: var(--amber); }
.etiket.gecikti { background: var(--vurgu-yumusak); color: var(--vurgu); }
.etiket.tamam { background: var(--yesil-yumusak); color: var(--yesil); }
.durum { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: auto; white-space: nowrap; }
.durum.bekliyor { background: var(--amber-yumusak); color: var(--amber); }
.durum.isleniyor { background: var(--yuzey-2); color: var(--yazi-2); }
.durum.isleniyor::before { content: "● "; color: var(--vurgu); animation: yanip 1s infinite; }
.durum.hata { background: var(--vurgu-yumusak); color: var(--vurgu); }
.gun-basligi { font-size: 13px; font-weight: 700; color: var(--yazi-2); margin: 22px 4px 8px; }

/* ---------- arama ve çipler ---------- */
.arama-ust { position: sticky; top: calc(env(safe-area-inset-top) + 52px); z-index: 4; background: var(--zemin); margin: 0 -20px; padding: 8px 20px 8px; }
.arama-kutu { position: relative; }
.arama-kutu svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--soluk); }
.arama-kutu input { padding-left: 40px; background: var(--yuzey-2); border-color: transparent; border-radius: 13px; }
.cipler { display: flex; gap: 8px; overflow-x: auto; margin: 10px -20px 0; padding: 0 20px 4px; scrollbar-width: none; }
.cipler::-webkit-scrollbar { display: none; }
.cip { flex: none; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--cizgi); background: var(--yuzey); border-radius: 999px;
  padding: 7px 13px; font-size: 13.5px; font-weight: 650; color: var(--yazi-2); }
.cip i { width: 8px; height: 8px; border-radius: 50%; }
.cip.secili { background: var(--yazi); color: var(--zemin); border-color: var(--yazi); }

/* ---------- sor ---------- */
.oneriler { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.oneri { border: 1px solid var(--cizgi); background: var(--yuzey); border-radius: 14px; padding: 9px 13px; font-size: 14px; color: var(--yazi-2); text-align: left; }
.soru-kutu { margin-top: 18px; background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: var(--r-l); padding: 6px 6px 6px 16px; box-shadow: var(--golge-2);
  display: flex; align-items: flex-end; gap: 6px; }
.soru-kutu textarea { border: 0; background: none; padding: 12px 0; min-height: 48px; max-height: 160px; resize: none; box-shadow: none !important; }
.yuvarlak { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; flex: none; background: var(--yuzey-2); color: var(--yazi); }
.yuvarlak.ana { background: linear-gradient(140deg, var(--vurgu-2), var(--vurgu)); color: #fff; }
.yuvarlak.kayitta { background: var(--yazi); color: var(--zemin); animation: yanip 1.2s infinite; }
.yuvarlak:disabled { opacity: .5; }
.yuvarlak svg { width: 20px; height: 20px; }
.balon-soru { margin: 22px 0 0 auto; max-width: 85%; width: fit-content; background: var(--yazi); color: var(--zemin); padding: 11px 15px; border-radius: 20px 20px 6px 20px; font-size: 15.5px; }
.balon-cevap { margin-top: 10px; background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 20px 20px 20px 6px; padding: 15px 17px; box-shadow: var(--golge-1); }
.balon-cevap .metin { font-size: 16.5px; line-height: 1.55; white-space: pre-wrap; }
.balon-cevap .alt { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; color: var(--soluk); }
.yaziyor { display: inline-flex; gap: 5px; padding: 6px 2px; } .yaziyor i { width: 7px; height: 7px; border-radius: 50%; background: var(--soluk); animation: zipla 1s infinite; }
.yaziyor i:nth-child(2) { animation-delay: .15s; } .yaziyor i:nth-child(3) { animation-delay: .3s; }
@keyframes zipla { 30% { transform: translateY(-5px); opacity: .5; } }

/* ---------- gruplu liste (ayarlar, not ayrıntısı) ---------- */
.grup { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: var(--r-m); box-shadow: var(--golge-1); overflow: hidden; }
.grup-not { font-size: 13px; color: var(--soluk); margin: 8px 6px 0; line-height: 1.5; }
.oge { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 50px; }
.oge + .oge { border-top: 1px solid var(--cizgi); }
.oge .etk { font-size: 15px; color: var(--yazi-2); min-width: 92px; }
.oge input, .oge select { border: 0; background: none; padding: 4px 0; text-align: right; box-shadow: none !important; border-radius: 0; }
.oge .deger { margin-left: auto; font-weight: 650; }
.oge textarea { border: 0; background: none; padding: 2px 0; box-shadow: none !important; }
.renk-nokta { width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* ---------- tam sayfa ---------- */
#sayfa { position: fixed; inset: 0; z-index: 30; background: var(--zemin); overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 0 20px calc(env(safe-area-inset-bottom) + 40px); animation: kay .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes kay { from { transform: translateY(24px); opacity: 0; } }
#sayfa .ic { max-width: 680px; margin: 0 auto; }
.sayfa-ust { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; margin: 0 -20px; padding: calc(env(safe-area-inset-top) + 8px) 20px 10px;
  background: var(--yuzey-cam); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--cizgi); }
.geri { border: 0; background: none; color: var(--vurgu); font-weight: 600; font-size: 17px; padding: 6px 0; display: flex; align-items: center; gap: 2px; }
.not-baslik-giris { width: 100%; border: 0 !important; background: none !important; font-size: 26px !important; font-weight: 750; letter-spacing: -.02em; padding: 18px 0 2px !important; box-shadow: none !important; min-height: 0 !important; resize: none; line-height: 1.2 !important; }
.not-ust-bilgi { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--soluk); font-size: 13.5px; font-weight: 600; }
.uyari-kutu { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-s); background: var(--vurgu-yumusak); color: var(--vurgu); font-size: 14px; line-height: 1.45; }
audio { width: 100%; height: 40px; }
details.acilir summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 600; color: var(--yazi-2); display: flex; justify-content: space-between; }
details.acilir summary::-webkit-details-marker { display: none; }
details.acilir summary::after { content: "›"; transition: transform .2s; font-size: 20px; line-height: 1; } details.acilir[open] summary::after { transform: rotate(90deg); }
details.acilir .ic-metin { padding: 0 16px 14px; font-size: 14.5px; color: var(--yazi-2); white-space: pre-wrap; }
.surum { padding: 12px 16px; border-top: 1px solid var(--cizgi); font-size: 14px; }

/* ---------- bildirim ---------- */
#bildirim { position: fixed; left: 50%; top: calc(env(safe-area-inset-top) + 12px); transform: translate(-50%, -20px);
  background: var(--yazi); color: var(--zemin); padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 650; opacity: 0;
  transition: .3s cubic-bezier(.2, .8, .2, 1); pointer-events: none; z-index: 50; max-width: calc(100% - 40px); text-align: center; box-shadow: var(--golge-2); }
#bildirim.gorunur { opacity: 1; transform: translate(-50%, 0); }

/* ---------- giriş ---------- */
.giris { max-width: 360px; margin: 0 auto; min-height: 92vh; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.giris .buyuk-logo { width: 84px; height: 84px; border-radius: 26px; margin: 0 auto 22px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--vurgu-2), var(--vurgu)); box-shadow: 0 18px 40px -10px color-mix(in srgb, var(--vurgu) 60%, transparent); }
.giris .buyuk-logo svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.giris h1 { font-size: 30px; letter-spacing: -.03em; margin: 0; }
.giris p { color: var(--yazi-2); margin: 8px 0 24px; }
.giris input { margin-top: 10px; font-size: 17px; padding: 15px 16px; border-radius: 15px; }
.giris .dugme { margin-top: 14px; padding: 15px; border-radius: 15px; font-size: 16.5px; }
.hata-yazi { color: var(--vurgu); font-size: 14px; margin-top: 12px; min-height: 20px; }
.bos { text-align: center; color: var(--soluk); padding: 36px 16px; background: var(--yuzey); border: 1px dashed var(--cizgi); border-radius: var(--r-m); }
.bos b { display: block; color: var(--yazi-2); font-size: 16px; margin-bottom: 4px; }

/* ======================================================================
   GENİŞ EKRAN — iPad (Pro 13" dikey 1032 / yatay 1376), Mac
   Alt menü sola kenar menüsüne dönüşür; içerik iki sütun; not ayrıntısı
   ortada kart olarak açılır.
   ====================================================================== */
.yan-marka { display: none; }
@media (min-width: 720px) {
  :root { --yan: 272px; }
  html, body { font-size: 17px; }
  #uygulama { padding-left: var(--yan); }
  #ust { padding: calc(env(safe-area-inset-top) + 18px) 40px 14px; }
  #ust .marka { visibility: hidden; }
  #icerik { max-width: 1180px; padding: 0 40px 60px; }

  #alt { left: 0; top: 0; bottom: 0; transform: none; width: var(--yan); border-radius: 0; flex-direction: column; gap: 4px;
    padding: calc(env(safe-area-inset-top) + 22px) 16px 24px; border: 0; border-right: 1px solid var(--cizgi); box-shadow: none; }
  #alt button { width: 100%; justify-content: flex-start; height: 48px; padding: 0 14px; border-radius: 14px; font-size: 16px; gap: 12px; }
  #alt button span { display: inline; }
  #alt button:hover { background: var(--yuzey-2); }
  #alt button.aktif { background: var(--yazi); color: var(--zemin); }
  .yan-marka { display: flex; align-items: center; gap: 12px; padding: 4px 8px 26px; }
  .yan-marka i { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(140deg, var(--vurgu-2), var(--vurgu)); display: grid; place-items: center; flex: none;
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--vurgu) 70%, transparent); }
  .yan-marka i svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 2; fill: none; stroke-linecap: round; }
  .yan-marka b { display: block; font-size: 17px; letter-spacing: -.01em; }
  .yan-marka small { display: block; color: var(--soluk); font-size: 12.5px; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .baslik-blok h1 { font-size: 42px; }
  .kayit-duzen { display: grid; grid-template-columns: minmax(360px, 440px) 1fr; gap: 44px; align-items: start; margin-top: 8px; }
  .kayit-sol { position: sticky; top: calc(env(safe-area-inset-top) + 80px); }
  .kayit-sag h3:first-child { margin-top: 14px; }
  .kahraman { padding-top: 30px; }
  .mikrofon { width: 200px; height: 200px; }
  .mikrofon svg { width: 70px; height: 70px; }

  .arama-ust { margin: 0 -40px; padding: 10px 40px 10px; top: calc(env(safe-area-inset-top) + 66px); }
  .cipler { margin: 12px -40px 0; padding: 0 40px 4px; flex-wrap: wrap; overflow: visible; }
  .liste-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
  .liste-izgara .gun-basligi { grid-column: 1 / -1; margin-bottom: 0; }
  .liste-izgara .not { margin-bottom: 0; height: 100%; }

  #icerik > .soru-kutu, #icerik > .oneriler, #icerik > .balon-soru, #icerik > .balon-cevap { max-width: 820px; }
  .oneriler { max-width: 820px; }

  /* not ayrıntısı: ortada kart */
  #sayfa { background: rgba(10, 8, 6, .38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 48px 24px; animation: soluk-gir .2s ease; }
  @keyframes soluk-gir { from { opacity: 0; } }
  #sayfa .ic { max-width: 780px; background: var(--zemin); border-radius: 28px; padding: 0 32px 32px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); animation: kay .28s cubic-bezier(.2, .8, .2, 1); overflow: hidden; }
  .sayfa-ust { margin: 0 -32px; padding: 16px 32px 14px; border-radius: 28px 28px 0 0; }
  .not-baslik-giris { font-size: 30px !important; }

  #bildirim { left: calc(50% + var(--yan) / 2); }
  .giris { min-height: 86vh; }
}
@media (min-width: 720px) and (max-width: 1100px) {
  /* iPad dikey: kayıt ekranı tek sütun, kart ızgarası korunur */
  .kayit-duzen { grid-template-columns: 1fr; gap: 0; }
  .kayit-sol { position: static; }
}

@media (min-width: 720px) { #uygulama.oturumsuz { padding-left: 0; } }

/* ---------- tema seçici ---------- */
.tema-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.tema { border: 1px solid var(--cizgi); background: var(--yuzey); border-radius: 14px; padding: 8px; text-align: left; display: flex; flex-direction: column; gap: 7px; }
.tema.secili { border-color: var(--vurgu); box-shadow: 0 0 0 3px var(--vurgu-yumusak); }
.tema-onizleme { height: 52px; border-radius: 9px; border: 1px solid transparent; position: relative; overflow: hidden; display: block; }
.tema-onizleme i { position: absolute; left: 8px; right: 8px; top: 8px; height: 16px; border-radius: 5px; }
.tema-onizleme b { position: absolute; right: 8px; bottom: 8px; width: 18px; height: 18px; border-radius: 50%; }
.tema-ad { font-size: 12.5px; font-weight: 650; color: var(--yazi-2); line-height: 1.2; }

/* ---------- Tuncer's marka ---------- */
.logo-img { width: 28px; height: 28px; border-radius: 8px; display: block; flex: none; }
.marka span { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.marka em, .yan-marka em, .kesme { font-style: normal; color: var(--vurgu); }
.ust-sag { display: flex; align-items: center; gap: 8px; }
.avatar, .ust-avatar { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; flex: none;
  background: var(--yuzey-2); color: var(--yazi-2); font-weight: 750; font-size: 14px; border: 1px solid var(--cizgi); padding: 0; }
.avatar img, .ust-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
#alt .yan-profil { display: none; }
.buyuk-logo-img { width: 92px; height: 92px; margin: 0 auto 22px; display: block; filter: drop-shadow(0 18px 30px color-mix(in srgb, var(--vurgu) 45%, transparent)); }
.giris h1 { font-size: 34px; font-weight: 800; }
@media (min-width: 720px) {
  .ust-avatar { display: none; }
  .yan-marka .logo-img { width: 42px; height: 42px; border-radius: 12px; }
  .yan-marka b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
  #alt .yan-profil { display: flex; align-items: center; gap: 11px; margin-top: auto; width: 100%; height: auto; border: 1px solid var(--cizgi); background: var(--yuzey); color: var(--yazi); border-radius: 14px; padding: 10px 12px; text-align: left; font-size: 14px; }
  #alt .yan-profil .avatar { display: grid; width: 38px; height: 38px; }
  #alt .yan-profil .yan-profil-yazi { display: block; }
  .yan-profil-yazi { min-width: 0; } .yan-profil-yazi b { display: block; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .yan-profil-yazi small { display: block; font-size: 12px; color: var(--soluk); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
  #alt button.yan-profil:hover { background: var(--yuzey-2); }
}

/* ---------- rehber ve ortak notlar ---------- */
.durum.ortak { background: color-mix(in srgb, #2F5D9A 14%, transparent); color: #4F7FE0; }
.kisi-etiket { cursor: pointer; }
.kisi-etiket:hover { background: var(--vurgu-yumusak); color: var(--vurgu); }
.rehber-kart .baslik { font-size: 16.5px; }

/* Katlanabilir telefonun iç ekranı (Fold, ~720-900 px): daha dar kenar menüsü, içerik ferah kalsın */
@media (min-width: 720px) and (max-width: 899px) {
  :root { --yan: 216px; }
  #icerik { padding: 0 24px 60px; }
  #ust { padding-left: 24px; padding-right: 24px; }
  .arama-ust { margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
  .cipler { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
  .baslik-blok h1 { font-size: 36px; }
  .liste-izgara { grid-template-columns: 1fr; }
  #alt button { font-size: 15px; }
  .yan-marka small { display: none; }
}
