/* Temel sıfırlama (önizleme ortamındaki iskeletin karşılığı) */
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
[hidden] { display: none !important; }
img { max-width: 100%; }
/* Düzen: önce dil seçimi ekranı (İngilizce başlık + bayraklar), sonra sohbet. Telefonda tam ekran, geniş ekranda 440px sütun. */
:root {
  --bg: #EBEEF1;
  --surface: #FFFFFF;
  --ink: #161D25;
  --muted: #5B6672;
  --line: #D9DFE5;
  --brand: #3A4D62;
  --brand-soft: #E7ECF1;
  --hero: #26303C;
  --on-hero: #FFFFFF;
  --hero-muted: #BAC5D1;
  --gold: #C9A04A;
  --logo-bg: #000000;
  --bot: #F2F4F7;
  --me: #3A4D62;
  --on-me: #FFFFFF;
  --wa: #0F8A5C;
  --on-wa: #FFFFFF;
  --gift: #8E6A1E;
  --gift-bg: #FAF4E6;
  --gift-line: #E6D3A3;
  --skin: #E8C9AE;
  --hair: #3B2A20;
  --danger: #B3261E;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Figtree", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1217; --surface: #151B22; --ink: #E7EBF0; --muted: #98A3AF; --line: #27313C;
    --brand: #A3B8CE; --brand-soft: #1D2630; --hero: #1B222B; --on-hero: #F3F5F8; --hero-muted: #A9B5C2;
    --gold: #D9B45F; --logo-bg: #000000; --bot: #1C242D; --me: #3A4D62; --on-me: #FFFFFF;
    --wa: #23A971; --on-wa: #06140E; --gift: #D9B45F; --gift-bg: #241E12; --gift-line: #4A3B1C;
    --skin: #B99A82; --hair: #2A1E17; --danger: #F2B8B5; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1217; --surface: #151B22; --ink: #E7EBF0; --muted: #98A3AF; --line: #27313C;
  --brand: #A3B8CE; --brand-soft: #1D2630; --hero: #1B222B; --on-hero: #F3F5F8; --hero-muted: #A9B5C2;
  --gold: #D9B45F; --logo-bg: #000000; --bot: #1C242D; --me: #3A4D62; --on-me: #FFFFFF;
  --wa: #23A971; --on-wa: #06140E; --gift: #D9B45F; --gift-bg: #241E12; --gift-line: #4A3B1C;
  --skin: #B99A82; --hair: #2A1E17; --danger: #F2B8B5; color-scheme: dark;
}
html, body { height: 100%; }
body {
  background: var(--bg); color: var(--ink); font: 15px/1.45 var(--body);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0; box-sizing: border-box;
}
*, *::before, *::after { box-sizing: border-box; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.app {
  height: 100%; max-width: 440px; margin: 0 auto; display: flex; flex-direction: column;
  background: var(--surface); border-inline: 1px solid var(--line); overflow: hidden;
}
@media (min-width: 520px) { body { padding-block: 16px; } .app { border: 1px solid var(--line); border-radius: 22px; } }

/* Bayraklar */
.flag { display: inline-block; width: 30px; height: 20px; border-radius: 4px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px var(--line); }
.flag svg { width: 100%; height: 100%; display: block; }

/* ---------- Dil seçimi ekranı ---------- */
.start { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.start > * { flex: none; }
.cover { position: relative; background: var(--hero); }
.cover img { display: block; width: 100%; height: auto; max-width: 100%; }
.cover::after { content: ""; position: absolute; inset: auto 0 0; height: 56px; background: linear-gradient(to bottom, transparent, var(--hero)); pointer-events: none; }
.hero { background: var(--hero); color: var(--on-hero); padding: 4px 20px 22px; display: grid; gap: 12px; position: relative; overflow: hidden; }
.hero h1 { margin: 0; font: 700 38px/1.02 var(--display); text-wrap: balance; position: relative; letter-spacing: .005em; }
.hero h1 .five { color: var(--gold); }
.hero h1 .q { display: block; font-size: 24px; line-height: 1.2; margin-top: 8px; font-weight: 600; color: var(--hero-muted); }
.qmark { position: absolute; inset-inline-end: 4px; top: -30px; font: 700 180px/1 var(--display); color: var(--gold); opacity: .14; pointer-events: none; user-select: none; }
.hero .perks { display: flex; flex-wrap: wrap; gap: 6px; }
.hero .perk { background: transparent; color: var(--gold); border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.langs { padding: 16px 16px 18px; display: grid; gap: 10px; }
.langs h2 { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lang-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lang-btn b { overflow-wrap: anywhere; }
.lang-btn { display: flex; flex-direction: column; align-items: center; gap: 7px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 14px; padding: 12px 6px 10px; cursor: pointer; min-height: 72px; }
.lang-btn:hover { border-color: var(--gold); background: var(--gift-bg); }
.lang-btn .flag { width: 36px; height: 24px; }
.lang-btn b { display: block; font-weight: 700; font-size: 14px; }

/* ---------- Sohbet ---------- */
.top { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--logo-bg); color: #FFFFFF; display: grid; place-content: center; justify-items: center; flex: none; font: 800 13px/1 var(--body); letter-spacing: .04em; box-shadow: 0 0 0 1.5px var(--gold); }
.avatar small { font-size: 5.5px; letter-spacing: .12em; color: var(--gold); margin-top: 2px; font-weight: 700; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.who { min-width: 0; flex: 1; }
.who b { display: block; font-weight: 700; font-size: 15px; }
.who span { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); flex: none; }
.wa-pill { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 8px 12px; background: var(--wa); color: var(--on-wa); font-weight: 600; font-size: 13px; cursor: pointer; flex: none; }
.icon-btn { border: 1px solid var(--line); background: transparent; border-radius: 999px; height: 34px; min-width: 34px; padding: 0 6px; cursor: pointer; color: var(--muted); flex: none; display: inline-grid; place-items: center; }
.icon-btn .flag { width: 24px; height: 16px; }

.chat { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.log { flex: 1; overflow-y: auto; padding: 14px 12px 8px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.intro { padding: 6px 4px 12px; display: grid; gap: 6px; }
.intro h1 { font: 700 29px/1.1 var(--display); margin: 0; text-wrap: balance; }
.intro h1 em { font-style: normal; color: var(--brand); }
.intro p { margin: 0; color: var(--muted); font-size: 14px; }
.perks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.perk { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--gift-bg); color: var(--gift); border: 1px solid var(--gift-line); }

.msg { max-width: 86%; padding: 9px 12px; border-radius: 16px; animation: in .25s ease-out; overflow-wrap: anywhere; }
.msg p { margin: 0; }
.msg p + p { margin-top: 6px; }
.bot { align-self: flex-start; background: var(--bot); border-end-start-radius: 5px; }
.me { align-self: flex-end; background: var(--me); color: var(--on-me); border-end-end-radius: 5px; }
.wide { max-width: 100%; width: 100%; }
@keyframes in { from { transform: translateY(6px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .msg, .sheet { animation: none; } .log { scroll-behavior: auto; } }

.typing { align-self: flex-start; background: var(--bot); border-radius: 16px; padding: 12px 14px; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.chips { display: flex; flex-wrap: wrap; gap: 6px; padding-inline-start: 2px; }
.chip { border: 1.5px solid var(--brand); color: var(--brand); background: var(--surface); border-radius: 999px; padding: 7px 13px; font-weight: 600; font-size: 14px; cursor: pointer; }
.chip:hover { background: var(--brand-soft); }
.chip.pic { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; border-radius: 14px; padding: 6px 10px 7px; }
.chip.pic svg { width: 56px; height: 56px; }

.facts { display: grid; margin: 8px 0 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: end; }
.small { font-size: 12px; color: var(--muted); }

.offer { background: var(--gift-bg); border: 1px solid var(--gift-line); border-radius: 16px; padding: 14px; display: grid; gap: 10px; }
.offer .tag { justify-self: start; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gift); }
.offer h2 { margin: 0; font: 700 22px/1.2 var(--display); text-wrap: balance; }
.offer p { margin: 0; color: var(--muted); font-size: 14px; }
.opt { display: grid; gap: 8px; }
.opt button { display: flex; align-items: center; gap: 10px; text-align: start; border: 1px solid var(--gift-line); background: var(--surface); border-radius: 12px; padding: 11px 12px; cursor: pointer; font-weight: 600; }
.opt button small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.opt button:hover { border-color: var(--gift); }
.opt .ico { width: 32px; height: 32px; border-radius: 9px; background: var(--gift-bg); display: grid; place-items: center; flex: none; font-size: 17px; }
.link-btn { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; justify-self: start; padding: 2px 0; font-size: 13.5px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.tile { position: relative; aspect-ratio: 3 / 4; max-width: 100%; border-radius: 10px; overflow: hidden; background: var(--brand-soft); }
.tile svg, .tile img { width: 100%; height: 100%; display: block; object-fit: cover; }
.tile .lbl { position: absolute; inset-inline-start: 6px; bottom: 6px; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--surface); color: var(--ink); }
.tile.locked svg, .tile.locked img { filter: blur(7px); transform: scale(1.15); }
.tile.locked .lock { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 6px; font-size: 12px; font-weight: 700; color: var(--ink); background: color-mix(in srgb, var(--surface) 45%, transparent); }

.deliver { display: grid; gap: 8px; }
.btn { border: 0; border-radius: 14px; padding: 13px 14px; font-weight: 700; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; text-align: center; }
.btn.wa { background: var(--wa); color: var(--on-wa); text-decoration: none; }
.btn.ghost { background: var(--surface); color: var(--brand); border: 1.5px solid var(--brand); }

form.lead { display: grid; gap: 10px; }
.row { display: flex; gap: 6px; }
.field { display: grid; gap: 4px; min-width: 0; flex: 1; }
.field label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 10px; min-height: 44px; }
.field textarea { resize: vertical; font: inherit; }
.field.cc { flex: 0 0 112px; }
#tel { direction: ltr; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.consent input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.consent a, .intro a { color: var(--brand); }
.link-btn[data-k="wa"] { justify-self: center; }
.err { color: var(--danger); font-size: 12.5px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.composer { border-top: 1px solid var(--line); padding: 8px 10px; background: var(--surface); }
.composer form { display: flex; gap: 8px; }
.composer input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; background: var(--bot); min-height: 44px; }
.send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: var(--surface); cursor: pointer; flex: none; font-size: 18px; }
[dir="rtl"] .send { transform: scaleX(-1); }

.sheet-bg { position: fixed; inset: 0; background: rgb(0 0 0 / .45); display: grid; align-items: end; justify-items: center; z-index: 20; padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.sheet { width: min(440px, 100%); background: var(--surface); border-radius: 20px 20px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 12px; animation: up .2s ease-out; direction: ltr; }
@keyframes up { from { transform: translateY(30px); } to { transform: none; } }
.sheet h3 { margin: 0; font: 700 21px var(--display); }
.wa-preview { background: var(--bot); border-radius: 12px; padding: 12px; font-size: 14px; white-space: pre-wrap; unicode-bidi: plaintext; }
.sheet .note { font-size: 12.5px; color: var(--muted); margin: 0; }
.sheet .note span { word-break: break-all; }
.sheet .row { gap: 8px; }
.sheet .row .btn { flex: 1; }

/* Saç ekimi simülasyonu: fotoğraf yükleme kartı */
.opt button.opt-sim { border-color: var(--gift); }
.sim-kart { display: grid; gap: 10px; }
.sim-slotlar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sim-slot { display: grid; justify-items: center; align-content: start; gap: 3px; text-align: center; cursor: pointer;
  border: 1.5px dashed var(--brand); border-radius: 14px; padding: 10px 8px; background: var(--surface); }
.sim-slot.dolu { border-style: solid; border-color: var(--wa); }
.sim-slot b { font-size: 14px; }
.sim-slot small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.sim-on { width: 100%; max-width: 100%; aspect-ratio: 3 / 4; border-radius: 10px; background: var(--brand-soft); display: grid; place-items: center;
  font-size: 34px; overflow: hidden; }
.sim-on img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sim-sec { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--brand); }
.sim-kart.kilitli { opacity: .75; }
.sim-kart.kilitli .sim-slot { cursor: default; }
.sim-slotlar.tek { grid-template-columns: minmax(0, 220px); justify-content: center; }

/* Açılış animasyonu: logo dönerek gelir, altın halka döner, sonra sayfa açılır (en az ~1 sn, en fazla 2,5 sn) */
.acilis { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: var(--hero);
  transition: opacity .45s ease, visibility .45s ease; }
.acilis.bitti { opacity: 0; visibility: hidden; pointer-events: none; }
.acilis-logo { position: relative; width: 150px; height: 150px; border-radius: 50%; background: #000; color: #fff;
  display: grid; place-content: center; justify-items: center; animation: logo-gel 1s cubic-bezier(.2, .8, .2, 1) both; }
.acilis-logo b { font: 800 30px/1 var(--body); letter-spacing: .05em; }
.acilis-logo small { font: 700 10px/1 var(--body); letter-spacing: .3em; color: var(--gold); margin-top: 5px; padding-left: .3em; }
.acilis-halka { position: absolute; inset: -9px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--gold) 25%, transparent);
  border-top-color: var(--gold); animation: halka-don .9s linear infinite; }
@keyframes logo-gel { 0% { transform: perspective(400px) rotateY(-180deg) scale(.6); opacity: 0; }
  100% { transform: perspective(400px) rotateY(0) scale(1); opacity: 1; } }
@keyframes halka-don { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .acilis-logo, .acilis-halka { animation: none; } .acilis { transition-duration: .15s; } }
.acilis-logo img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.avatar { overflow: visible; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.sim-slotlar.dort { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Teklif kartı sohbet ilerlese de tıklanabilir; son seçilen seçenek vurgulu */
.offer .opt button.secili { border-color: var(--gift); box-shadow: inset 0 0 0 1px var(--gift); }
.offer .link-btn.secili { color: var(--gift); }
/* Ülke kodu seçicisi (bayraklı) */
.ulke { position: relative; z-index: 30; }
.ulke-btn { width: 100%; min-height: 44px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); border-radius: 10px; font: inherit; cursor: pointer; }
.ulke-btn .flag { width: 24px; height: 16px; }
.ulke-btn b { font-weight: 600; }
.ulke-btn .ok { margin-left: auto; color: var(--muted); font-size: 12px; }
.ulke-liste { position: absolute; z-index: 50; top: calc(100% + 4px); left: 0; width: 250px; max-height: min(340px, 60vh); overflow-y: auto;
  margin: 0; padding: 4px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22); outline: none; }
.ulke-liste li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; }
.ulke-liste li .flag { width: 24px; height: 16px; }
.ulke-liste li .ad { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ulke-liste li b { color: var(--muted); font-weight: 600; }
.ulke-liste li:hover, .ulke-liste li.aktif { background: var(--line); }
.ulke-liste li[aria-selected="true"] b { color: var(--ink); }

/* ---------- Dil ekranı: çapraz kolaj ortadan açılır, arada dil seçimi ---------- */
#start:not(.karsilama) { position: relative; overflow: hidden; background: #0b1018; color: var(--on-hero); }
.kolaj { position: absolute; inset: 0; }
.kolaj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
/* Kesim çizgisi orta satırın ortasından çapraz geçer (soldan sağa yükselir) */
.kolaj-ust { clip-path: polygon(0 0, 100% 0, 100% 48%, 0 53%); }
.kolaj-alt { clip-path: polygon(0 53%, 100% 48%, 100% 100%, 0 100%); }
.dil-panel { position: absolute; left: 14px; right: 14px; top: 50%; transform: translateY(-50%); display: grid; gap: 12px;
  padding: 16px 14px 12px; border-radius: 18px; background: color-mix(in srgb, #0b1018 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.dil-panel h2 { margin: 0; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.dil-panel .lang-btn { color: var(--ink); }
/* Sıra: kolaj tek görsel olarak gelir (0–0,8 sn) → 1,1 sn'de ortadan açılır → 1,6 sn'de dil seçimi belirir */
#start.oynat .kolaj img.kolaj-ust { animation: kolaj-gel .8s ease both, kolaj-ust-ac .9s 1.1s cubic-bezier(.65, 0, .35, 1) both; }
#start.oynat .kolaj img.kolaj-alt { animation: kolaj-gel .8s ease both, kolaj-alt-ac .9s 1.1s cubic-bezier(.65, 0, .35, 1) both; }
#start.oynat .dil-panel { animation: panel-gel .6s 1.6s cubic-bezier(.2, .8, .2, 1) both; }
#start:not(.oynat) .kolaj img.kolaj-ust { transform: translateY(-17%); }
#start:not(.oynat) .kolaj img.kolaj-alt { transform: translateY(17%); }
@keyframes kolaj-gel { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1; } }
@keyframes kolaj-ust-ac { from { transform: none; } to { transform: translateY(-17%); } }
@keyframes kolaj-alt-ac { from { transform: none; } to { transform: translateY(17%); } }
@keyframes panel-gel { from { opacity: 0; transform: translateY(-50%) scale(.92); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  #start.oynat .kolaj img, #start.oynat .dil-panel { animation: none !important; }
  #start .kolaj img.kolaj-ust { transform: translateY(-17%); } #start .kolaj img.kolaj-alt { transform: translateY(17%); }
}

/* ---------- Ana sayfa: kapak + seçilen dilde yazılar ---------- */
.karsilama { background: var(--hero); cursor: pointer; }
.hero h1 em { font-style: normal; color: var(--gold); }
.karsilama.giris .cover img { animation: kapak-gel 1.2s ease both; }
.karsilama.giris .hero h1 > span:first-child { display: block; animation: yazi-gel .7s .25s cubic-bezier(.2, .8, .2, 1) both; }
.karsilama.giris .hero h1 .q { animation: yazi-gel .7s .55s cubic-bezier(.2, .8, .2, 1) both; }
.karsilama.giris .hero .perks { animation: yazi-gel .7s .85s cubic-bezier(.2, .8, .2, 1) both; }
.karsilama.giris .qmark { animation: soru-gel 1.4s .2s ease both; }
@keyframes kapak-gel { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes yazi-gel { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes soru-gel { from { transform: rotate(-12deg) scale(.8); opacity: 0; } to { transform: none; opacity: .14; } }

/* Sohbet alttan kayarak açılır (ana sayfanın üstüne) */
.app { position: relative; }
.chat.acilir { position: absolute; inset: 0; z-index: 5; background: var(--surface); animation: sohbet-gel .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes sohbet-gel { from { transform: translateY(100%); border-radius: 22px 22px 0 0; } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .karsilama.giris *, .chat.acilir { animation: none !important; }
}
