/* Sayfa iskeleti (Q-40 seçenek b, ADR-0032): her oturumlu sayfada kalıcı üst çubuk; sol menü yok.
   Masaüstü: logo · konum izi · arama · Paylaş · Yükle · hesap. Telefon: "‹ üst seviye" · QR ·
   hesap; alt çubuk Medya · Koleksiyonlar · ＋ · Etiketler · Ara. Ölçüler onaylı taslakla aynı
   (scratch/tasarim/q40); renkler yalnızca token. */

/* Yapışkan öğelerin üst boşluğu tek yerden (B1, 2026-09-29): kalıcı üst çubuk + (sayfada varsa)
   yapışkan alan sekmeleri. Telefonda (≤767 px) üst çubuk 54 px, sekmeler kaymaz. Kapak altı gün
   başlıkları, zaman listesi, kip satırı, yönetim menüsü, yükleme yan paneli bunu kullanır. */
:root {
  --tb-h: calc(60px + env(safe-area-inset-top, 0px));
  --stabs-h: 54px;
  --sticky-top: calc(var(--tb-h) + var(--stabs-h));
}
html:not(:has(.stabs)) { --stabs-h: 0px; }
@media (max-width: 767px) { :root { --tb-h: calc(54px + env(safe-area-inset-top, 0px)); --stabs-h: 0px; } }

/* `--livebar-h`: canlı konum şeridi açıkken onun boyu (liveshare.js); sayfa şerit kadar taşmasın */
.shell { min-height: calc(100vh - var(--livebar-h, 0px)); min-height: calc(100dvh - var(--livebar-h, 0px)); }
.shell__main { padding: 0 var(--s4) calc(var(--tabbar-h) + var(--s6) + env(safe-area-inset-bottom, 0px)); }
.shell--plain .shell__main { padding-bottom: var(--s8); }
@media (min-width: 768px) { .shell__main { padding: 0 var(--s5) var(--s8); } }

/* --- kalıcı üst çubuk ----------------------------------------------------------------- */
.tb {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px;
  height: calc(60px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--s4) 0 var(--s5);
  background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.tb__logo { flex: none; display: grid; place-items: center; min-width: 30px; }
.tb__logo img { width: 30px; height: 30px; border-radius: 7px; display: block; }
/* Domain logosu (ADR-0060 dilim 2): yüksekliği sabit, genişliği logonun oranında; koyu sürüm
   varsa koyu hâlde o görünür. Halka yok: domain logosu koyu zemin için kendi sürümünü taşır. */
/* yatay logoda yazı okunsun: yükseklik 32 px, en en çok 160 px (yardımcı, 2026-10-12) */
.tb__logo img.brand { width: auto; height: 32px; max-width: 160px; object-fit: contain; border-radius: 4px; }
img.brand.brand--dark { display: none; }
:root[data-theme="dark"] img.brand.brand--dark { display: block; }
:root[data-theme="dark"] img.brand.brand--light.has-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] img.brand.brand--dark { display: block; }
  :root[data-theme="system"] img.brand.brand--light.has-dark { display: none; }
}
.tb__back { display: none; }
/* Yenile (liste görünümleri): konum izinin sağında sade simge düğme; basınca döner */
.tb__refresh { flex: none; border-color: transparent; background: none; color: var(--muted); }
.tb__refresh:hover { background: var(--surface-2); color: var(--ink); }
.tb__refresh.is-busy svg.i { animation: tb-spin .8s linear infinite; }
@keyframes tb-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tb__refresh.is-busy svg.i { animation: none; } .tb__refresh.is-busy { opacity: .5; } }
.crumbs { display: flex; align-items: center; min-width: 0; }
.cr {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 5px 8px; border: 0; border-radius: 8px;
  background: none; color: var(--muted); font: 500 .9375rem/1.3 var(--body); white-space: nowrap; text-decoration: none;
}
.cr span { overflow: hidden; text-overflow: ellipsis; }
.cr svg.i { width: 16px; height: 16px; flex: none; }
button.cr, a.cr { cursor: pointer; }
button.cr:hover, a.cr:hover, .cr.is-open { background: var(--surface-2); color: var(--ink); }
.cr--cur { color: var(--ink); font-weight: 700; }
.cr--cur svg.i { color: var(--muted); }
.crsep { color: var(--crumb-sep); font-size: 1.0625rem; padding: 0 1px; }

.tsearch {
  flex: 0 1 400px; margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 180px; height: 40px;
  padding: 0 10px 0 12px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--paper); color: var(--muted);
}
.tsearch:hover, .tsearch:focus-within { border-color: var(--line-strong); }
.tsearch svg.i { width: 18px; height: 18px; flex: none; }
.tsearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: 400 .875rem/1.2 var(--body); }
.tsearch input::placeholder { color: var(--muted); }
.tsearch input::-webkit-search-cancel-button { display: none; }
.tsearch { position: relative; }
.tsearch__x { display: none; }

/* --- arama paneli (Q-41, ADR-0033): türe göre gruplu; telefonda tam ekran ------------------ */
.spanel {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 70;
  width: min(640px, calc(100vw - 24px)); max-height: min(560px, calc(100vh - 90px)); overflow: auto; padding: 4px 8px 8px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-pop);
}
.sp__scope {
  justify-self: start; display: inline-block; margin: 8px 8px 2px; padding: 4px 8px; border-radius: var(--r-pill);
  background: var(--nazar-soft); color: var(--nazar-text); font: 600 .75rem/1.2 var(--body);
}
/* fix/search-group-tags: birden çok alandaki aynı etiket ve altında alan alan döküm */
.sp__scopebar { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.sp__scopebar .sp__scope { margin-right: 0; }
/* ADR-0068 §3 (onay notu 1): kapsam iki seçenekli düğme grubu, seçili olan dolu; tek satır */
.sp__seg { flex-wrap: nowrap; gap: 4px; margin: 8px 8px 2px; padding: 3px; width: fit-content; max-width: calc(100% - 16px); border: 1px solid var(--line); border-radius: var(--r-pill); }
.sp__segopt {
  display: inline-flex; align-items: center; min-width: 0; padding: 5px 10px; border-radius: var(--r-pill);
  font: 600 .75rem/1.2 var(--body); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sp__segopt.is-on { background: var(--nazar-soft); color: var(--nazar-text); }
.sp__opt.sp__segopt:hover { background: var(--paper); }
.sp__opt.sp__segopt.is-on:hover { background: var(--nazar-soft); }
/* süzgeç çipleri (türe göre, sayılarıyla) ve notlar ("şu biçimler de arandı", harf farkı) */
.sp__facets { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 8px 2px; }
.sp__opt.sp__facet {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 10px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); font: 500 .8125rem/1 var(--body);
}
.sp__facet .mono { font-size: .75rem; color: var(--muted); }
.sp__opt.sp__facet.is-on { border-color: var(--nazar); background: var(--nazar-soft); color: var(--nazar-text); }
.sp__facet.is-on .mono { color: var(--nazar-text); }
.sp__expand { margin: 6px 8px 2px; font: 400 .8125rem/1.4 var(--body); color: var(--muted); }
.sp__opt.sp__exact { display: inline; padding: 0; color: var(--nazar-text); font-weight: 600; text-decoration: underline; border-radius: 4px; }
/* belgeler: kapak, ad ve sayfa çipleri, iki satırlık parçacık, tür ve sayfa sayısı */
.sp__row.sp__doc { align-items: flex-start; }
.sp__doc img, .sp__doc .sp__ph { width: 48px; height: 64px; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.sp__docbody { gap: 3px; }
.sp__doctop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.sp__doctop b { font-size: .875rem; font-weight: 600; }
.sp__passive { padding: 1px 7px; font-weight: 600; font-size: .6875rem; justify-self: start; } /* ADR-0079 Ö3 */
.sp__page { display: inline-block; padding: 1px 7px; border-radius: var(--r-pill); background: var(--nazar-soft); color: var(--nazar-text); font: 600 .6875rem/1.5 var(--mono); white-space: nowrap; }
.sp__snip { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .8125rem; line-height: 1.4; color: var(--ink); }
.sp__snip mark { padding: 0 1px; border-radius: 3px; }
/* Sohbetlerde (ADR-0071 C dilimi): avatar ya da sohbet türünün simgesi, ad ve zaman, alıntı */
.sp__row.sp__chat { align-items: flex-start; }
.sp__chat .sp__t { flex: 1; } /* saat satırın sağında */
.sp__chat .av { margin-top: 2px; }
.sp__chat .av .av__img { width: 100%; height: 100%; border-radius: 0; } /* .sp__row img'in boyutu değil */
.av.sp__chatico { background: var(--surface-2); color: var(--muted); } /* Mesajlar kutusundaki grup simgesi gibi */
.sp__chatico svg.i { width: 18px; height: 18px; }
.sp__chattop { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; }
.sp__chattop b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; font-weight: 600; }
.sp__chattop small { flex: none; font: 400 .75rem/1 var(--mono); color: var(--muted); }
/* görseldeki yazının alıntısı (ADR-0070): küçük resmin altında, en çok iki satır */
.sp__snip--m { font-size: .75rem; line-height: 1.3; color: var(--muted); }
/* sonuç yok: ipuçları ve öneriler */
.sp__emptybox { display: grid; gap: 6px; margin: 8px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; }
.sp__emptytitle { margin: 0; font: 600 .9375rem/1.3 var(--body); color: var(--ink); }
.sp__tips { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: .8125rem; color: var(--muted); }
.sp__opt.sp__suggest { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; font-size: .875rem; font-weight: 600; color: var(--nazar-text); }
.sp__suggest .mono { color: var(--muted); font-weight: 400; }
/* konuşmadaki neden ("Konuşmada · 02:08") kesilmez, iki satıra sarar (tek satır kuralının önünde) */
.sp__thumbs .sp__m small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sp__together { display: grid; gap: 2px; padding: 8px; }
.sp__together b { font: 700 .9375rem/1.25 var(--body); }
.sp__together small { font: 400 .75rem/1 var(--mono); color: var(--muted); }
.sp__note { margin: 4px 8px 6px; font: 400 .8125rem/1.35 var(--body); color: var(--ink); }
/* ADR-0078 §3, §4: "tualimo'ya sor" ve misafirin cevabı (balon zemininde; sohbetin cevap biçimi) */
.sp__opt.sp__ask { font-weight: 600; color: var(--nazar-text); }
.sp__ask svg.i { width: 20px; height: 20px; flex: none; }
.sp__ask .sp__t { display: inline; }
.sp__ask-q { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; color: var(--muted); }
.sp__assist { display: grid; gap: 6px; margin: 4px 8px 8px; padding: 10px 12px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm); }
.sp__assist-q { margin: 0; color: var(--muted); font-style: italic; }
.ibtn.tb__search { display: none; }
.sp__tagset { display: grid; justify-items: start; gap: 2px; margin: 4px 8px 6px; }
.sp__where { font: 400 .6875rem/1 var(--mono); color: var(--muted); }
.sp__sub { display: grid; width: 100%; padding-left: 14px; border-left: 2px solid var(--line); }
.sp__subopt { display: flex; justify-content: space-between; gap: 12px; padding: 6px 8px; font-size: .8125rem; }
.sp__subopt .mono { color: var(--muted); }
.sp__h { margin: 10px 8px 6px; font: 500 .6875rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sp__opt { color: var(--ink); text-decoration: none; border-radius: 10px; outline: none; }
.sp__opt:hover, .sp__opt[aria-selected="true"] { background: var(--paper); }
.sp__opt[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--nazar); }
.sp__row { display: flex; align-items: center; gap: 12px; padding: 6px 8px; }
.sp__row img, .sp__row .sp__ph { width: 56px; height: 42px; border-radius: 6px; object-fit: cover; flex: none; background: var(--surface-2); }
.sp__t { min-width: 0; display: grid; }
.sp__t b { font-size: .875rem; font-weight: 600; }
.sp__t small, .sp__m small { font-size: .7812rem; color: var(--muted); }
.sp__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 2px 8px 4px; }
.sp__m { display: grid; gap: 3px; padding: 4px; font-size: .7812rem; line-height: 1.25; }
.sp__m img, .sp__m .sp__ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; background: var(--surface-2); }
.sp__cap, .sp__m small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp__tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 8px 4px; }
/* onay notu 2: panel kendi içinde kayar; "Tüm sonuçlar" altta yapışık, hep bütünüyle görünür */
.sp__all {
  position: sticky; bottom: -8px; z-index: 1; display: block; margin: 8px 8px -8px; padding: 10px; text-align: center; font-weight: 600; font-size: .875rem;
  color: var(--nazar-text); background: var(--nazar-soft); box-shadow: 0 -8px 0 var(--surface);
}
.sp__empty { padding: 12px 10px; color: var(--muted); font-size: .875rem; margin: 0; }
mark { background: var(--mark); color: inherit; border-radius: 2px; padding: 0 1px; }
kbd {
  font: 500 .6875rem/1 var(--mono); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px;
  padding: 3px 6px; color: var(--muted); background: var(--surface);
}
.tb__acts { display: flex; align-items: center; gap: var(--s2); flex: none; }
.tb__acts .btn { height: 40px; }
/* zil (ADR-0071 "Arayüz adımı, 4" N2): rozet simgenin sağ üstünde */
.tb__bell, .tb__msgs { position: relative; flex: none; border-color: transparent; background: none; color: var(--muted); }
.tb__bell:hover, .tb__msgs:hover { background: var(--surface-2); color: var(--ink); }
.tb__msgs[aria-current="page"] { color: var(--brand-text); }
.tb__bell-n { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; font-size: .625rem; }
.tb__bell-n[hidden] { display: none; }
/* bildirim listesi: telefonda alttan pencere; masaüstünde zilin altına bağlı panel (.notifypanel,
   arka plan kararmaz; sohbet 6. adım) */
.notifysheet .nlist { display: grid; gap: 2px; margin: 0; padding: 0 var(--s2); list-style: none; }
.notifypanel { padding: var(--s3) var(--s2) var(--s2); max-height: min(70vh, 560px); }
.notifypanel .sheet__head { padding: 0 var(--s2) var(--s2); }
.nitem {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) 10px; gap: 10px; align-items: start;
  padding: var(--s2); border-radius: 9px; color: var(--ink); text-decoration: none;
}
/* okunmamış: sağda nokta (ekran okuyucuya "okunmadı" metni içinde) */
.nitem__dot { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--nazar); }
.nitem:hover, .nitem:focus-visible { background: var(--surface-2); }
.nitem__t { display: grid; gap: 2px; min-width: 0; }
.nitem__t b { font: 500 .875rem/1.3 var(--body); }
.nitem.is-unread .nitem__t b { font-weight: 700; }
.nitem__where, .nitem__at { color: var(--muted); font-size: .75rem; }
.nitem__ex { font-size: .8125rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nlist__empty { margin: var(--s3) var(--s4); color: var(--muted); font-size: .875rem; }
.nlist__acts { display: flex; justify-content: center; padding: var(--s2); }
.nlist__acts:has(> [hidden]:only-child) { display: none; }
@media (min-width: 640px) { .notifysheet { width: min(460px, 92vw); } }

.acct {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 5px; border: 0; border-radius: 14px;
  background: none; color: var(--ink); text-align: left; cursor: pointer;
}
.acct:hover, .acct.is-open { background: var(--surface-2); }
.acct__t { display: flex; flex-direction: column; line-height: 1.2; }
.acct__t b { font-size: .875rem; }
.acct__t small { font-size: .75rem; color: var(--muted); white-space: nowrap; }
.acct > svg.i { width: 16px; height: 16px; color: var(--muted); }
.av {
  width: 34px; height: 34px; border-radius: 50%; background: var(--avatar); color: var(--brand-ink);
  display: grid; place-items: center; font: 700 .8125rem/1 var(--body); flex: none;
  position: relative; overflow: hidden;
}
/* ADR-0078 §6: asistanın sabit simgesi (renk ve fotoğraf yok; logo netleşince ona geçer) */
.av--assistant { background: var(--nazar-soft); color: var(--nazar-text); }
.av--assistant svg.i { width: 58%; height: 58%; }
/* ADR-0074 P2: profil fotoğrafı baş harflerin üstünde; yüklenemezse kaldırılır, baş harf görünür */
.av__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av--lg { width: 46px; height: 46px; font-size: 1rem; }
.av--sm { width: 28px; height: 28px; font-size: .6875rem; } /* P3: balonda */
/* ADR-0074 P1: kişinin avatar rengi (seçilen ya da otomatik) */
.av--c1, .av--c2, .av--c3, .av--c4, .av--c5, .av--c6, .av--c7, .av--c8 { color: var(--av-ink); }
.av--c1 { background: var(--av-1); } .av--c2 { background: var(--av-2); }
.av--c3 { background: var(--av-3); } .av--c4 { background: var(--av-4); }
.av--c5 { background: var(--av-5); } .av--c6 { background: var(--av-6); }
.av--c7 { background: var(--av-7); } .av--c8 { background: var(--av-8); }
.tb__guest { flex: none; }
/* feat/guest-exit: misafir göstergesi menü açan düğme */
button.tb__guest { border: 0; cursor: pointer; min-height: 32px; }
button.tb__guest svg.i:last-child { width: 14px; height: 14px; }
button.tb__guest:focus-visible { outline: 2px solid var(--nazar); outline-offset: 2px; }
.am__note { margin: 0 0 var(--s2); font-size: .875rem; color: var(--muted); max-width: 32ch; }

/* --- açılır katmanlar: değiştiriciler ve hesap menüsü ---------------------------------- */
.pop {
  position: fixed; z-index: 70; width: 410px; max-width: calc(100vw - 24px); max-height: calc(100vh - 90px); overflow: auto;
  padding: 6px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-pop); animation: pop-in .16s var(--ease);
}
.pop--sw { width: 320px; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px); } }
.pop__h { margin: 8px 10px 6px; font: 500 .6875rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pop__f { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.veil { position: fixed; inset: 0; z-index: 65; }

.am__me { display: flex; gap: 12px; align-items: center; padding: 10px 10px 14px; }
.am__me b { display: block; font-size: .9375rem; }
.am__me small { color: var(--muted); font-size: .8125rem; }
.am__sec { border-top: 1px solid var(--line); padding: 6px 0; }
.am__sec form { margin: 0; }
.am__link {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px;
  background: none; color: var(--ink); font: 500 .875rem/1.2 var(--body); text-decoration: none; text-align: left; cursor: pointer;
}
.am__link:hover, .am__link:focus-visible { background: var(--paper); }
.am__link svg.i { width: 18px; height: 18px; color: var(--muted); }
.am__link--sub { padding-left: 98px; font-size: .8125rem; color: var(--muted); }

.lv { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; }
.lv__t b { display: block; font-size: .875rem; }
.lv__t small { display: block; font-size: .7812rem; color: var(--muted); line-height: 1.35; }
.lv__go { display: inline-flex; align-items: center; gap: 4px; color: var(--nazar-text); font-size: .8125rem; font-weight: 600; white-space: nowrap; text-decoration: none; padding: 4px; border-radius: 6px; }
.lv__go:hover { background: var(--nazar-soft); }
.lv__go svg.i { width: 16px; height: 16px; }
/* hesap menüsünde tek satır: ad · rol (ADR-0032 Güncellemeler, 2026-10-13) */
.lv--row .lv__t { min-width: 0; font-size: .875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv--row .lv__t b { display: inline; }
.lv__role { color: var(--muted); }

/* Katman etiketi: ALAN · DOMAIN · PLATFORM (açıktan koyuya). Metin şablonda büyük harfle
   yazılır: lang="tr" + text-transform İngilizce "Domain"i "DOMAİN" yapıyordu (fix/nav-polish). */
.lvchip {
  display: inline-flex; align-items: center; justify-content: center; flex: none; justify-self: start; min-width: 74px; height: 20px;
  padding: 0 7px; border-radius: 6px; font: 600 .6562rem/1 var(--mono); letter-spacing: .06em;
}
.lvchip--space { background: var(--nazar-soft); color: var(--nazar-text); }
.lvchip--domain { background: var(--domain-soft); color: var(--brand-text); }
.lvchip--platform { background: var(--brand); color: var(--brand-ink); }

.sw { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .875rem; }
.sw:hover, .sw:focus-visible { background: var(--paper); }
.sw.is-on { background: var(--nazar-soft); }
.sw img, .sw__ph { width: 44px; height: 32px; border-radius: 6px; object-fit: cover; background: var(--surface-2); flex: none; }
.sw__t { min-width: 0; display: grid; }
.sw__t b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw__t small { color: var(--muted); font-size: .75rem; }
.sw__n { margin-left: auto; font-size: .75rem; color: var(--muted); }

/* --- sayfa başlığı (kapaksız sayfalar) ve katman başlığı -------------------------------- */
.pagehead { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); padding: var(--s6) 0 var(--s4); }
/* başlık en uzun kelimesinden dar olmaz: sığmayan düğmeler alt satıra iner (Almanca "Papierkorb"
   320 px'te sıkışıp taşıyordu; Linux yazı ölçüleri); son çare olarak kelime içinden bölünür */
.pagehead__title { flex: 1; min-width: min-content; overflow-wrap: break-word; font: 700 1.875rem/1.1 var(--display); letter-spacing: -.015em; }
.pagehead__acts { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pagehead__acts:empty { display: none; }
.domhead--lv { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; row-gap: 6px; padding: var(--s6) 0 var(--s4); }
.domhead--lv h1 { font: 700 2.5rem/1.05 var(--display); letter-spacing: -.02em; min-width: 0; overflow-wrap: anywhere; } /* domain / alan adı */
.domhead--lv p { grid-column: 1 / -1; color: var(--muted); max-width: 640px; margin: 0; }
.hint { font-size: .8438rem; color: var(--muted); }

/* --- alan sekmeleri (kapağın altında, yapışkan) ------------------------------------------ */
.stabs {
  position: sticky; top: var(--tb-h); z-index: 30; display: flex; align-items: center; gap: var(--s2);
  height: 54px; margin-inline: calc(-1 * var(--s5)); padding: 0 var(--s4) 0 var(--s5);
  background: var(--glass-paper); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.stabs__nav { display: flex; gap: 2px; height: 100%; min-width: 0; }
.stabs__views { display: none; } /* Q-50: yalnızca telefonda (sekmeler orada alt çubukta) */
.stab {
  display: inline-flex; align-items: center; gap: var(--s2); height: 100%; padding: 0 12px; border-bottom: 2px solid transparent;
  color: var(--muted); font: 600 .875rem/1 var(--body); text-decoration: none; white-space: nowrap;
}
.stab:hover { color: var(--ink); }
.stab svg.i { width: 18px; height: 18px; }
.stab .n { font: 500 .75rem/1 var(--mono); color: var(--muted); background: var(--surface-2); padding: 3px 6px; border-radius: 6px; }
.stab[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.stabs__r { margin-left: auto; display: flex; align-items: center; gap: var(--s2); height: 100%; }
.stabs__r > * { flex: none; white-space: nowrap; } /* araç düğmeleri kırılmaz; dar satırda çipler kayar */
.stab--set { height: 60%; margin-left: 4px; padding-left: var(--s4); border-left: 1px solid var(--line); border-bottom: 0; }
/* ADR-0079 K18 (2a AN3): "Bildirimler" düğmesi sekme görünümünde (düğme sıfırlaması) */
.stab--alerts { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.badge {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px;
  background: var(--nazar); color: var(--nazar-ink); font: 700 .6875rem/1 var(--body);
}
.badge--danger { background: var(--danger); color: var(--danger-ink); }  /* silme talebi var (A5) */
.badge--muted { background: var(--surface-2); color: var(--muted); }  /* sessize alınmış sohbet (ADR-0071 K1) */
/* K1: Etiketler telefonda alt çubuktan kapağın altındaki çiplere geçer (sohbet alt çubuktayken) */
.stabs__phone { display: none; }
@media (max-width: 767px) { .stabs__phone { display: inline-flex; align-items: center; gap: 6px; } .stabs__phone svg.i { width: 16px; height: 16px; } }
.cchips { display: flex; gap: var(--s2); align-items: center; height: 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.cchips::-webkit-scrollbar { display: none; }
.cchips .chip { flex: none; }
.cchips .chip svg.i { width: 16px; height: 16px; }

/* --- bölümler: koleksiyon şeridi ve Tüm medya ------------------------------------------ */
.sec { padding: var(--s6) 0 10px; }
.sec__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.sec__h h2 { font: 700 1.25rem/1.1 var(--display); }
.sec__h .n { font-size: .8125rem; color: var(--muted); }
.sec__h > a { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; min-height: 28px; padding: 0 4px; color: var(--nazar-text); font-weight: 600; font-size: .875rem; text-decoration: none; }
.sec__h > a svg.i { width: 16px; height: 16px; }
.sec__h--tools { align-items: center; }
.sec__h--tools .chips { margin-left: auto; }
/* Telefonda süzgeç çipleri başlığın altında kendi satırında: başlıkla aynı hizadan başlar (sığarsa
   da sağa itilmez; fix/filter-row-align) */
@media (max-width: 599px) { .sec__h--tools .chips { margin-left: 0; flex: 1 1 100%; } }
.cstrip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.ccard { position: relative; flex: none; display: block; width: 224px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-band); background: var(--surface-2); }
.ccard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.ccard:hover img { transform: scale(1.04); }
.ccard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, var(--scrim-strong)); }
.ccard__t { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; display: grid; gap: 2px; color: var(--on-scrim); }
.ccard__t b { font: 700 .9375rem/1.15 var(--display); }
.ccard__t small { font-size: .75rem; opacity: .9; }
@media (prefers-reduced-motion: reduce) { .ccard img { transition: none; } }

/* --- telefon: alt çubuk ---------------------------------------------------------------- */
@media (max-width: 1023px) { html { scroll-padding-bottom: calc(var(--tabbar-h) + var(--s3) + env(safe-area-inset-bottom, 0px)); } }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); padding: 6px 8px env(safe-area-inset-bottom, 0px);
  background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
}
.tabbar--4 { grid-template-columns: repeat(4, 1fr); }
.tabbar--3 { grid-template-columns: repeat(3, 1fr); }
.tab {
  display: grid; justify-items: center; gap: 3px; padding: 4px 0; font: 400 .6875rem/1.2 var(--body);
  color: var(--muted); text-decoration: none; border: 0; background: none; cursor: pointer;
}
.tab svg.i { width: 23px; height: 23px; }
.tab { position: relative; }
/* K1: Sohbet sekmesinde okunmamış sayısı; sessizdeyse soluk */
.tab__badge {
  position: absolute; top: 0; left: calc(50% + 6px); display: inline-grid; place-items: center; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 99px; background: var(--nazar); color: var(--nazar-ink); font: 700 .625rem/1 var(--body);
}
.tab__badge--muted { background: var(--surface-2); color: var(--muted); }
.tab[aria-current="page"] { color: var(--brand-text); font-weight: 700; }
.fab {
  justify-self: center; width: 54px; height: 54px; border-radius: var(--r-fab); border: 0; margin-top: -24px;
  background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; box-shadow: var(--shadow-fab);
}
.fab svg.i { width: 26px; height: 26px; stroke-width: 2.2; }
@media (min-width: 1024px) { .tabbar { display: none; } }

/* --- telefon: üst başlık, araç çipleri, çekmece ------------------------------------------ */
@media (max-width: 767px) {
  .tb { gap: 2px; height: calc(54px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 12px 0 4px; background: var(--glass-paper); }
  .tb__logo, .crumbs, .tb__upload { display: none; }
  .tb__back {
    display: inline-flex; align-items: center; min-width: 0; max-width: 230px; height: 40px; padding: 0 6px 0 0;
    color: var(--nazar-text); font: 600 1rem/1 var(--body); text-decoration: none;
  }
  .tb__back svg.i { width: 26px; height: 26px; flex: none; }
  .tb__back span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* üst seviye yoksa (Alanlarım) logo ve konum görünür */
  .tb:not(:has(.tb__back)) .tb__logo { display: block; margin: 0 8px 0 10px; }
  .tb:not(:has(.tb__back)) .crumbs { display: flex; }
  .tsearch { display: none; }
  .ibtn.tb__search { display: inline-flex; width: 44px; height: 44px; }
  .tb__acts { margin-left: auto; gap: 2px; }
  .tb__refresh { width: 44px; height: 44px; }
  .tb__share { width: 40px; padding: 0; justify-content: center; background: none; color: var(--ink); border-color: transparent; }
  .tb__share span { display: none; }
  .acct { height: 40px; padding: 0 4px; gap: 0; }
  .acct__t, .acct > svg.i { display: none; }
  .acct .av { width: 32px; height: 32px; font-size: .75rem; }
  /* arama açıkken tam ekran: kutu üstte ("Vazgeç" ile), sonuçlar altında (Q-41). Üst çubuğun
     backdrop-filter'ı sabit konumlu çocukları kendine hapseder; aramada kapatılır. */
  body.is-searching .tb { -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.is-searching .tsearch {
    display: flex; position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 80; height: 54px;
    min-width: 0; margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: var(--surface);
  }
  body.is-searching .tsearch kbd { display: none; }
  body.is-searching .tsearch__x { display: inline-flex; align-items: center; border: 0; background: none; color: var(--nazar-text); font: 600 .9375rem/1 var(--body); padding: 6px 2px; }
  .spanel {
    position: fixed; top: calc(54px + env(safe-area-inset-top, 0px)); bottom: 0; left: 0; right: 0; transform: none;
    width: auto; max-height: none; border: 0; border-radius: 0; box-shadow: none; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
  .sp__thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .stabs { top: calc(54px + env(safe-area-inset-top, 0px)); height: auto; margin-inline: calc(-1 * var(--s4)); padding: 12px var(--s4) 2px; background: none; border: 0; position: static; }
  .stabs__nav { display: none; }
  .stabs__views { display: flex; flex: none; gap: var(--s2); margin-right: var(--s2); }
  .stabs__views .chip { display: inline-flex; align-items: center; gap: 6px; }
  .stabs__views .chip svg.i { width: 16px; height: 16px; }
  .stabs__r { margin-left: 0; overflow-x: auto; scrollbar-width: none; }
  /* K1: görünüm çipleri ve araç çipleri (Etiketler, sıralama, Seç) tek satırda birlikte kayar;
     ayrı dar kaydırma alanında Etiketler 390 px'te neredeyse görünmüyordu (ADR-0071 K1) */
  .stabs:not(.stabs--chips) { overflow-x: auto; scrollbar-width: none; }
  .stabs:not(.stabs--chips)::-webkit-scrollbar { display: none; }
  .stabs:not(.stabs--chips) .stabs__r { flex: none; overflow-x: visible; }
  .stab--set { height: 32px; padding: 0 12px; margin: 0; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font: 500 .8125rem/1 var(--body); }
  .stab--alerts { height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font: 500 .8125rem/1 var(--body); }
  .stabs--chips { padding-top: 12px; }
  .stabs--chips { display: grid; gap: var(--s2); }
  .stabs--chips .stabs__r { justify-content: flex-start; }

  .pop, .pop--sw {
    top: auto !important; left: 0 !important; right: 0 !important; bottom: 0; width: 100%; max-width: 100%; max-height: 90vh;
    border-radius: 22px 22px 0 0; padding: 6px 10px calc(30px + env(safe-area-inset-bottom, 0px)); animation: sheet-in .22s var(--ease);
  }
  .pop::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 9px; background: var(--line); margin: 4px auto 6px; }
  .veil { background: var(--overlay); }
  .am__link--sub { padding-left: 10px; }
  /* telefonda rol satırı: yalnızca ad ve ayar simgesi */
  .lv--row .lv__role, .lv--row .lv__go span { display: none; }
  .lv--row .lv__go svg.i { width: 22px; height: 22px; }
  .lv--row { padding-block: 0; }
  .lv--row .lv__go { min-width: 44px; min-height: 44px; justify-content: center; padding: 8px; }
  .ccard { width: 156px; }
  .sec { padding: 14px 0 6px; }
  .pagehead__title { font-size: 1.625rem; }
}
@keyframes sheet-in { from { transform: translateY(40px); opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .pop { animation: none; } }

/* --- oturumsuz sayfalar (giriş) ve görüntüleyicinin kendi başlığı ----------------------- */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--s3);
  padding: calc(var(--s3) + env(safe-area-inset-top, 0px)) var(--s4) var(--s3); background: var(--paper);
}
.topbar__title { flex: 1; min-width: 0; font-size: 1.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__actions { display: flex; gap: var(--s2); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.brand img.brand { width: auto; max-width: 160px; object-fit: contain; border-radius: 4px; }
.brand b { font: 700 1.0625rem/1 var(--display); white-space: nowrap; }
.topbar__title .crumb { color: var(--muted); font-weight: 500; }
@media (max-width: 640px) { .topbar__title .crumb { display: none; } }
.navlink {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-size: .9375rem;
}
.navlink:hover { background: var(--surface-2); color: var(--ink); }
.navlink[aria-current="page"] { background: var(--nazar-soft); color: var(--ink); font-weight: 600; }

/* "Misafir gibi önizle" şeridi (P-35): her sayfada üstte, kaydırmada da görünür */
.previewbar {
  position: sticky; top: 0; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3);
  padding: calc(env(safe-area-inset-top, 0px) + 8px) var(--s4) 8px; background: var(--nazar); color: var(--nazar-ink); font-size: .875rem;
}
.previewbar span { flex: 1; min-width: 200px; }
.previewbar .btn { background: var(--on-scrim); color: var(--nazar-text); }

/* Canlı konum şeridi (ADR-0074 K2; liveshare.js): paylaşan cihazda her sayfanın başında; yapışkan
   değil (üst çubukla üst üste binmesin); duraklatılınca uyarı renginde */
.livebar {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3);
  padding: calc(env(safe-area-inset-top, 0px) + 6px) var(--s4) 6px; background: var(--ok-soft); color: var(--ink); font-size: .875rem;
}
.livebar--paused { background: var(--warn-soft); }
.livebar > svg.i { flex: none; width: 18px; height: 18px; color: var(--ok); }
.livebar--paused > svg.i { color: var(--warn); }
.livebar__text { display: flex; flex-wrap: wrap; flex: 1; gap: 0 var(--s2); min-width: 180px; }
.livebar__text span { color: var(--muted); }
.livebar__acts { display: flex; flex: none; gap: var(--s2); margin-left: auto; }

/* Erişim dönemi uyarısı (ADR-0028) */
.access-row { margin: var(--s4) 0; }
.access-notice { display: inline-flex; }
.spacelink__cap .pill { margin-top: 4px; }

/* Alttan açılan çekmece (UX-01): sıralama, yeni alan …  Telefonda alttan, geniş ekranda ortada kart. */
.sheet {
  width: 100%; max-width: 100%; max-height: 85vh; margin: auto 0 0; padding: var(--s3) var(--s4)
    calc(var(--s4) + env(safe-area-inset-bottom, 0px));
  border: 0; border-radius: var(--r-card) var(--r-card) 0 0; background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow); overflow-y: auto;
}
.sheet::backdrop { background: var(--overlay); }
.sheet__head { display: flex; align-items: center; gap: var(--s3); padding-bottom: var(--s2); }
.sheet__head h2 { flex: 1; min-width: 0; font-size: 1.125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet__list { display: grid; gap: 2px; }
.sheet__list .navlink { width: 100%; border: 0; background: none; text-align: left; }
@media (min-width: 640px) {
  .sheet { width: min(420px, 92vw); margin: auto; border-radius: var(--r-card); }
}
/* Fotoğraflara kaydet (docs/design/save-to-photos.md): iPhone / iPad'de indir → paylaşım ekranı */
.savephoto__body { display: grid; gap: var(--s3); padding-top: var(--s2); }
.savephoto__name { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.savephoto__status { margin: 0; color: var(--muted); }
.savephoto__bar { width: 100%; height: 8px; accent-color: var(--brand); }
.savephoto__body .btn { justify-content: center; }
/* çoklu kaydetme: Fotoğraflar'a gitmeyen dosyalar (belge, ses, çok büyük) ayrı satırda */
.savephoto__others { display: grid; gap: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--line); }
.savephoto__others p { margin: 0; }
.vi-savehint { margin: 0; flex-basis: 100%; }

/* Paylaş paneli (UX-38) */
.share__body { display: grid; gap: var(--s4); padding-top: var(--s2); }
.share__qr { margin: 0; display: grid; justify-items: center; gap: var(--s2); text-align: center; }
.share__qr img { width: min(240px, 70vw); height: auto; border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--qr-ground); }
.share__qr figcaption { display: grid; gap: 2px; }
.share__acts { display: grid; gap: var(--s2); }
.share__form { display: grid; gap: var(--s3); }
.share__form .toggle { display: inline-flex; align-items: center; gap: var(--s2); min-height: 36px; font-size: .875rem; font-weight: 400; justify-self: start; }
.share__form .toggle input { width: 18px; height: 18px; accent-color: var(--nazar); }
/* Her zaman "+ Yeni QR" ve "Tüm QR'ları yönet"; formda "QR oluştur" + "Vazgeç" (2026-09-29) */
.share__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
.share__formacts { display: flex; flex-wrap: wrap; gap: var(--s2); }
/* D7: gömme kodları — tek satırlık kod kutusu, kopyala */
.share__codes { display: grid; gap: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
.share__codes h3 { margin: 0; font-size: .9375rem; }
.share__code { font: 400 .75rem/1.5 var(--mono); resize: vertical; }
.share__note { margin: 0; }

/* Yükleme sayfası: sekme çubuğu ve + yok (UX-05); alttaki yapışkan düğmeye yer */
.shell--upload .shell__main { padding-bottom: calc(var(--s6) + env(safe-area-inset-bottom, 0px)); }

/* Dokunmatikte logo da 44 px hedef (WCAG 2.2, visual-language.md) */
@media (pointer: coarse) { .tb__logo { min-width: 44px; } }

/* Sayfa altı (b4): sade, küçük; telefonda tek satır, sığmazsa alt satıra */
.sitefoot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px var(--s3);
  margin-block-start: var(--s8); padding-block: var(--s4) 0; border-top: 1px solid var(--line);
  font-size: .75rem; color: var(--muted);
}
.sitefoot a { display: inline-flex; align-items: center; min-height: 32px; padding-inline: 2px; color: inherit; }
.sitefoot a:hover, .sitefoot a:focus-visible { color: var(--ink); }
/* Tam ünvan telefonda kendi satırında; bağlantılar ve sürüm alttaki satırda birlikte kalır */
@media (max-width: 599px) { .sitefoot__co { flex: 1 1 100%; text-align: center; } }

/* Katman görüntüleyici (ADR-0042 Güncellemeler): ızgaranın üstünde, bağımsız görüntüleyici sayfasının
   düzeniyle (koyu üst çubuk + görüntüleyici). Açıkken arka sayfa kaymaz; kaydırma çubuğunun yeri
   korunur (ızgara genişliği değişmez). Görüntüleyicinin kendi stilleri viewer.css'te. */
html.is-overlay { overflow: hidden; }
html.is-overlay-gutter { scrollbar-gutter: stable; }
.vlayer {
  position: fixed; inset: 0; z-index: 70; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); padding-top: env(safe-area-inset-top, 0px);
}
/* katmanda verilen bildirim ("Çöpe taşındı · Geri al") katmanın üstünde; eskiden arkasında kalıyordu */
html.is-overlay .toast-region { z-index: 80; }
.vlayer__bar {
  display: flex; align-items: center; gap: var(--s3); min-height: 56px; padding: 8px var(--s4);
  border-bottom: 1px solid var(--line); background: var(--surface);
}
.vlayer__title { font: 700 1.125rem/1.2 var(--display); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vlayer__title .crumb { color: var(--muted); font-weight: 500; }
.vlayer .viewer { margin-inline: 0; }
@media (max-width: 1023px) {
  .vlayer { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } /* alt kontrol çubuğu */
}
@media (min-width: 1024px) {
  .vlayer { background: var(--stage); }
  .vlayer__bar { min-height: 64px; padding: 10px var(--s5); background: var(--stage); color: var(--on-scrim); border-bottom: 0; }
  .vlayer__title { font-size: 1.25rem; }
  .vlayer__title .crumb { color: var(--on-scrim); opacity: .7; }
  .vlayer .viewer { grid-template-columns: minmax(0, 1fr) 340px; height: calc(100vh - 64px); border: 0; border-radius: 0; }
  .vlayer .viewer.is-info-hidden { grid-template-columns: minmax(0, 1fr); }
}
body.is-fs .vlayer__bar { display: none; }

/* --- Sayfa ölçümü (feat/perf-meter; yalnızca platform yöneticisi) --------------------------- */
.perfm {
  position: fixed; left: 8px; top: 8px; /* gerçek konum betikten: sürüklenir, çakışmayan köşe */
  z-index: 2147483000; width: min(19rem, calc(100vw - 16px)); max-height: 60vh; overflow: auto;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong, var(--line));
  border-radius: var(--r-btn); box-shadow: var(--shadow); font: 400 .75rem/1.35 var(--body); padding: 6px 8px;
}
.perfm__head { display: flex; align-items: center; gap: 6px; cursor: grab; touch-action: none; user-select: none; }
.perfm.is-dragging .perfm__head { cursor: grabbing; }
.perfm__title { font-weight: 600; border-radius: 4px; }
.perfm__title:focus-visible { outline: 2px solid var(--nazar); outline-offset: 2px; }
.perfm__mini { display: none; color: var(--muted); }
.perfm__btn {
  margin-left: auto; min-width: 24px; min-height: 24px; padding: 0 6px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer;
}
.perfm__btn + .perfm__btn { margin-left: 0; }
.perfm__list { display: grid; gap: 1px; margin: 6px 0 0; }
.perfm__list div { display: flex; justify-content: space-between; gap: 8px; }
.perfm__list dt { color: var(--muted); }
.perfm__list dd { margin: 0; font-variant-numeric: tabular-nums; }
.perfm__sub { margin: 6px 0 2px; color: var(--muted); }
.perfm__big { margin: 0; padding-left: 0; list-style-position: inside; } /* numaralar kutunun iç boşluğunda */
.perfm.is-min { width: auto; }
.perfm.is-min .perfm__body { display: none; }
.perfm.is-min .perfm__mini { display: inline; }

