/* ==========================================================================
   web-yeni · kullanıcı arayüzü
   Mobil öncelikli, "native uygulama" hissi: sistem yazı tipi, yaylı hareketler,
   belge-arası View Transitions ile sayfa geçişleri.
   Marka rengi --acc ile uygulama başına değişir (html[data-brand]).
   Tasarım önizlemesi: sb/web-yeni-tasarim (onaylandı 2026-11-14).
   ========================================================================== */

:root {
    --acc: #e6194b; --acc2: #ff4d6d; --acc-ink: #fff;
    --acc-soft: color-mix(in srgb, var(--acc) 12%, transparent);
    --like: #12c48b; --nope: #8a8598; --danger: #e5484d; --super: #3b9bff; --gold: #f5a623; --violet: #d6336c;

    --bg: #f5f4f8; --surface: #ffffff; --surface-2: #f0eef5; --line: #e9e6f0;
    --text: #16121f; --text-2: #4b465a; --muted: #6f6a80;
    --shadow-1: 0 1px 2px rgba(22,18,31,.05), 0 2px 8px rgba(22,18,31,.05);
    --shadow-2: 0 8px 28px rgba(22,18,31,.12);
    --shadow-3: 0 24px 60px rgba(22,18,31,.24);
    --scrim: rgba(12,9,18,.5);

    --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --r-pill: 999px;
    --bar-h: 56px; --tab-h: 64px;
    --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
    --ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.34,1.4,.64,1);
    --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', sans-serif;
    --display: 'Plus Jakarta Sans', var(--font);
    --dir: 1;
    color-scheme: light;
}
html[dir="rtl"] { --dir: -1; }
html[data-theme="dark"] {
    --bg: #0d0a13; --surface: #17131f; --surface-2: #211c2b; --line: #2a2436;
    --text: #f5f3f9; --text-2: #cfcadb; --muted: #a29cb4;
    --shadow-1: 0 1px 2px rgba(0,0,0,.4); --shadow-2: 0 8px 28px rgba(0,0,0,.5); --shadow-3: 0 24px 60px rgba(0,0,0,.6);
    --scrim: rgba(0,0,0,.62);
    color-scheme: dark;
}
/* Renkler uygulama simgelerinden: Sevgili Bul koyu gül, ABD uygulamaları canlı pembe */
html[data-brand="usa"], html[data-brand="california"], html[data-brand="texas"] { --acc: #ff2d75; --acc2: #ff6b9d; }
/* Uygulama WebView'in altına banner koyduğunda alt güvenli alan payını o üstlenir */
html.native-banner { --safe-b: 0px; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { height: 100%; background: #08060c; }
body { margin: 0; min-height: 100%; font: 15px/1.45 var(--font); color: var(--text); background: var(--bg);
    -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; -webkit-user-select: none; user-select: none; }
input, textarea, [contenteditable], .selectable { -webkit-user-select: text; user-select: text; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
img { display: block; max-width: 100%; }
input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 8px; }
.ms { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1;
    display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24; user-select: none; overflow: hidden; flex-shrink: 0; }
.ms.fill { font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
[dir="rtl"] .ms.flip { transform: scaleX(-1); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Kabuk ─────────────────────────────────────────────────────────── */
.app { position: relative; max-width: 480px; min-height: 100dvh; margin: 0 auto; background: var(--bg); overflow-x: clip;
    display: flex; flex-direction: column; }
@media (min-width: 520px) { .app { box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 30px 80px rgba(0,0,0,.5); } }
.fixed-w { position: fixed; left: 50%; transform: translateX(-50%); width: min(100%, 480px); }

.bar { position: sticky; top: 0; z-index: 30; height: calc(var(--bar-h) + var(--safe-t)); padding: var(--safe-t) 8px 0 16px;
    display: flex; align-items: center; gap: 4px; background: color-mix(in srgb, var(--bg) 86%, transparent); flex-shrink: 0;
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
[dir="rtl"] .bar { padding: var(--safe-t) 16px 0 8px; }
.bar.solid { background: var(--bg); }
.bar.line { border-bottom: 1px solid var(--line); }
.bar.over { position: absolute; left: 0; right: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.bar h1 { font-size: 24px; font-weight: 800; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar.sub { padding-inline-start: 4px; }
.bar.sub h1 { font-size: 18px; font-weight: 700; }
.bar .logo { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; font: 800 20px var(--display); letter-spacing: -.02em; color: var(--acc); }
/* Logo dosyası (beyaz PNG, simgeyi de içerir) maske ile marka rengine boyanır */
.logo b.word { display: block; height: 34px; width: 200px; max-width: 100%; background: linear-gradient(120deg, var(--acc), var(--acc2));
    -webkit-mask: var(--logo-word) left center / contain no-repeat; mask: var(--logo-word) left center / contain no-repeat; }
[dir="rtl"] .logo b.word { -webkit-mask-position: right center; mask-position: right center; }
html[data-brand] .logo b.word { height: 48px; width: 210px; }
.logo .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; flex-shrink: 0; position: relative;
    transition: background .15s, transform .15s var(--ease); }
.ib:active { transform: scale(.9); background: var(--surface-2); }
.bar.over .ib { background: rgba(0,0,0,.32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); width: 40px; height: 40px; margin: 0 4px; }
.ib .pip { position: absolute; top: 8px; inset-inline-end: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 2px var(--bg); }

.page { flex: 1; padding: 4px 16px calc(var(--tab-h) + var(--safe-b) + 24px); }
body[data-kind="push"] .page, body[data-kind="root"] .page { padding-bottom: calc(var(--safe-b) + 28px); }
.page.flush { padding-left: 0; padding-right: 0; }

/* ── Alt sekme çubuğu ─────────────────────────────────────────────── */
.tabbar { bottom: 0; z-index: 40; height: calc(var(--tab-h) + var(--safe-b)); padding: 0 6px var(--safe-b);
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
    background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--line); }
.tab { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted);
    font-size: 10.5px; font-weight: 600; position: relative; transition: color .2s; min-width: 0; }
.tab > span:last-child { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.tab .ms { font-size: 25px; transition: transform .25s var(--spring); }
.tab.on { color: var(--acc); }
.tab.on .ms { font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24; transform: translateY(-1px) scale(1.06); }
.tab:active .ms { transform: scale(.86); }
.tab .badge { position: absolute; top: 9px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px;
    background: var(--acc); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface); font-style: normal; }
.tab.main span.orb { width: 50px; height: 50px; border-radius: 18px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--acc), var(--acc2)); box-shadow: 0 8px 20px color-mix(in srgb, var(--acc) 42%, transparent);
    transform: translateY(-9px); transition: transform .25s var(--spring); }
.tab.main span.orb .ms { font-size: 27px; font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24; transform: none; }
.tab.main span.orb img { width: 30px; height: 30px; object-fit: contain; }
.tab.main:active span.orb { transform: translateY(-9px) scale(.9); }
.tab.main.on span.orb { transform: translateY(-11px) scale(1.04); }

/* ── Düğmeler / çipler ────────────────────────────────────────────── */
.btn { height: 52px; padding: 0 22px; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: 15.5px; transition: transform .15s var(--ease), filter .15s, background .15s; user-select: none; text-align: center; }
.btn:active { transform: scale(.97); filter: brightness(.96); }
.btn.block { display: flex; width: 100%; }
.btn.pri { background: linear-gradient(135deg, var(--acc), var(--acc2)); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--acc) 34%, transparent); }
.btn.sec { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.soft { background: var(--acc-soft); color: var(--acc); }
.btn.ghost { color: var(--muted); }
.btn.danger { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
.btn.sm { height: 38px; padding: 0 14px; font-size: 13.5px; }
.btn.gold { background: linear-gradient(135deg, #ffc94d, #ff9d2e); color: #3a2400; box-shadow: 0 10px 24px rgba(255,170,50,.3); }
.btn .ms { font-size: 20px; }
.btn.busy { pointer-events: none; opacity: .75; }
.btn.busy .ms:first-child { animation: spin .8s linear infinite; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 13px; border-radius: var(--r-pill); background: var(--surface-2);
    font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap; transition: all .18s var(--ease); cursor: pointer; }
.chip .ms { font-size: 16px; }
.chip.on, .chip:has(input:checked) { background: var(--acc); color: #fff; }
.chip.same { background: var(--acc-soft); color: var(--acc); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.tag .ms { font-size: 14px; }
.tag.online { background: color-mix(in srgb, var(--like) 16%, transparent); color: var(--like); }
.tag.super { background: color-mix(in srgb, var(--super) 16%, transparent); color: var(--super); }
.tag.new { background: var(--acc); color: #fff; }
.tag.muted { background: var(--surface-2); color: var(--muted); }
.dot-on { width: 10px; height: 10px; border-radius: 50%; background: var(--like); box-shadow: 0 0 0 2.5px var(--surface); display: inline-block; }

/* Bölümlü sekme (kayan gösterge) */
.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface-2); border-radius: var(--r-pill); padding: 4px; }
.seg button { position: relative; z-index: 1; height: 38px; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; color: var(--muted); transition: color .2s;
    display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding: 0 6px; white-space: nowrap; overflow: hidden; }
.seg button.on { color: var(--text); }
.seg .ind { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-1); transition: transform .32s var(--ease), width .32s var(--ease); }
.seg .n { font-size: 11.5px; background: var(--acc); color: #fff; border-radius: 9px; padding: 0 6px; height: 18px; display: inline-grid; place-items: center; }
.seg.sm button { height: 32px; font-size: 13px; }
.pane { display: none; }
.pane.on { display: block; animation: paneIn .28s var(--ease); }

/* ── Kart / liste ─────────────────────────────────────────────────── */
.card { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-1); }
.card.pad { padding: 16px; }
.sect { margin-top: 22px; }
.sect > h2 { font-size: 17px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sect > h2 a, .sect > h2 button { font: 600 13.5px var(--font); color: var(--acc); letter-spacing: 0; }
.sect > h2 .cnt { color: var(--muted); font: 500 13px var(--font); margin-inline-end: auto; }
.rows { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-1); overflow: hidden; }
.row { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 10px 16px; position: relative; width: 100%; text-align: start; transition: background .15s; cursor: pointer; }
.row:active { background: var(--surface-2); }
.row + .row::before { content: ''; position: absolute; top: 0; inset-inline-start: 62px; inset-inline-end: 0; height: 1px; background: var(--line); }
.row .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); flex-shrink: 0; }
.row .ic .ms { font-size: 20px; }
.row .ic.a { background: var(--acc-soft); color: var(--acc); }
.row .ic.g { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.row .ic.b { background: color-mix(in srgb, var(--super) 15%, transparent); color: var(--super); }
.row .ic.r { background: color-mix(in srgb, var(--danger) 13%, transparent); color: var(--danger); }
.row .tx { flex: 1; min-width: 0; }
.row .tx b { display: block; font-weight: 600; font-size: 15px; }
.row .tx b.red { color: var(--danger); }
.row .tx small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .tx small.wrap { white-space: normal; }
.row .val { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.row .chev { color: var(--muted); font-size: 20px; opacity: .7; }
[dir="rtl"] .row .chev { transform: scaleX(-1); }
.row input[type="radio"], .row input[type="checkbox"] { accent-color: var(--acc); width: 20px; height: 20px; flex-shrink: 0; }
.sw { width: 50px; height: 30px; border-radius: 15px; background: var(--line); position: relative; flex-shrink: 0; transition: background .2s; }
.sw::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .25s var(--spring); }
.sw.on { background: var(--acc); }
.sw.on::after { transform: translateX(calc(20px * var(--dir))); }

.ava { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--surface-2); flex-shrink: 0; }
.ava.lg { width: 64px; height: 64px; }
.ava.sm { width: 38px; height: 38px; }
.ava.xs { width: 30px; height: 30px; }
.blurred { filter: blur(10px) saturate(.8); }
.ava.blurred { filter: blur(5px); }

/* Üye ızgarası */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mcard { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3/4; background: var(--surface-2); display: block; box-shadow: var(--shadow-1);
    transition: transform .2s var(--ease); isolation: isolate; }
.mcard:active { transform: scale(.97); }
.mcard img.ph { width: 100%; height: 100%; object-fit: cover; }
.mcard::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(8,5,14,.82)); pointer-events: none; }
.mcard .info { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2; color: #fff; }
.mcard .info b { font: 700 16px var(--display); display: flex; align-items: center; gap: 5px; min-width: 0; }
.mcard .info b .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard .info b .ms { font-size: 16px; color: #ff8fab; }
.mcard .info small { display: flex; align-items: center; gap: 4px; font-size: 12px; opacity: .88; white-space: nowrap; overflow: hidden; }
.mcard .info small .ms { font-size: 14px; }
.mcard .info small img.flag { width: 16px; height: 12px; border-radius: 2px; object-fit: cover; }
.mcard .top { position: absolute; top: 9px; left: 9px; right: 9px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.mcard .pill { height: 24px; padding: 0 8px; border-radius: 12px; background: rgba(10,7,16,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.mcard .pill .ms { font-size: 14px; color: var(--gold); }
.mcard .pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--like); }
.mcard.locked img.ph, .mcard.private img.ph { filter: blur(16px) saturate(.75); transform: scale(1.2); }
.mcard .lock { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: #fff; }
.mcard .lock .ms { font-size: 30px; background: rgba(10,7,16,.42); border-radius: 50%; padding: 12px; }
.mcard.st-like { box-shadow: 0 0 0 2.5px var(--like); } .mcard.st-superlike { box-shadow: 0 0 0 2.5px var(--super); } .mcard.st-dislike { opacity: .78; }
.mcard.gone { cursor: default; }
.mcard.gone img.ph { filter: grayscale(1); opacity: .6; }

/* Boş durum */
.empty { text-align: center; padding: 56px 24px; color: var(--muted); }
.empty .orb { width: 88px; height: 88px; margin: 0 auto 16px; border-radius: 30px; background: var(--acc-soft); color: var(--acc); display: grid; place-items: center; }
.empty .orb .ms { font-size: 42px; }
.empty h3 { color: var(--text); font-size: 19px; margin-bottom: 6px; }
.empty p { max-width: 32ch; margin: 0 auto 18px; }
.notice { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--text-2); font-size: 13.5px; }
.notice .ms { color: var(--muted); font-size: 20px; }
.notice.warn { background: color-mix(in srgb, var(--danger) 9%, transparent); }
.notice.warn .ms { color: var(--danger); }

/* ── Keşfet destesi ───────────────────────────────────────────────── */
body[data-page="discover"] .page { display: flex; flex-direction: column; padding-top: 0; padding-bottom: calc(var(--tab-h) + var(--safe-b) + 8px); height: calc(100dvh - var(--bar-h) - var(--safe-t)); }
.deck { position: relative; flex: 1; min-height: 0; margin: 4px 0 12px; touch-action: pan-y; }
.swipe { position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-2);
    will-change: transform; user-select: none; touch-action: none; transform-origin: 50% 110%; }
.swipe.snap { transition: transform .45s var(--spring); }
.swipe.fly { transition: transform .38s cubic-bezier(.4,.1,.7,.4), opacity .38s; }
.swipe.drop { animation: cardDrop .42s var(--spring) both; }
.swipe:nth-last-child(2) { transform: scale(.955) translateY(12px); }
.swipe:nth-last-child(n+3) { transform: scale(.91) translateY(24px); opacity: 0; }
.swipe:nth-last-child(n+4) { visibility: hidden; }
.swipe.under { transition: transform .3s var(--ease), opacity .3s; }
.swipe img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.swipe.private img.ph { filter: blur(22px) saturate(.75); transform: scale(1.25); }
.swipe .lockmsg { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: min(82%, 300px); text-align: center; color: #fff;
    background: rgba(10,7,16,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: var(--r-md); padding: 14px 16px; font-size: 13.5px; line-height: 1.45; }
.swipe .lockmsg .ms { display: block; margin: 0 auto 6px; font-size: 28px; }
.swipe .shade { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8,5,14,.55) 45%, rgba(8,5,14,.9)); pointer-events: none; }
.swipe .meta { position: absolute; left: 18px; right: 18px; bottom: 18px; color: #fff; z-index: 2; }
.swipe .meta h2 { font-size: 30px; font-weight: 800; display: flex; align-items: baseline; gap: 8px; min-width: 0; padding-inline-end: 48px; }
.swipe .meta h2 .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swipe .meta h2 span.age { font-weight: 500; font-size: 26px; opacity: .92; }
.swipe .meta .loc { display: flex; align-items: center; gap: 4px; font-size: 14px; opacity: .9; margin-top: 2px; padding-inline-end: 48px; }
.swipe .meta .loc .ms { font-size: 17px; }
.swipe .meta .loc img.flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }
.swipe .meta .about { margin-top: 8px; font-size: 14.5px; opacity: .92; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-inline-end: 48px; }
.swipe .badges { position: absolute; top: 16px; left: 14px; z-index: 2; display: flex; gap: 6px; }
.swipe .badges .pill, .swipe .more { height: 28px; padding: 0 10px; border-radius: 14px; background: rgba(10,7,16,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.swipe .badges .pill .ms { font-size: 16px; color: var(--gold); }
.swipe .badges .pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--like); }
.swipe .more { position: absolute; inset-inline-end: 16px; bottom: 22px; z-index: 3; width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; }
.stamp { position: absolute; top: 44px; z-index: 4; font: 800 32px var(--display); letter-spacing: .04em; padding: 4px 14px; border-radius: 14px; border: 4px solid; opacity: 0; pointer-events: none; text-transform: uppercase; }
.stamp.like { left: 22px; color: var(--like); transform: rotate(-14deg); }
.stamp.nope { right: 22px; color: #ff5a5f; transform: rotate(14deg); }
.stamp.super { left: 50%; top: auto; bottom: 150px; color: var(--super); transform: translateX(-50%); }
.acts { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 2px 0 6px; flex-shrink: 0; transition: opacity .2s; }
.act { width: 50px; height: 50px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-2); display: grid; place-items: center;
    transition: transform .18s var(--spring), background .15s, color .15s; }
.act .ms { font-size: 26px; font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24; }
.act.big { width: 64px; height: 64px; } .act.big .ms { font-size: 34px; }
.act:active, .act.hit { transform: scale(.86); }
.act.rew { color: var(--gold); } .act.nope { color: #ff5a5f; } .act.like { color: #fff; background: linear-gradient(135deg, var(--acc), var(--acc2)); box-shadow: 0 10px 26px color-mix(in srgb, var(--acc) 40%, transparent); }
.act.super { color: var(--super); } .act.msg { color: var(--violet); }
.act.busy .ms { animation: spin .8s linear infinite; }
.deck-empty { position: absolute; inset: 0; display: grid; place-items: center; }
.radar { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 18px; position: relative; display: grid; place-items: center; }
.radar::before, .radar::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--acc); opacity: 0; animation: radar 2.4s infinite; }
.radar::after { animation-delay: 1.2s; }
.radar img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; position: relative; }
/* Reklam molası kartı: AdMob politikası gereği reklam jestin ortasında değil, görünür bir aradan sonra */
.adbreak { position: absolute; inset: 0; z-index: 5; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-2);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; animation: fade .25s; }
.adbreak .spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--acc-soft); border-top-color: var(--acc); animation: spin .8s linear infinite; }
.adbreak b { font: 800 19px var(--display); }
.adbreak small { color: var(--muted); }

/* ── Hikâye şeridi ────────────────────────────────────────────────── */
.stories { display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; scroll-snap-type: x proximity; }
.stories::-webkit-scrollbar { display: none; }
.story { flex-shrink: 0; width: 68px; text-align: center; font-size: 12px; font-weight: 600; color: var(--text-2); scroll-snap-align: start; cursor: pointer; }
.story .ring { width: 68px; height: 68px; border-radius: 50%; padding: 3px; margin-bottom: 5px; background: conic-gradient(from 210deg, var(--acc), var(--acc2), #ffb3c7, var(--acc)); transition: transform .2s var(--spring); position: relative; }
.story:active .ring { transform: scale(.92); }
.story .ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); }
.story .ring .ms { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--bg); background: var(--surface-2); color: var(--muted); font-size: 26px; }
.story.seen .ring { background: var(--line); }
.story.me .ring { background: var(--line); }
.story.me .ring::after { content: '+'; position: absolute; inset-inline-end: -1px; bottom: -1px; width: 24px; height: 24px; border-radius: 50%; background: var(--acc); color: #fff; font: 700 18px/22px var(--font); box-shadow: 0 0 0 3px var(--bg); }
.story.me.live .ring { background: conic-gradient(from 210deg, var(--acc), var(--acc2), #ffb3c7, var(--acc)); }
.story span.l { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Sohbet listesi ───────────────────────────────────────────────── */
.search { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--muted); }
.search input { flex: 1; border: 0; background: none; outline: 0; min-width: 0; color: var(--text); }
.conv { display: flex; align-items: center; gap: 12px; padding: 10px 16px; position: relative; transition: background .15s; width: 100%; text-align: start; }
.conv:active { background: var(--surface-2); }
.conv .w { position: relative; flex-shrink: 0; border-radius: 50%; overflow: hidden; }
.conv .tx { flex: 1; min-width: 0; }
.conv .tx b { font-weight: 700; font-size: 15.5px; display: flex; align-items: center; gap: 6px; }
.conv .tx b .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv .tx p { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 4px; }
.conv .tx p .ms { font-size: 15px; }
.conv.unread .tx p { color: var(--text); font-weight: 600; }
.conv .rt { text-align: end; font-size: 12px; color: var(--muted); display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
.conv .n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--acc); color: #fff; font-weight: 700; font-size: 11.5px; display: grid; place-items: center; font-style: normal; }
.conv .typing { color: var(--acc) !important; font-weight: 600; }

/* ── Sohbet ───────────────────────────────────────────────────────── */
body[data-page="chat"] .app { height: var(--vvh, 100dvh); min-height: 0; }
body[data-page="chat"] .page { display: flex; flex-direction: column; padding: 0; min-height: 0; }
.chat-h { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.chat-h .w { border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.chat-h span { min-width: 0; }
.chat-h b { display: block; font: 700 16px var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-h small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.chat-h small.typing { color: var(--acc); }
.msgs { flex: 1; overflow-y: auto; padding: 12px 14px 8px; display: flex; flex-direction: column; gap: 3px; overscroll-behavior: contain; -webkit-user-select: text; user-select: text; }
.day { align-self: center; font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--surface-2); border-radius: 10px; padding: 3px 10px; margin: 10px 0; }
.b { max-width: 78%; padding: 9px 13px; border-radius: 20px; font-size: 15px; line-height: 1.38; position: relative; overflow-wrap: anywhere; animation: bubble .3s var(--spring) both; }
.msgs.ready .b { animation: none; }
.msgs.ready .b.new { animation: bubble .3s var(--spring) both; }
.b.in { align-self: flex-start; background: var(--surface); box-shadow: var(--shadow-1); border-end-start-radius: 7px; }
.b.out { align-self: flex-end; color: #fff; background: linear-gradient(135deg, var(--acc), var(--acc2)); border-end-end-radius: 7px; }
.b.in + .b.in { border-start-start-radius: 7px; }
.b.out + .b.out { border-start-end-radius: 7px; }
.b time { font-size: 10.5px; opacity: .7; margin-inline-start: 8px; float: inline-end; margin-top: 6px; display: inline-flex; align-items: center; gap: 2px; }
.b time .ms { font-size: 14px; }
.b.pending time .ms { opacity: .6; }
.b.img { padding: 4px; } .b.img img { border-radius: 16px; width: 210px; max-width: 100%; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; background: var(--surface-2); }
.b.img time { position: absolute; bottom: 10px; inset-inline-end: 12px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); margin: 0; }
.b.emoji { background: none !important; box-shadow: none; font-size: 44px; line-height: 1.1; padding: 0 4px; }
.b.emoji.e2 { font-size: 36px; } .b.emoji.e3 { font-size: 30px; }
.b.emoji time { display: none; }
.b.voice { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.b.voice .pl { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; flex-shrink: 0; }
.b.in.voice .pl { background: var(--acc-soft); color: var(--acc); }
.b.voice .trk { flex: 1; height: 4px; border-radius: 2px; background: currentColor; opacity: .3; position: relative; cursor: pointer; }
.b.voice .trk i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 2px; background: currentColor; opacity: 1; }
.b.voice .vt { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 11px; opacity: .85; min-width: 38px; }
.b.voice time { float: none; margin: 0; }
.b.voice audio { display: none; }
.composer { flex-shrink: 0; display: flex; align-items: flex-end; gap: 4px; padding: 8px 8px calc(8px + var(--safe-b)); background: var(--bg); border-top: 1px solid var(--line); position: relative; }
.composer .field { flex: 1; display: flex; align-items: flex-end; background: var(--surface); border-radius: 24px; box-shadow: inset 0 0 0 1.5px var(--line); padding: 0 4px 0 14px; min-height: 46px; min-width: 0; }
[dir="rtl"] .composer .field { padding: 0 14px 0 4px; }
.composer textarea { flex: 1; border: 0; background: none; outline: 0; resize: none; padding: 12px 0; max-height: 120px; height: 46px; line-height: 1.4; min-width: 0; }
.composer .send { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--acc), var(--acc2)); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: transform .18s var(--spring); }
.composer .send:active { transform: scale(.86); }
.composer .send.rec { background: var(--danger); animation: pulse 1.2s infinite; }
[dir="rtl"] .composer .send .ms { transform: scaleX(-1); }
.composer .ib { width: 40px; height: 46px; color: var(--muted); }
.composer .rectime { position: absolute; left: 50%; top: -40px; transform: translateX(-50%); background: var(--danger); color: #fff; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 16px; display: flex; gap: 6px; align-items: center; box-shadow: var(--shadow-2); }
.composer .rectime i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
.emojis { position: absolute; bottom: calc(100% + 8px); inset-inline-start: 8px; z-index: 5; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 10px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-3); animation: pop .25s var(--spring); }
.emojis button { font-size: 24px; width: 40px; height: 40px; border-radius: 10px; }
.emojis button:active { background: var(--surface-2); transform: scale(.9); }
.chat-foot { flex-shrink: 0; padding: 12px 14px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); }

/* ── Profil ───────────────────────────────────────────────────────── */
.hero { position: relative; height: min(66dvh, 560px); background: var(--surface-2); overflow: hidden; }
.hero img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.hero img.ph.on { opacity: 1; }
.hero.private img.ph { filter: blur(22px) saturate(.75); transform: scale(1.25); }
.hero::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(8,5,14,.86)); pointer-events: none; }
.hero .bars { position: absolute; top: calc(8px + var(--safe-t)); left: 12px; right: 12px; display: flex; gap: 5px; z-index: 2; }
.hero .bars i { flex: 1; height: 3.5px; border-radius: 2px; background: rgba(255,255,255,.38); } .hero .bars i.on { background: #fff; }
.hero .meta { position: absolute; left: 18px; right: 18px; bottom: 36px; z-index: 2; color: #fff; }
.hero .meta h1 { font-size: 30px; font-weight: 800; overflow-wrap: anywhere; } .hero .meta h1 span { font-weight: 500; opacity: .92; }
.hero .meta p { display: flex; align-items: center; gap: 5px; opacity: .9; font-size: 14.5px; margin-top: 2px; }
.hero .meta p .ms { font-size: 17px; }
.hero .meta .tag.online { background: rgba(18,196,139,.25); color: #7dffcf; margin-bottom: 6px; }
.hero .lockmsg { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); z-index: 2; color: #fff; text-align: center; width: min(80%, 300px);
    background: rgba(10,7,16,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: var(--r-md); padding: 14px 16px; font-size: 13.5px; }
.hero .lockmsg .ms { display: block; margin: 0 auto 6px; font-size: 28px; }
.sheetpage { position: relative; z-index: 3; margin-top: -24px; border-radius: 26px 26px 0 0; background: var(--bg); padding: 20px 16px 0; }
.pact { position: fixed; z-index: 35; bottom: calc(16px + var(--safe-b)); display: flex; justify-content: center; gap: 14px; pointer-events: none; }
.pact > * { pointer-events: auto; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kv div { background: var(--surface); border-radius: var(--r-sm); padding: 10px 12px; box-shadow: var(--shadow-1); display: flex; gap: 10px; align-items: center; min-width: 0; }
.kv .ms { color: var(--acc); font-size: 22px; }
.kv span { min-width: 0; }
.kv small { display: block; color: var(--muted); font-size: 11.5px; } .kv b { font-size: 14px; font-weight: 600; display: block; overflow-wrap: anywhere; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pgrid > * { aspect-ratio: 1; border-radius: 14px; overflow: hidden; position: relative; background: var(--surface-2); cursor: pointer; }
.pgrid img { width: 100%; height: 100%; object-fit: cover; }
.pgrid .add { display: grid; place-items: center; color: var(--acc); background: var(--acc-soft); border: 1.5px dashed var(--acc); }
.pgrid .st { position: absolute; left: 6px; bottom: 6px; }
.pgrid .pend { position: absolute; inset: auto 6px 6px; text-align: center; font-size: 10.5px; font-weight: 700; color: #fff; background: rgba(10,7,16,.55); border-radius: 8px; padding: 2px 4px; }
.me-head { display: flex; align-items: center; gap: 16px; padding: 8px 0 4px; }
.me-head .pic { position: relative; flex-shrink: 0; }
.me-head .pic img { width: 92px; height: 92px; border-radius: 32px; object-fit: cover; background: var(--surface-2); }
.me-head .pic a, .me-head .pic button { position: absolute; inset-inline-end: -6px; bottom: -6px; width: 34px; height: 34px; border-radius: 50%; background: var(--acc); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--bg); }
.me-head .pic .ms { font-size: 18px; }
.me-head h2 { font-size: 23px; font-weight: 800; overflow-wrap: anywhere; }
.me-head p { color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 4px; }
.me-head p .ms { font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.stats a, .stats button { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-1); padding: 12px 8px; text-align: center; transition: transform .15s var(--ease); display: block; }
.stats a:active, .stats button:active { transform: scale(.96); }
.stats b { display: block; font: 800 20px var(--display); } .stats small { color: var(--muted); font-size: 12px; }
.ringp { --p: 70; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font: 800 15px var(--display); flex-shrink: 0;
    background: radial-gradient(closest-side, var(--surface) 78%, transparent 80% 100%), conic-gradient(var(--acc) calc(var(--p) * 1%), var(--line) 0); }
.promo { border-radius: var(--r-md); padding: 16px; color: #fff; position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px;
    background: linear-gradient(120deg, var(--acc), var(--acc2)); box-shadow: 0 12px 28px color-mix(in srgb, var(--acc) 28%, transparent); }
.promo.gold { background: linear-gradient(120deg, #ff9d2e, #ffc94d); color: #3a2400; box-shadow: 0 12px 28px rgba(255,170,50,.28); }
.promo.blue { background: linear-gradient(120deg, #2f8bff, #6a4cff); box-shadow: 0 12px 28px rgba(60,110,255,.28); }
.promo .ms.bg { position: absolute; inset-inline-end: -8px; bottom: -26px; font-size: 104px; opacity: .16; pointer-events: none; }
.promo > div { min-width: 0; flex: 1; }
.promo b { font: 800 16.5px var(--display); display: block; } .promo small { opacity: .9; font-size: 13px; display: block; }
.promo .go { margin-inline-start: auto; height: 36px; padding: 0 14px; border-radius: 18px; background: rgba(255,255,255,.24); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; position: relative; flex: none; }

/* Ödüller */
.reward { display: flex; align-items: center; gap: 14px; padding: 14px; }
.reward .ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.reward .ic .ms { font-size: 26px; font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.reward .tx { flex: 1; min-width: 0; } .reward .tx b { display: block; font-weight: 700; } .reward .tx small { color: var(--muted); font-size: 12.5px; display: block; }

/* ── Formlar ──────────────────────────────────────────────────────── */
.fld { display: block; margin-top: 14px; }
.fld > span:first-child { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin: 0 4px 6px; }
.inp { width: 100%; height: 54px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); outline: 0; transition: border-color .15s, box-shadow .15s; }
textarea.inp { height: auto; min-height: 96px; padding: 14px 16px; resize: none; line-height: 1.45; }
.inp:focus { border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.inp.err { border-color: var(--danger); }
select.inp { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8598' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-inline-end: 40px; }
[dir="rtl"] select.inp { background-position: left 14px center; }
.pw { position: relative; display: block; }
.pw .ib { position: absolute; inset-inline-end: 5px; top: 5px; color: var(--muted); }
.pw .inp { padding-inline-end: 52px; }
.hint { font-size: 12.5px; color: var(--muted); margin: 6px 4px 0; }
.hint a { color: var(--acc); font-weight: 700; }
.ferr { font-size: 13px; color: var(--danger); margin: 10px 4px 0; display: flex; gap: 6px; align-items: flex-start; }
.ferr .ms { font-size: 18px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.range { position: relative; height: 34px; }
.range input { position: absolute; inset: 0; width: 100%; appearance: none; -webkit-appearance: none; background: none; pointer-events: none; margin: 0; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; pointer-events: auto; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--acc); box-shadow: var(--shadow-1); cursor: grab; }
.range input::-moz-range-thumb { pointer-events: auto; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--acc); }
.range .trk { position: absolute; top: 15px; left: 0; right: 0; height: 4px; border-radius: 2px; background: var(--line); }
.range .fill { position: absolute; top: 15px; height: 4px; border-radius: 2px; background: var(--acc); }
.counter { float: inline-end; color: var(--muted); font-weight: 500; }

/* Giriş / karşılama */
.welcome { min-height: 100dvh; display: flex; flex-direction: column; color: #fff; position: relative; overflow: hidden; background: #120a18; }
.welcome .wall { position: absolute; inset: -6% -14%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; transform: rotate(-8deg); opacity: .9; }
.welcome .wall div { display: flex; flex-direction: column; gap: 10px; animation: drift 26s linear infinite alternate; }
.welcome .wall div:nth-child(2) { animation-direction: alternate-reverse; margin-top: -60px; }
.welcome .wall img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 20px; background: #24182c; }
.welcome::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(18,10,24,.25), rgba(18,10,24,.55) 40%, #120a18 76%); }
.welcome .in { position: relative; z-index: 1; margin-top: auto; padding: 24px 22px calc(28px + var(--safe-b)); }
.welcome h1 { font-size: 36px; font-weight: 800; line-height: 1.08; }
.welcome h1 em { font-style: normal; background: linear-gradient(90deg, var(--acc), var(--acc2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.welcome p { opacity: .82; margin: 10px 0 22px; font-size: 15.5px; }
.welcome .btn.sec { background: #fff; color: #1a1422; box-shadow: none; }
.welcome .btn.glass { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.welcome .legal { font-size: 12px; opacity: .6; text-align: center; margin-top: 16px; }
.welcome .legal a { text-decoration: underline; }
.welcome .logo b.word { background: #fff; }
.welcome .top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: calc(14px + var(--safe-t)) 16px 0; }
.welcome .top .logo { display: flex; flex: 1; min-width: 0; font: 800 22px var(--display); }
.gicon { width: 20px; height: 20px; flex-shrink: 0; }

/* Yasaklı hesap ekranı (/banned) */
.banned .in { margin: auto 0; text-align: center; }
.banned .seal { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 32px; display: grid; place-items: center; background: rgba(229, 72, 77, .18); color: #ff7a7e; }
.banned .seal .ms { font-size: 46px; }
.banned h1 { font-size: 28px; }
.banned p { max-width: 34ch; margin-left: auto; margin-right: auto; }
.banned .why { display: inline-flex; flex-direction: column; gap: 4px; max-width: 100%; padding: 14px 20px; border-radius: 18px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .12); }
.banned .why small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.banned .why b { font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.auth { padding: 8px 22px 28px; }
.auth h1 { font-size: 29px; font-weight: 800; margin-top: 6px; }
.auth > p { color: var(--muted); margin-top: 6px; }

/* Adım adım kurulum */
.steps { display: flex; gap: 6px; padding: 0 12px; flex: 1; }
.steps i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.steps i::after { content: ''; position: absolute; inset: 0; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
[dir="rtl"] .steps i::after { transform-origin: right; }
.steps i.on::after { transform: scaleX(1); }
.ob { display: none; padding: 12px 22px 130px; }
.ob.on { display: block; animation: obIn .38s var(--ease); }
.ob.on.rev { animation-name: obInRev; }
.ob h1 { font-size: 28px; font-weight: 800; } .ob > p { color: var(--muted); margin: 6px 0 20px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice label { position: relative; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); padding: 22px 12px; text-align: center; font-weight: 700; transition: all .2s var(--ease); display: block; cursor: pointer; }
.choice label .ms { display: block; margin: 0 auto 6px; font-size: 40px; color: var(--muted); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label:has(input:checked) { box-shadow: inset 0 0 0 2.5px var(--acc); background: var(--acc-soft); color: var(--acc); }
.choice label:has(input:checked) .ms { color: var(--acc); }
.choice.three { grid-template-columns: 1fr 1fr 1fr; }
.choice.three label { padding: 16px 8px; font-size: 13.5px; }
.wheel { position: relative; height: 200px; overflow-y: auto; scroll-snap-type: y mandatory; text-align: center; scrollbar-width: none; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-1);
    -webkit-mask-image: linear-gradient(transparent, #000 35%, #000 65%, transparent); mask-image: linear-gradient(transparent, #000 35%, #000 65%, transparent); }
.wheel::-webkit-scrollbar { display: none; }
.wheel div { height: 50px; line-height: 50px; scroll-snap-align: center; font: 700 24px var(--display); color: var(--muted); transition: color .15s, transform .15s; cursor: pointer; }
.wheel div.on { color: var(--acc); transform: scale(1.18); }
.wheel::before, .wheel::after { content: ''; display: block; height: 75px; }
.photo-drop { aspect-ratio: 3/4; width: 62%; margin: 0 auto; border-radius: var(--r-lg); border: 2px dashed var(--acc); background: var(--acc-soft); color: var(--acc); display: grid; place-items: center; text-align: center; font-weight: 700; overflow: hidden; position: relative; cursor: pointer; }
.photo-drop .ms { font-size: 46px; display: block; margin: 0 auto 6px; }
.photo-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dock { bottom: 0; z-index: 20; padding: 12px 22px calc(16px + var(--safe-b)); background: linear-gradient(transparent, var(--bg) 30%); }

/* ── Alt sayfalar (sheet), diyalog, bildirim ──────────────────────── */
.scrim { position: fixed; inset: 0; z-index: 90; background: var(--scrim); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { bottom: 0; z-index: 100; max-height: 92dvh; display: flex; flex-direction: column; background: var(--bg); border-radius: 28px 28px 0 0; box-shadow: var(--shadow-3);
    transform: translate(-50%, 105%); transition: transform .42s var(--ease), visibility 0s .42s; padding-bottom: var(--safe-b); visibility: hidden; }
.sheet.on { transform: translate(-50%, 0); visibility: visible; transition: transform .42s var(--ease), visibility 0s; }
.sheet.drag { transition: none; }
.sheet.tall { height: 88dvh; }
.sheet .grab { flex-shrink: 0; padding: 10px 0 6px; display: grid; place-items: center; touch-action: none; cursor: grab; }
.sheet .grab::before { content: ''; width: 40px; height: 5px; border-radius: 3px; background: var(--line); }
.sheet .sh { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 2px 8px 10px 20px; }
[dir="rtl"] .sheet .sh { padding: 2px 20px 10px 8px; }
.sheet .sh h2 { flex: 1; font-size: 20px; font-weight: 800; min-width: 0; }
.sheet .sb { overflow-y: auto; padding: 0 20px 20px; overscroll-behavior: contain; flex: 1; min-height: 0; }
.sheet .sf { flex-shrink: 0; padding: 12px 20px 16px; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.sheet h3.gl { font: 700 12.5px var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 20px 0 9px; display: flex; justify-content: space-between; align-items: center; }
.sheet h3.gl:first-child { margin-top: 4px; }
.sheet h3.gl b { color: var(--acc); text-transform: none; letter-spacing: 0; font-size: 14px; }
.center { text-align: center; padding: 6px 4px 4px; }
.center .orb { width: 76px; height: 76px; border-radius: 26px; margin: 4px auto 14px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); }
.center .orb.gold { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.center .orb.red { background: color-mix(in srgb, var(--danger) 13%, transparent); color: var(--danger); }
.center .orb .ms { font-size: 38px; font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.center h2 { font-size: 21px; font-weight: 800; } .center p { color: var(--muted); margin: 6px auto 18px; max-width: 34ch; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.lang { display: flex; align-items: center; gap: 12px; height: 52px; width: 100%; text-align: start; font-weight: 600; border-radius: 14px; padding: 0 10px; }
.lang:active { background: var(--surface-2); }
.lang i { font-style: normal; font-size: 24px; } .lang .ms { margin-inline-start: auto; color: var(--acc); }
.lang.on { color: var(--acc); }

/* Ortadaki onay penceresi */
.dlg { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: var(--scrim); opacity: 0; pointer-events: none; transition: opacity .2s; }
.dlg.on { opacity: 1; pointer-events: auto; }
.dlg .box { width: min(100%, 340px); background: var(--bg); border-radius: 26px; padding: 22px 20px 16px; text-align: center; box-shadow: var(--shadow-3); transform: scale(.92); transition: transform .3s var(--spring); }
.dlg.on .box { transform: none; }
.dlg .box h2 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.dlg .box p { color: var(--text-2); margin-bottom: 18px; }
.dlg .box .acts2 { display: flex; gap: 8px; }
.dlg .box .acts2 .btn { flex: 1; height: 46px; }

#toasts { top: calc(10px + var(--safe-t)); z-index: 300; display: flex; flex-direction: column; gap: 8px; padding: 0 12px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-2); font-size: 14px; font-weight: 600; animation: toastIn .45s var(--spring) both; }
.toast > span:last-child { min-width: 0; flex: 1; }
.toast.out { animation: toastOut .3s var(--ease) both; }
.toast .ms { color: var(--acc); } .toast.ok .ms { color: var(--like); } .toast.err .ms { color: var(--danger); }
.toast small { display: block; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Eşleşme kutlaması */
.match { position: fixed; inset: 0; z-index: 150; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 28px;
    background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--acc) 85%, #000), #1a0b1e 70%); }
.match.on { display: flex; animation: fade .3s; }
.match h1 { font-size: 40px; font-weight: 800; animation: pop .7s var(--spring) both .15s; }
.match p { opacity: .85; margin: 8px 0 30px; }
.match .duo { display: flex; margin-bottom: 44px; position: relative; }
.match .duo img { width: 128px; height: 168px; object-fit: cover; border-radius: 28px; border: 4px solid #fff; box-shadow: var(--shadow-3); background: #2a1a30; }
.match .duo img:first-child { transform: rotate(-9deg) translateX(14px); animation: duoL .7s var(--spring) both; }
.match .duo img:last-of-type { transform: rotate(9deg) translateX(-14px); animation: duoR .7s var(--spring) both; }
.match .heart { position: absolute; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--acc); display: grid; place-items: center; left: calc(50% - 29px); bottom: -26px; z-index: 2; animation: pop .6s var(--spring) both .35s; box-shadow: var(--shadow-2); }
.match .btn.sec { background: rgba(255,255,255,.16); color: #fff; box-shadow: none; }
.match .btn.pri { background: #fff; color: var(--acc); box-shadow: none; }

/* Tam ekran görsel */
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; }
.lightbox.on { display: flex; animation: fade .2s; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .ib { position: absolute; top: calc(10px + var(--safe-t)); inset-inline-end: 10px; color: #fff; background: rgba(255,255,255,.12); }
.lightbox .lb-acts { position: absolute; left: 0; right: 0; bottom: calc(16px + var(--safe-b)); display: flex; justify-content: center; gap: 10px; padding: 0 16px; }

/* Hikâye izleyici (sayfa içi tam ekran katman) */
.sv { position: fixed; inset: 0; z-index: 180; background: #000; color: #fff; display: none; max-width: 480px; margin: 0 auto; overflow: hidden; touch-action: none; }
.sv.on { display: block; animation: svUp .34s var(--ease); }
.sv.closing { animation: svDown .28s var(--ease) forwards; }
.sv img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.sv::before { content: ''; position: absolute; inset: 0 0 auto; height: 160px; background: linear-gradient(rgba(0,0,0,.6), transparent); z-index: 1; pointer-events: none; }
.sv::after { content: ''; position: absolute; inset: auto 0 0; height: 200px; background: linear-gradient(transparent, rgba(0,0,0,.7)); z-index: 1; pointer-events: none; }
.sv .bars { position: absolute; z-index: 3; top: calc(10px + var(--safe-t)); left: 10px; right: 10px; display: flex; gap: 4px; }
.sv .bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.sv .bars i b { display: block; height: 100%; width: 0; background: #fff; }
.sv .bars i.done b { width: 100%; }
.sv .who { position: absolute; z-index: 3; top: calc(24px + var(--safe-t)); left: 12px; right: 8px; display: flex; align-items: center; gap: 10px; }
.sv .who a { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.sv .who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.sv .who b { font-weight: 700; display: block; } .sv .who small { opacity: .75; display: block; font-size: 12px; }
.sv .who .ib { color: #fff; }
.sv .zones { position: absolute; inset: 80px 0 110px; z-index: 2; display: grid; grid-template-columns: 1fr 2fr; }
.sv .foot { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: calc(18px + var(--safe-b)); display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.sv .foot .stat { height: 44px; padding: 0 16px; border-radius: 22px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: inline-flex; align-items: center; gap: 12px; font-weight: 700; margin-inline-end: auto; }
.sv .foot .stat .ms { font-size: 19px; }
.sv .foot .hb { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .2s var(--spring); color: #fff; }
.sv .foot .hb.on { color: var(--acc); background: #fff; transform: scale(1.1); }
.sv .foot .hb.on .ms { font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.sv .fly { position: absolute; z-index: 4; bottom: 80px; right: 24px; color: var(--acc); font-size: 30px; animation: flyUp 1.2s ease-out forwards; pointer-events: none; }

/* Çekip yenile */
.ptr { height: 0; overflow: hidden; display: grid; place-items: center; color: var(--acc); transition: height .25s var(--ease); }
.ptr.pull { transition: none; }
.ptr .ms { transition: transform .2s; }
.ptr.go .ms { animation: spin .8s linear infinite; }

/* İskelet */
.sk { background: linear-gradient(100deg, var(--surface-2) 30%, var(--line) 50%, var(--surface-2) 70%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r-md); }
.sk.card3x4 { aspect-ratio: 3/4; }
.loader { display: grid; place-items: center; padding: 20px; color: var(--acc); }
.loader .ms { animation: spin .8s linear infinite; }

/* Uzun yasal metin */
.prose { color: var(--text-2); line-height: 1.65; font-size: 14.5px; -webkit-user-select: text; user-select: text; overflow-wrap: anywhere; }
.prose h1, .prose h2, .prose h3 { color: var(--text); margin: 18px 0 8px; font-size: 18px; }
.prose p { margin: 0 0 10px; }
.prose a { color: var(--acc); text-decoration: underline; }

/* ── Hareket ──────────────────────────────────────────────────────── */
@keyframes fade { from { opacity: 0; } }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes obIn { from { opacity: 0; transform: translateX(calc(40px * var(--dir))); } }
@keyframes obInRev { from { opacity: 0; transform: translateX(calc(-40px * var(--dir))); } }
@keyframes bubble { from { opacity: 0; transform: translateY(10px) scale(.9); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(-24px) scale(.94); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-16px) scale(.96); } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } }
@keyframes duoL { from { opacity: 0; transform: rotate(-30deg) translateX(-120px); } }
@keyframes duoR { from { opacity: 0; transform: rotate(30deg) translateX(120px); } }
@keyframes radar { from { transform: scale(.6); opacity: .7; } to { transform: scale(1.7); opacity: 0; } }
@keyframes flyUp { to { transform: translate(-30px, -260px) scale(1.6) rotate(-18deg); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sk { to { background-position: -200% 0; } }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-90px); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--danger) 25%, transparent); } }
@keyframes blink { 50% { opacity: .2; } }
@keyframes cardDrop { from { transform: translateY(-40px) scale(.96); opacity: 0; } }
@keyframes svUp { from { transform: translateY(100%); } }
@keyframes svDown { to { transform: translateY(100%); } }
.rise > * { animation: rise .5s var(--ease) both; }
.rise > *:nth-child(2) { animation-delay: .04s; } .rise > *:nth-child(3) { animation-delay: .08s; } .rise > *:nth-child(4) { animation-delay: .12s; }
.rise > *:nth-child(5) { animation-delay: .16s; } .rise > *:nth-child(6) { animation-delay: .2s; } .rise > *:nth-child(n+7) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ── Sayfa geçişleri: belge-arası View Transitions ────────────────────
   Her sayfa ayrı bir belge; tarayıcı eski ve yeni sayfanın görüntüsünü alıp
   aralarında canlandırma yapar. Tür (push/back/tab/up/down) app.js'te
   pageswap/pagereveal olaylarında belirlenir. Alt çubuk ayrı katmandır:
   geçiş sırasında yerinde durur. */
@view-transition { navigation: auto; }
.tabbar { view-transition-name: tabbar; }
::view-transition-group(tabbar) { z-index: 10; animation-duration: .01s; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .34s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
html:active-view-transition-type(tab)::view-transition-old(root) { animation: .14s ease-out both vtFadeOut; }
html:active-view-transition-type(tab)::view-transition-new(root) { animation: .26s var(--ease) both vtTabIn; }
html:active-view-transition-type(push)::view-transition-old(root) { animation-name: vtOutLeft; }
html:active-view-transition-type(push)::view-transition-new(root) { animation-name: vtInRight; z-index: 2; }
html:active-view-transition-type(back)::view-transition-old(root) { animation-name: vtOutRight; z-index: 2; }
html:active-view-transition-type(back)::view-transition-new(root) { animation-name: vtInLeft; }
html:active-view-transition-type(up)::view-transition-old(root) { animation-name: vtDim; }
html:active-view-transition-type(up)::view-transition-new(root) { animation-name: vtInUp; z-index: 2; }
html:active-view-transition-type(down)::view-transition-old(root) { animation-name: vtOutDown; z-index: 2; }
html:active-view-transition-type(down)::view-transition-new(root) { animation-name: vtUndim; }
html:active-view-transition-type(push)::view-transition-group(tabbar), html:active-view-transition-type(up)::view-transition-group(tabbar) { z-index: 1; }
@keyframes vtFadeOut { to { opacity: 0; } }
@keyframes vtTabIn { from { opacity: 0; transform: scale(.985) translateY(6px); } }
@keyframes vtOutLeft { to { transform: translateX(calc(-28% * var(--dir))); filter: brightness(.82); } }
@keyframes vtInRight { from { transform: translateX(calc(100% * var(--dir))); box-shadow: -20px 0 40px rgba(0,0,0,.25); } }
@keyframes vtOutRight { to { transform: translateX(calc(100% * var(--dir))); } }
@keyframes vtInLeft { from { transform: translateX(calc(-28% * var(--dir))); filter: brightness(.82); } }
@keyframes vtInUp { from { transform: translateY(100%); } }
@keyframes vtOutDown { to { transform: translateY(100%); } }
@keyframes vtDim { to { transform: scale(.94); filter: brightness(.6); } }
@keyframes vtUndim { from { transform: scale(.94); filter: brightness(.6); } }
/* View Transitions desteklemeyen tarayıcı: yalın giriş canlandırması */
html.no-vt body[data-kind="push"] .app { animation: vtInRight .32s var(--ease); }
html.no-vt body[data-kind="tab"] .page { animation: vtTabIn .26s var(--ease); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
    ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
body:has(#sv.on) .scrim { z-index: 185; }
.photo-drop img ~ span { opacity: 0; }
/* Kullanıcı metni (mesaj, hakkında, ad) yönünü kendi içeriğinden alır: Arapça arayüzde Türkçe mesaj, Türkçe arayüzde Arapça mesaj düzgün görünür */
.b, .conv .tx p, .conv .tx b, .chat-h b, .about, .selectable, .mcard .info b, .swipe .meta h2, .hero .meta h1, .me-head h2 { unicode-bidi: plaintext; }
