/* Otobuliv, marka sistemi (landing + sohbet)
   Editoryal / teknik-güvenilir yön: serif başlık, sakin grotesk gövde, mono veri.
   Anti-slop: hairline çerçeve, ölçülü gölge, sıcak kağıt + tek aksan, line-icon. */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* sıcak, ölçülü palet */
  --ink:      #161814;          /* metin (near-black) */
  --ink-soft: #44483f;
  --muted:    #6f736a;
  --paper:    #f2f3f0;          /* sayfa zemini: serin/nötr beyaz (KREM DEĞİL) */
  --paper-2:  #fcfcfa;          /* kart */
  --navy:     #11203b;          /* LACİVERT (koyu blok + buton) */
  --navy-2:   #1b2c49;
  --orange:   #a8842b;          /* aksan: pirinç/altın (TURUNCU DEĞİL) */
  --ochre:    #a8842b;          /* altın */
  --green:    #2f7d44;
  --red:      #b4341f;

  /* çizgiler: gölge değil, ÇİZGİ ile yapı */
  --line:     rgba(23,20,13,.14);
  --line-2:   rgba(23,20,13,.26);
  --line-lt:  rgba(255,255,255,.14);
  --shadow:   0 1px 0 rgba(23,20,13,.05);   /* neredeyse yok; editoryal */

  --r:    12px;
  --r-sm: 8px;

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --mono:    ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--ochre); color: var(--navy); }

/* "Imperfect by Design": ince film greni flat/steril zemini kırar (atmosfer, anti-AI) */
.hero::before, .stats::before, .footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero::before   { opacity: .05;  mix-blend-mode: multiply; }   /* açık kağıt */
.stats::before, .footer::before { opacity: .07; mix-blend-mode: overlay; }  /* koyu navy */

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo .owl { display: block; flex: none; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -.8px; line-height: 1; }
.wordmark .w-oto { color: var(--navy); }
.wordmark .w-buliv { color: var(--orange); }
.logo--light .wordmark .w-oto { color: #efe9dc; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 16px;
  padding: 12px 20px; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer;
  transition: background .14s ease, color .14s ease, border-color .14s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--navy); color: #fbf8f1; }
.btn-dark:hover { background: #0e2a1f; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { font-size: 17px; padding: 15px 28px; }

/* ============================================================
   LANDING
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(242,243,240,.85);
  backdrop-filter: saturate(120%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 10vw, 124px) clamp(18px, 5vw, 64px) clamp(52px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 1080px; margin: 0 auto; position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0 0 14px; margin: 0 0 22px; border-bottom: 1px solid var(--line);
}
.eyebrow .ico { width: 15px; height: 15px; color: var(--orange); }
.hero h1 {
  font-family: var(--display); font-weight: 600; font-optical-sizing: auto;
  font-size: clamp(40px, 7vw, 82px); line-height: 1.02; letter-spacing: -1.5px;
  color: var(--ink); margin: 0 0 22px; max-width: 17ch;
}
.hero h1 .hl { color: var(--orange); font-style: italic; font-weight: 500; }
.hero p.lead {
  font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: var(--ink-soft);
  max-width: 56ch; margin: 0 0 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-note { font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--muted); }
.hero-owl {
  position: absolute; right: clamp(-70px, -3vw, 10px); bottom: -56px;
  width: clamp(220px, 30vw, 400px); opacity: .06; z-index: 1; pointer-events: none; color: var(--navy);
}

/* stats: koyu, kredibilite */
.stats { background: var(--navy); color: #eef1f6; position: relative; padding: clamp(36px, 5vw, 56px) clamp(18px, 5vw, 64px); }
.stats-inner {
  max-width: 1080px; margin: 0 auto; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-lt); border: 1px solid var(--line-lt); border-radius: var(--r); overflow: hidden;
}
.stat { text-align: center; padding: 22px 14px; background: var(--navy); }
.stat .num { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 44px); color: var(--ochre); line-height: 1; letter-spacing: -1.5px; }
.stat .lbl { font-size: 13px; color: #9aa6bd; margin-top: 9px; line-height: 1.35; }

/* bölüm */
.section { padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 64px); }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section h2 {
  font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -1px; line-height: 1.05; margin: 0 0 12px; color: var(--ink);
}
.section .sub { font-size: 18px; color: var(--muted); margin: 0 0 44px; max-width: 54ch; }

/* feature kartları: hairline, gölge yok */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--line); }
.feature {
  background: var(--paper-2); padding: 30px 30px 28px;
  transition: background .15s ease;
  position: relative;
}
.feature:hover { background: #fff; }
.feature .ico {
  width: 38px; height: 38px; display: grid; place-items: center;
  color: var(--orange); margin-bottom: 18px;
}
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-family: var(--display); font-weight: 600; font-size: 21px; margin: 0 0 8px; letter-spacing: -.3px; color: var(--ink); }
.feature p { color: var(--ink-soft); margin: 0 0 16px; line-height: 1.5; font-size: 15.5px; }
.feature .ex {
  display: inline-block; font-family: var(--mono); font-size: 13px; color: var(--muted);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
}
.feature .tag {
  position: absolute; top: 26px; right: 26px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ochre); border: 1px solid var(--line); padding: 3px 8px; border-radius: 5px;
}

/* örnek sorular: ince kart şeridi */
.examples-wrap { border-top: 1px solid var(--line); background: linear-gradient(var(--paper), var(--paper)); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--paper-2); color: var(--navy); font-size: 15px; font-weight: 500;
  padding: 11px 16px; border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .14s ease, background .14s ease;
}
.chip:hover { border-color: var(--ink); background: #fff; }
.chip .q { color: var(--orange); font-family: var(--mono); }

/* footer */
.footer { background: var(--navy); color: #c2cbdc; padding: clamp(40px,6vw,64px) clamp(18px,5vw,64px); position: relative; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; position: relative; z-index: 2; }
.footer .disc { max-width: 52ch; font-size: 13.5px; line-height: 1.6; color: #8e99b0; margin: 14px 0 0; }
.footer a.fcta { font-family: var(--body); font-weight: 600; color: var(--ochre); border-bottom: 1px solid currentColor; padding-bottom: 2px; }

@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SOHBET
   ============================================================ */
.chat-body { background: var(--paper); height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.chat-head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 13px clamp(14px, 4vw, 28px); background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.chat-head .right { display: flex; align-items: center; gap: 10px; }
.chat-head .back { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .3px; }
.chat-head .back:hover { color: var(--ink); }

.chat-scroll { flex: 1; overflow-y: auto; padding: 28px clamp(12px, 4vw, 24px) 8px; }
.thread { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }

.msg { display: flex; gap: 12px; align-items: flex-start; }
.msg .av {
  flex: none; width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
}
.msg.bot .av { background: var(--navy); color: var(--ochre); }
.msg.user { flex-direction: row-reverse; }
.msg.user .av { background: transparent; color: var(--muted); border: 1px solid var(--line-2); }
.bubble {
  border-radius: var(--r); padding: 14px 17px; line-height: 1.6; font-size: 16px;
  max-width: 80%; word-wrap: break-word; overflow-wrap: anywhere;
}
.msg.bot .bubble { background: var(--paper-2); border: 1px solid var(--line); border-top-left-radius: 3px; }
.msg.user .bubble { background: var(--navy); color: #eef1f6; border-top-right-radius: 3px; }
.bubble p { margin: 0 0 10px; }
.bubble p:last-child { margin-bottom: 0; }
.bubble ul, .bubble ol { margin: 6px 0 12px; padding-left: 20px; }
.bubble li { margin: 4px 0; }
.bubble strong { font-weight: 700; }
.bubble code { font-family: var(--mono); background: rgba(23,20,13,.06); padding: 1px 5px; border-radius: 5px; font-size: 13.5px; }
.msg.user .bubble code { background: rgba(255,255,255,.14); }

/* zengin içerik (md.js) */
.bubble h1, .bubble h2, .bubble h3, .bubble h4, .bubble h5, .bubble h6 {
  font-family: var(--display); font-weight: 600; line-height: 1.18; letter-spacing: -.3px; margin: 14px 0 6px;
}
.bubble h1 { font-size: 21px; } .bubble h2 { font-size: 19px; } .bubble h3 { font-size: 17.5px; } .bubble h4 { font-size: 16.5px; }
.bubble h5, .bubble h6 { font-size: 15px; color: var(--muted); }
.bubble > :first-child { margin-top: 0; }
.bubble hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.bubble a { color: var(--orange); font-weight: 600; border-bottom: 1px solid currentColor; }
.bubble del { opacity: .55; }
.bubble blockquote {
  margin: 10px 0; padding: 8px 14px; border-left: 2px solid var(--ochre);
  background: rgba(199,154,58,.08); color: var(--ink-soft);
}
.bubble blockquote p:last-child { margin-bottom: 0; }
.bubble pre { font-family: var(--mono); background: var(--navy); color: #e8edf6; padding: 12px 14px; border-radius: var(--r-sm); overflow-x: auto; margin: 10px 0; }
.bubble pre code { background: transparent; color: inherit; padding: 0; font-size: 13px; }
.bubble .table-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: var(--r-sm); }
.bubble table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.bubble th, .bubble td { padding: 9px 13px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; vertical-align: top; }
.bubble th:last-child, .bubble td:last-child { border-right: 0; }
.bubble tbody tr:last-child td { border-bottom: 0; }
.bubble thead th { background: rgba(23,20,13,.04); font-family: var(--mono); font-weight: 500; font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--ink-soft); white-space: nowrap; }

/* veri kaynakları */
.tools { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.tools summary {
  cursor: pointer; list-style: none; font-family: var(--mono); font-size: 12px; letter-spacing: .3px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.tools summary::-webkit-details-marker { display: none; }
.tools summary:hover { color: var(--navy); }
.tools .src-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.src-pill {
  font-family: var(--mono); font-size: 12px; color: var(--ink-soft);
  border: 1px solid var(--line); padding: 4px 9px; border-radius: 5px;
}
.src-pill .s { color: var(--muted); margin-left: 5px; }

/* düşünme göstergesi */
.thinking { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: bounce 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,80%,100%{ transform: translateY(0); opacity:.4 } 40%{ transform: translateY(-5px); opacity:1 } }
/* baykuş düşünme animasyonu: hafif sallanır, gözleri kırpar + bakınır */
.think-owl { flex: none; transform-origin: 50% 62%; animation: owl-bob 2.4s ease-in-out infinite; }
.think-owl .eyes { transform-origin: 26px 24px; animation: owl-blink 3.4s ease-in-out infinite; }
.think-owl .pupil { animation: owl-glance 3.4s ease-in-out infinite; }
@keyframes owl-bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-2.5px) } }
@keyframes owl-blink { 0%,90%,100% { transform: scaleY(1) } 95% { transform: scaleY(.1) } }
@keyframes owl-glance { 0%,26% { transform: translateX(0) } 44%,62% { transform: translateX(1.8px) } 80%,100% { transform: translateX(-1.4px) } }
.err { color: var(--red); font-weight: 600; }

/* yanlış bilgi bildir */
.report-row { margin-top: 10px; }
.report { font-family: var(--body); font-size: 12px; color: var(--muted); border-bottom: 1px dotted var(--line-2); cursor: pointer; }
.report:hover { color: var(--orange); border-bottom-color: var(--orange); }
.report-ok { font-size: 12px; color: var(--green); }

/* boş sohbet başlangıç chip'leri */
.starter { max-width: 740px; margin: 8px auto 0; }
.starter .chips { gap: 9px; }
.starter .chip { font-size: 14px; padding: 10px 14px; }

/* composer */
.composer-wrap { flex: none; padding: 12px clamp(12px, 4vw, 24px) 18px; background: linear-gradient(to top, var(--paper) 72%, transparent); }
.composer {
  max-width: 740px; margin: 0 auto; display: flex; gap: 10px; align-items: flex-end;
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 8px 8px 8px 16px;
}
.composer:focus-within { border-color: var(--ink); }
.composer textarea {
  flex: 1; border: 0; outline: 0; resize: none; font-family: var(--body); font-size: 16px; line-height: 1.5;
  padding: 9px 0; max-height: 160px; background: transparent; color: var(--ink);
}
.composer .send {
  flex: none; width: 42px; height: 42px; border-radius: var(--r-sm); border: 0; cursor: pointer;
  background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 19px;
  transition: filter .12s ease, transform .1s ease;
}
.composer .send:hover { filter: brightness(1.05); }
.composer .send:disabled { background: var(--line-2); cursor: not-allowed; }
.composer .send:active { transform: scale(.94); }
.composer-hint { max-width: 740px; margin: 9px auto 0; text-align: center; font-family: var(--body); font-size: 12px; color: var(--muted); }

/* ============================================================
   LANDING v2: asimetrik hero + numarali feature satirlari
   ============================================================ */
.hero h1 { font-weight: 700; }
.hero h1 .hl { font-style: normal; font-weight: 700; }   /* Bricolage'da gercek italik yok */

.hero-grid {
  max-width: 1120px; margin: 0 auto; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.hero-grid .hero-inner { max-width: none; }

/* urunu gosteren ornek alisveris karti (statik, hafif egim = insan eli) */
.hero-demo {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 2px 0 rgba(23,20,13,.05); transform: rotate(-.5deg);
}
.demo-q {
  align-self: flex-end; max-width: 85%;
  background: var(--navy); color: #eef1f6; font-size: 14.5px; font-weight: 500;
  padding: 9px 14px; border-radius: 12px 12px 3px 12px;
}
.demo-a { background: var(--paper); border: 1px solid var(--line); border-radius: 12px 12px 12px 3px; padding: 14px 15px; font-size: 14.5px; line-height: 1.5; }
.demo-by { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 8px; }
.demo-a p { margin: 0 0 8px; color: var(--ink); }
.demo-a ul { margin: 0 0 10px; padding-left: 18px; color: var(--ink-soft); }
.demo-a li { margin: 3px 0; }
.demo-src { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-src span { font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 5px; }

/* numarali editoryal feature satirlari (kart-grid degil) */
.sec-head { margin-bottom: 34px; }
.flist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.frow {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 4vw, 48px); align-items: baseline;
  padding: 26px 4px; border-bottom: 1px solid var(--line); transition: background .14s ease;
}
.frow:hover { background: rgba(23,20,13,.02); }
.fnum { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ochre); letter-spacing: -.5px; }
.fbody h3 { font-family: var(--display); font-weight: 600; font-size: 21px; margin: 0 0 6px; letter-spacing: -.3px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.fbody p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; max-width: 52ch; }
.fex { font-size: 14px; color: var(--muted); white-space: nowrap; align-self: center; }
.fbody h3 .tag {
  position: static; font-family: var(--body); font-size: 10.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ochre); background: transparent; border: 1px solid var(--line); padding: 2px 7px; border-radius: 5px;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-demo { transform: none; }
}
@media (max-width: 600px) {
  .frow { grid-template-columns: auto 1fr; }
  .fex { display: none; }
}

/* ============================================================
   AUTH (giris / kayit): tek ekran, sade kart
   ============================================================ */
.auth-body {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--paper);
}
.auth-main {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: clamp(28px, 6vw, 64px) clamp(16px, 5vw, 40px);
}
.auth-card {
  width: 100%; max-width: 412px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(26px, 4vw, 38px);
}
.auth-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 24px; }
.auth-head .logo { margin-bottom: 18px; }
.auth-head h1 {
  font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: -.6px;
  color: var(--ink); margin: 0 0 6px;
}
.auth-head p { font-size: 14.5px; color: var(--muted); margin: 0; max-width: 34ch; }

/* sekmeler: giris / kayit */
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: rgba(23,20,13,.05); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 4px; margin-bottom: 22px;
}
.auth-tab {
  font-family: var(--body); font-weight: 600; font-size: 14.5px; color: var(--muted);
  text-align: center; padding: 9px 0; border-radius: 6px; cursor: pointer;
  border: 0; background: transparent; transition: background .14s ease, color .14s ease;
}
.auth-tab:hover { color: var(--ink); }
.auth-tab.active { background: var(--paper-2); color: var(--navy); box-shadow: var(--shadow); }

/* form alanlari */
.auth-form { display: none; flex-direction: column; gap: 15px; }
.auth-form.active { display: flex; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--body); font-weight: 600; font-size: 13px; color: var(--ink-soft);
  letter-spacing: .2px;
}
.field input {
  font-family: var(--body); font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 12px 14px; outline: 0;
  transition: border-color .14s ease;
}
.field input::placeholder { color: var(--muted); }
.field input:focus { border-color: var(--navy); }
.field .hint { font-family: var(--body); font-size: 12px; color: var(--muted); }
.field input.ref-code { font-family: var(--mono); letter-spacing: 1px; text-transform: uppercase; }

.auth-form .btn-dark { width: 100%; justify-content: center; margin-top: 4px; }
.auth-form .btn-dark:disabled { opacity: .6; cursor: not-allowed; }

/* uyari / hata satiri */
.auth-msg {
  display: none; font-family: var(--body); font-size: 13.5px; line-height: 1.45;
  padding: 10px 13px; border-radius: var(--r-sm); margin-bottom: 4px;
}
.auth-msg.show { display: block; }
.auth-msg.err { color: var(--red); background: rgba(180,52,31,.08); border: 1px solid rgba(180,52,31,.22); }
.auth-msg.ok  { color: var(--green); background: rgba(47,125,68,.08); border: 1px solid rgba(47,125,68,.22); }

.auth-foot {
  text-align: center; font-family: var(--body); font-size: 12.5px; color: var(--muted);
  padding: 0 0 clamp(20px, 4vw, 32px); line-height: 1.5; max-width: 40ch; margin: 0 auto;
}
.auth-foot a { color: var(--orange); font-weight: 600; border-bottom: 1px solid currentColor; }

/* ============================================================
   SOHBET: kota gostergesi + cikis
   ============================================================ */
.chat-head .quota {
  display: inline-flex; align-items: baseline; gap: 5px;
  font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .2px;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px;
  white-space: nowrap;
}
.chat-head .quota .n { color: var(--navy); font-weight: 700; }
.chat-head .quota.low .n { color: var(--orange); }
.chat-head .quota.empty { border-color: rgba(180,52,31,.3); }
.chat-head .quota.empty .n { color: var(--red); }
.chat-head .quota .lbl { font-size: 11px; }
.chat-head .logout {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .3px;
  cursor: pointer;
}
.chat-head .logout:hover { color: var(--red); }

/* kota dolu uyari balonu (composer ustunde) */
.quota-block {
  display: none; max-width: 740px; margin: 0 auto 10px;
  font-family: var(--body); font-size: 14px; line-height: 1.5; color: var(--ink-soft);
  background: rgba(168,132,43,.08); border: 1px solid rgba(168,132,43,.28); border-radius: var(--r-sm);
  padding: 12px 15px;
}
.quota-block.show { display: block; }
.quota-block strong { color: var(--navy); }
