:root {
  --bg: #0A0A0A; --surface: #141416; --surface2: #1A1A1D; --line: #26262B; --bubble: #1F1F23;
  --gold: #D2A154; --on-gold: #1A1305; --on-gold-2: #4A3618; --text: #F2F2F4; --muted: #A1A1A8; --muted2: #6E6E76;
  --red: #E5534B; --green: #2EAD5B;
  --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); overscroll-behavior: none; }
body { font: 16px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
#app { height: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: var(--text); }
a { color: #6CB4FF; }
.app, .screen { position: fixed; top: 0; left: 0; right: 0; height: var(--app-h, 100%); display: flex; flex-direction: column; background: var(--bg); }
.overlay-screen { position: fixed; top: 0; left: 0; right: 0; height: var(--app-h, 100%); z-index: 20; animation: slidein .18s ease-out; }
html.kb { --sb: 0px; }
@keyframes slidein { from { transform: translateX(30px); opacity: .6; } to { transform: none; opacity: 1; } }
.scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: calc(24px + var(--sb)); }
.pad { padding-left: 16px; padding-right: 16px; }
.center-col { display: flex; flex-direction: column; align-items: center; padding-top: 18px; gap: 6px; }
.center-pad { display: flex; justify-content: center; padding: 18px; }
.muted-text { color: var(--muted); font-size: 14px; padding: 6px 0; text-align: center; }

/* ---- düğmeler ---- */
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 22px; color: var(--text); position: relative; flex: none; }
.icon-btn.small { width: 32px; height: 32px; }
.icon-btn:active { background: rgba(255,255,255,.08); }
.icon-btn.danger { color: var(--red); }
.btn-gold { background: var(--gold); color: var(--on-gold); font-weight: 700; border-radius: 12px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn-gold.big { width: 100%; height: 52px; font-size: 16px; letter-spacing: .5px; margin-top: 8px; }
.btn-gold.sm, .btn-text.sm { padding: 7px 12px; font-size: 14px; border-radius: 10px; flex: none; }
.btn-gold:disabled { opacity: .6; }
.btn-text { color: var(--gold); padding: 10px 12px; font-weight: 600; }
.btn-text.danger, .btn-danger { color: var(--red); }
.btn-danger { background: var(--red); color: #fff; font-weight: 700; border-radius: 12px; padding: 10px 16px; }
.link { color: var(--gold); padding: 12px; font-size: 15px; display: block; margin: 0 auto; }
.link.small { font-size: 13px; color: var(--muted); padding: 4px 0 8px; margin: 0 0 0 auto; }
.spinner { display: inline-block; border: 2.5px solid rgba(210,161,84,.25); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- avatar ---- */
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 700; flex: none; position: relative; overflow: visible; user-select: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar .dot { position: absolute; right: 0; bottom: 0; width: 28%; height: 28%; min-width: 10px; min-height: 10px; background: var(--green); border: 2.5px solid var(--bg); border-radius: 50%; }

/* ---- giriş ---- */
.auth, .splash { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: calc(20px + var(--st)) 20px calc(20px + var(--sb)); overflow-y: auto; }
.splash { flex-direction: column; gap: 22px; }
.auth-card { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 10px; }
.auth-logo { width: 96px; height: 96px; margin: 0 auto 4px; border-radius: 22px; object-fit: contain; }
.auth-brand, .brand.big { text-align: center; color: var(--gold); font-weight: 900; font-size: 34px; letter-spacing: 6px; }
.auth-sub { text-align: center; color: var(--muted); font-size: 14px; }
.auth-error { background: rgba(229,83,75,.12); color: #ff8a83; padding: 10px 12px; border-radius: 10px; font-size: 14px; text-align: center; }
.auth-ok { background: rgba(46,173,91,.12); color: #74d99a; padding: 10px 12px; border-radius: 10px; font-size: 14px; text-align: center; }
.auth-text { color: #d4d4d8; font-size: 15px; text-align: center; line-height: 1.5; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.field small { color: var(--muted2); font-size: 12px; }
.field input, .form input, .big-input, .add-friend input, .dialog input, .dialog textarea {
  background: var(--surface2); border: 1px solid var(--line); border-radius: 12px; height: 48px; padding: 0 14px; font-size: 16px; outline: none; width: 100%;
}
.dialog textarea { height: auto; padding: 10px 14px; resize: none; }
.field input:focus, .form input:focus, .dialog input:focus, .dialog textarea:focus, .big-input:focus, .add-friend input:focus { border-color: var(--gold); }
.code-input { text-align: center; letter-spacing: 12px; font-size: 26px !important; font-weight: 700; height: 60px !important; background: var(--surface2); border: 1px solid var(--line); border-radius: 12px; outline: none; }
.consent h2 { text-align: center; margin: 0 0 6px; }
.consent p { display: flex; gap: 10px; align-items: flex-start; color: #e8e8ea; font-size: 14.5px; line-height: 1.45; margin: 4px 0; }
.consent p svg { color: var(--gold); flex: none; margin-top: 2px; }
.form { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; }
.check-line { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; }

/* ---- üst çubuk ---- */
.topbar { display: flex; align-items: center; gap: 2px; padding: calc(4px + var(--st)) 4px 4px; min-height: calc(56px + var(--st)); background: var(--bg); border-bottom: 1px solid #16161a; flex: none; }
.topbar-title { flex: 1; min-width: 0; padding: 0 4px; }
.topbar-title .t1 { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-title .t2 { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { display: flex; align-items: center; }
.chat-title { display: inline-flex; align-items: center; gap: 10px; }
.chat-screen .topbar-title .t2 { padding-left: 46px; margin-top: -2px; }

/* ---- sohbet listesi ---- */
.list-head { display: flex; align-items: center; padding: calc(8px + var(--st)) 8px 2px 18px; }
.brand { flex: 1; color: var(--gold); font-size: 30px; font-weight: 800; letter-spacing: -.6px; }
.badge-dot { position: absolute; top: 6px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--on-gold); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.privacy-line { color: #E2C48C; font-size: 12px; padding: 0 18px 8px; display: flex; align-items: center; gap: 5px; }
.search { margin: 0 14px 6px; background: var(--surface2); border-radius: 12px; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 12px; color: var(--muted); }
.search input { flex: 1; background: none; border: 0; outline: none; height: 100%; font-size: 16px; }
.list-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.room-row, .invite-row, .list-row { display: flex; align-items: center; gap: 13px; padding: 10px 16px; }
.room-row:active, .list-row:active { background: #121214; }
.row-main { flex: 1; min-width: 0; }
.row-top, .row-bottom { display: flex; align-items: center; gap: 8px; }
.row-title { flex: 1; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-time { font-size: 12px; color: var(--muted); }
.row-time.hot { color: var(--gold); font-weight: 600; }
.row-sub { flex: 1; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.row-sub.bright { color: #D4D4D8; }
.row-sub.typing { color: var(--gold); font-style: italic; }
.row-sub.gold { color: var(--gold); font-size: 12px; }
.unread { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--gold); color: var(--on-gold); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.unread.muted { background: #3A3A40; color: #ddd; }
.empty { text-align: center; color: var(--muted2); padding-top: 80px; }
.empty p { color: var(--muted); font-size: 15px; }
.empty small { color: #555; }
.fab { position: fixed; right: 18px; bottom: calc(22px + var(--sb)); width: 58px; height: 58px; border-radius: 18px; background: var(--gold); color: var(--on-gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.5); z-index: 5; }
.skeleton .sk-row { display: flex; align-items: center; gap: 13px; padding: 10px 16px; animation: pulse 1s ease-in-out infinite alternate; }
.sk-av { width: 52px; height: 52px; border-radius: 50%; background: #1C1C20; flex: none; }
.sk-bar { display: block; height: 13px; border-radius: 7px; background: #1C1C20; margin: 4px 0 10px; }
.sk-bar.thin { height: 11px; margin: 0; }
@keyframes pulse { from { opacity: .45; } to { opacity: 1; } }
.banner { margin: 4px 12px 6px; background: #1B1710; border: 1px solid rgba(210,161,84,.35); color: #E9D6B1; border-radius: 14px; padding: 10px 10px 10px 12px; display: flex; gap: 10px; align-items: center; font-size: 13.5px; position: fixed; left: 0; right: 0; bottom: calc(92px + var(--sb)); z-index: 4; }
.banner svg { color: var(--gold); flex: none; }
.banner > div { flex: 1; }
.offline { position: fixed; top: calc(var(--st) + 2px); left: 50%; transform: translateX(-50%); background: #3a2a10; color: #f0d49a; padding: 5px 12px; border-radius: 14px; font-size: 12.5px; z-index: 30; }

/* ---- sohbet ---- */
.messages { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 10px 10px; display: flex; flex-direction: column; }
.privacy-note { align-self: center; max-width: 86%; margin: 4px 0 10px; padding: 8px 12px; border-radius: 12px; background: rgba(210,161,84,.12); color: #E2C48C; font-size: 12.5px; text-align: center; display: flex; gap: 6px; align-items: center; }
.date-sep { align-self: center; margin: 10px 0 8px; }
.date-sep span { padding: 4px 12px; border-radius: 10px; background: var(--surface2); color: var(--muted); font-size: 12px; font-weight: 600; }
.sys-line { align-self: center; color: var(--muted2); font-size: 12px; margin: 6px 0; text-align: center; }
.call-line { align-self: center; display: inline-flex; align-items: center; gap: 6px; background: var(--surface2); color: #cfcfd3; font-size: 13px; padding: 6px 12px; border-radius: 12px; margin: 6px 0; }
.call-line.missed { color: #ff8a83; }
.call-line span { color: var(--muted2); font-size: 11.5px; margin-left: 4px; }
.msg-row { display: flex; flex-direction: column; max-width: 100%; margin-top: 1px; }
.msg-row.gfirst { margin-top: 6px; }
.msg-row.left { align-items: flex-start; }
.msg-row.right { align-items: flex-end; }
.msg-row.flash .bubble { box-shadow: 0 0 0 2px var(--gold); }
.sender { color: var(--gold); font-size: 12px; font-weight: 700; margin: 0 0 2px 6px; }
.bubble { max-width: min(78vw, 420px); border-radius: 18px; position: relative; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.bubble.text, .bubble.card { padding: 8px 12px 6px; }
.bubble.mine.text, .bubble.mine.card { background: var(--gold); color: var(--on-gold); }
.bubble.theirs.text, .bubble.theirs.card { background: var(--bubble); }
.bubble.mine { border-top-right-radius: 6px; border-bottom-right-radius: 6px; }
.bubble.theirs { border-top-left-radius: 6px; border-bottom-left-radius: 6px; }
.bubble.mine.first { border-top-right-radius: 18px; }
.bubble.theirs.first { border-top-left-radius: 18px; }
.bubble.media { padding: 3px; background: var(--bubble); }
.bubble.mine.media { background: var(--gold); }
.bubble.stk { background: none; }
.msg-text { white-space: pre-wrap; word-break: break-word; font-size: 15.5px; line-height: 1.32; }
.bubble.mine a { color: #0B3A82; }
.meta { float: right; font-size: 11px; color: #9A9AA0; margin: 6px 0 -2px 10px; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.meta.on-gold { color: var(--on-gold-2); }
.meta .tick { display: inline-flex; }
.meta.on-gold .read { color: var(--on-gold); }
.meta:not(.on-gold) .read { color: var(--gold); }
.bubble.media .meta:not(.on-gold) { position: absolute; right: 9px; bottom: 9px; background: rgba(0,0,0,.55); color: #fff; padding: 2px 7px; border-radius: 10px; margin: 0; }
.msg-row > .meta { float: none; margin: 2px 4px; }
.caption { padding: 4px 8px 2px; font-size: 15px; }
.bubble.mine .caption { color: var(--on-gold); }
.media-img { display: block; max-width: min(72vw, 330px); min-width: 120px; border-radius: 15px; object-fit: cover; }
.media-video { display: block; max-width: min(72vw, 330px); border-radius: 15px; background: #000; }
.media-box { width: min(64vw, 260px); height: 170px; border-radius: 15px; background: #2A2A2E; display: flex; align-items: center; justify-content: center; color: #6E6E76; gap: 8px; flex-direction: column; }
.media-box.video { cursor: pointer; }
.play-circle { width: 56px; height: 56px; border-radius: 28px; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; }
.prog { font-size: 12px; color: var(--muted); }
.sticker { width: 150px; height: 150px; object-fit: contain; display: block; }
.lockbox { display: flex; align-items: center; gap: 8px; color: inherit; opacity: .8; font-size: 14px; font-style: italic; }
.quote { margin-bottom: 6px; padding: 5px 10px 5px 9px; border-left: 3px solid var(--gold); border-radius: 8px; background: rgba(255,255,255,.06); max-width: 100%; }
.quote.on-gold { background: rgba(0,0,0,.12); border-left-color: #6B4A12; }
.q-name { font-size: 12px; font-weight: 700; color: var(--gold); }
.quote.on-gold .q-name { color: #6B4A12; }
.q-text { font-size: 12.5px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.reactions { display: flex; flex-wrap: wrap; gap: 4px; margin: 3px 4px 0; }
.react { background: var(--surface2); border: 1px solid #2E2E2E; border-radius: 12px; padding: 2px 8px; font-size: 12.5px; }
.react.mine { background: rgba(210,161,84,.25); border-color: var(--gold); }
.voice { display: flex; align-items: center; gap: 10px; width: min(64vw, 236px); }
.voice-btn { width: 38px; height: 38px; border-radius: 19px; background: var(--gold); color: var(--on-gold); display: flex; align-items: center; justify-content: center; flex: none; }
.voice.mine .voice-btn { background: var(--on-gold); color: var(--gold); }
.wave { flex: 1; height: 30px; display: flex; align-items: center; justify-content: space-between; }
.wave span { width: 2.6px; border-radius: 2px; background: #4A4A52; }
.wave span.on { background: var(--gold); }
.voice.mine .wave span { background: #6B5023; }
.voice.mine .wave span.on { background: var(--on-gold); }
.voice-time { font-size: 11.5px; font-weight: 600; color: #9A9AA0; min-width: 30px; text-align: right; font-variant-numeric: tabular-nums; }
.voice.mine .voice-time { color: var(--on-gold-2); }
.filecard, .protcard { display: flex; align-items: center; gap: 10px; max-width: 280px; }
.file-ic, .prot-ic, .file-dl { width: 40px; height: 40px; border-radius: 11px; background: #2A2A2E; color: var(--gold); display: flex; align-items: center; justify-content: center; flex: none; }
.file-dl, .prot-ic { border-radius: 20px; width: 36px; height: 36px; }
.mine .file-ic, .mine .file-dl, .mine .prot-ic { background: rgba(26,19,5,.14); color: var(--on-gold); }
.file-main { flex: 1; min-width: 0; }
.file-name { font-size: 14px; font-weight: 600; word-break: break-word; }
.file-sub, .prot-sub { font-size: 12px; color: var(--muted); }
.mine .file-sub, .mine .prot-sub { color: var(--on-gold-2); }
.prot-title { font-size: 14.5px; font-weight: 600; }
.pending-text { display: inline-flex; padding: 2px 6px; }
.typing-bubble { align-self: flex-start; background: var(--bubble); border-radius: 16px; padding: 10px 14px; display: flex; gap: 4px; margin-top: 6px; }
.typing-bubble span { width: 7px; height: 7px; border-radius: 50%; background: #8a8a90; animation: blink 1.2s infinite; }
.typing-bubble span:nth-child(2) { animation-delay: .2s; } .typing-bubble span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.upload-bar { padding: 6px 14px; background: var(--surface); font-size: 12.5px; color: var(--muted); }
.upload-bar .bar { height: 4px; background: #2A2A2E; border-radius: 2px; margin-top: 4px; overflow: hidden; }
.upload-bar i { display: block; height: 100%; background: var(--gold); transition: width .2s; }
.deleted-note { padding: 16px 16px calc(16px + var(--sb)); text-align: center; color: var(--muted); background: var(--surface); }

/* ---- yazma kutusu ---- */
.composer-wrap { flex: none; background: var(--bg); padding-bottom: var(--sb); }
.composer { display: flex; align-items: flex-end; gap: 6px; padding: 6px 8px; }
.composer.recording { align-items: center; padding: 10px 10px calc(10px + var(--sb)); }
.composer textarea { flex: 1; resize: none; background: var(--surface2); border: 1px solid var(--line); border-radius: 22px; padding: 10px 16px; font-size: 16px; line-height: 1.3; max-height: 140px; outline: none; min-height: 44px; }
.send-btn { width: 44px; height: 44px; border-radius: 22px; background: var(--gold); color: var(--on-gold); display: flex; align-items: center; justify-content: center; flex: none; }
.rec-info { flex: 1; display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; font-size: 17px; }
.rec-info small { color: var(--muted2); }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); display: inline-block; animation: blink 1s infinite; }
.reply-bar { display: flex; align-items: center; gap: 8px; margin: 4px 10px 0; padding: 6px 6px 6px 10px; border-left: 3px solid var(--gold); background: var(--surface2); border-radius: 10px; }
.rb-main { flex: 1; min-width: 0; }
.rb-name { color: var(--gold); font-size: 12.5px; font-weight: 700; }
.rb-text { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticker-panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px; max-height: 240px; overflow-y: auto; background: var(--surface); }
.sticker-panel.empty { display: block; color: var(--muted); font-size: 13.5px; text-align: center; padding: 18px; }
.sticker-panel .stk img { width: 100%; aspect-ratio: 1; object-fit: contain; }

/* ---- önizleme ---- */
.preview { position: fixed; inset: 0; z-index: 40; background: #000; display: flex; flex-direction: column; padding: var(--st) 0 var(--sb); }
.preview-top { display: flex; align-items: center; justify-content: space-between; padding: 4px; color: #fff; }
.preview-main { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.preview-main img, .preview-main video { max-width: 100%; max-height: 100%; }
.preview-thumbs { display: flex; gap: 6px; padding: 6px 10px; overflow-x: auto; }
.preview-thumbs button { width: 54px; height: 54px; border-radius: 8px; overflow: hidden; background: #222; flex: none; border: 2px solid transparent; display: flex; align-items: center; justify-content: center; }
.preview-thumbs button.on { border-color: var(--gold); }
.preview-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.viewonce { display: flex; align-items: center; gap: 8px; padding: 8px 14px; color: #E2C48C; font-size: 13.5px; }
.viewonce input { width: 20px; height: 20px; accent-color: var(--gold); }
.preview-bottom { display: flex; gap: 8px; padding: 6px 10px 10px; }
.preview-bottom input { flex: 1; background: #1a1a1d; border: 1px solid #333; border-radius: 22px; padding: 0 16px; height: 44px; font-size: 16px; outline: none; }
.viewer { position: fixed; inset: 0; z-index: 50; background: #000; display: flex; align-items: center; justify-content: center; }
.viewer img, .viewer video { max-width: 100%; max-height: 100%; }
.viewer-x { position: absolute; top: calc(8px + var(--st)); left: 8px; color: #fff; z-index: 2; }

/* ---- alt menü / pencere ---- */
.sheet-back, .dialog-back { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.55); display: flex; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.sheet-back { align-items: flex-end; }
.sheet { width: 100%; background: #1C1C1F; border-radius: 18px 18px 0 0; padding: 8px 8px calc(10px + var(--sb)); animation: up .18s ease-out; max-height: 80vh; overflow-y: auto; }
@keyframes up { from { transform: translateY(40px); } }
.sheet-title { padding: 10px 12px 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.sheet-item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 14px; border-radius: 12px; font-size: 16px; text-align: left; }
.sheet-item:active { background: rgba(255,255,255,.06); }
.sheet-item.danger { color: var(--red); }
.sheet-item.cancel { justify-content: center; color: var(--muted); margin-top: 4px; }
.react-bar { display: flex; justify-content: space-around; padding: 8px 4px 10px; border-bottom: 1px solid #2a2a2e; margin-bottom: 4px; }
.react-bar button { font-size: 28px; padding: 4px; }
.react-bar .more { color: var(--gold); }
.dialog-back { align-items: center; justify-content: center; padding: 20px; }
.dialog { width: 100%; max-width: 380px; background: #1E1E21; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.dialog h3 { margin: 0; font-size: 18px; }
.dialog p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.emoji-grid .grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.emoji-grid .grid button { font-size: 26px; padding: 6px 0; }

/* ---- profil / ayarlar ---- */
.profile-name { margin: 8px 0 0; font-size: 22px; }
.about { color: #d4d4d8; text-align: center; padding: 6px 16px; white-space: pre-wrap; }
.profile-actions { display: flex; gap: 12px; margin: 14px 0 6px; }
.pa { width: 86px; padding: 12px 0; background: var(--surface2); border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--gold); font-size: 13px; }
.menu-list { margin: 14px 12px 0; background: var(--surface); border-radius: 14px; overflow: hidden; width: calc(100% - 24px); }
.center-col .menu-list { margin: 14px 0 0; width: 100%; }
.menu-item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-align: left; font-size: 15.5px; border-bottom: 1px solid #1d1d21; }
.menu-item:last-child { border-bottom: 0; }
.menu-item span { flex: 1; }
.menu-item small { color: var(--muted); font-size: 12.5px; }
.menu-item svg { color: var(--gold); flex: none; }
.menu-item.danger, .menu-item.danger svg { color: var(--red); }
.menu-item:disabled { opacity: .55; }
.menu-item.toggle input { width: 22px; height: 22px; accent-color: var(--gold); }
.settings-head { display: flex; flex-direction: column; align-items: center; padding: 20px 16px 6px; }
.av-wrap { position: relative; }
.av-edit { position: absolute; right: 0; bottom: 0; width: 32px; height: 32px; border-radius: 16px; background: var(--gold); color: var(--on-gold); display: flex; align-items: center; justify-content: center; border: 3px solid var(--bg); }
.about-btn { color: var(--muted); font-size: 14px; margin-top: 6px; display: inline-flex; gap: 6px; align-items: center; text-align: center; max-width: 90%; }
.foot-note { color: #55555c; font-size: 12px; text-align: center; padding: 22px 30px; }
.section-title { color: var(--muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; padding: 18px 2px 6px; }
.list-row { padding: 9px 2px; }
.add-friend { display: flex; gap: 8px; align-items: center; padding-top: 12px; }
.add-friend input { height: 44px; }
.info-card { background: var(--surface2); border-radius: 12px; padding: 14px; display: flex; gap: 10px; align-items: center; margin: 10px 0; }
.info-card svg { color: var(--gold); }
.dev-ic { width: 40px; height: 40px; border-radius: 20px; background: var(--surface2); color: var(--gold); display: flex; align-items: center; justify-content: center; flex: none; }
.tag { margin-left: 8px; font-size: 11px; background: rgba(210,161,84,.18); color: var(--gold); padding: 2px 7px; border-radius: 8px; vertical-align: middle; }
.big-input { margin-top: 12px; }
.selectable input { width: 22px; height: 22px; accent-color: var(--gold); }

/* ---- bildirim, uyarı ---- */
.toast { position: fixed; left: 50%; bottom: calc(96px + var(--sb)); transform: translateX(-50%); background: #2A2A2E; color: #fff; padding: 10px 16px; border-radius: 14px; font-size: 14px; z-index: 90; max-width: 90vw; text-align: center; box-shadow: 0 6px 24px rgba(0,0,0,.5); animation: fade .2s; }
.toast.error { background: #5a1d1a; }
.inapp { position: fixed; top: calc(8px + var(--st)); left: 10px; right: 10px; z-index: 80; background: #232327; border-radius: 16px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; box-shadow: 0 8px 28px rgba(0,0,0,.6); animation: down .2s ease-out; }
@keyframes down { from { transform: translateY(-20px); opacity: 0; } }
.inapp > div { min-width: 0; }
.ia-t { font-weight: 700; font-size: 14px; }
.ia-x { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- arama ---- */
.call-screen { position: fixed; inset: 0; z-index: 70; background: #0b0b0d; display: flex; flex-direction: column; justify-content: space-between; padding: calc(40px + var(--st)) 20px calc(40px + var(--sb)); }
.remote-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.local-video { position: absolute; right: 14px; top: calc(14px + var(--st)); width: 110px; height: 160px; object-fit: cover; border-radius: 14px; z-index: 2; transform: scaleX(-1); background: #111; }
.call-top { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 40px; }
.call-top.over { margin-top: 0; text-shadow: 0 1px 6px #000; align-items: flex-start; }
.call-name { font-size: 26px; font-weight: 700; }
.call-status { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.rec-note { display: flex; gap: 6px; align-items: center; color: #f3c3bf; font-size: 12.5px; background: rgba(229,83,75,.15); padding: 4px 10px; border-radius: 10px; }
.call-buttons { position: relative; z-index: 1; display: flex; justify-content: center; gap: 22px; }
.cbtn { width: 64px; height: 64px; border-radius: 32px; background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; }
.cbtn.off { background: #fff; color: #111; }
.cbtn.red { background: var(--red); }
.cbtn.green { background: var(--green); }
.call-ended { position: fixed; top: calc(12px + var(--st)); left: 50%; transform: translateX(-50%); z-index: 70; background: #2A2A2E; padding: 8px 16px; border-radius: 14px; font-size: 14px; }

.install-note { background: #1B1710; border: 1px solid rgba(210,161,84,.35); color: #E9D6B1; border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.45; }
