/* FSK AI — sesli sohbet, komut paleti, "/" komutları, hafıza ve sesli sohbet yönetimi */

/* ================= Yazma alanı: sesli sohbet düğmesi ================= */
.voice-btn { position: relative; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #fff; background: radial-gradient(120% 120% at 30% 20%, color-mix(in oklab, var(--accent) 70%, #fff), var(--accent) 55%, color-mix(in oklab, var(--accent) 60%, #000)); box-shadow: 0 6px 18px -6px color-mix(in oklab, var(--accent) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .35s var(--spring), box-shadow .3s; overflow: hidden; }
.voice-btn::after { content: ''; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .35), transparent 30%); animation: vb-spin 3.6s linear infinite; opacity: .55; }
.voice-btn:hover { transform: scale(1.07); box-shadow: 0 10px 26px -6px color-mix(in oklab, var(--accent) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, .4); }
.voice-btn:active { transform: scale(.92); }
.vb-bars { position: relative; z-index: 1; display: flex; align-items: center; gap: 2.5px; height: 16px; }
.vb-bars i { width: 2.6px; border-radius: 3px; background: currentColor; height: 30%; animation: vb-bar 1.3s ease-in-out infinite; }
.vb-bars i:nth-child(1) { animation-delay: -.2s; } .vb-bars i:nth-child(2) { animation-delay: -.55s; } .vb-bars i:nth-child(3) { animation-delay: -.9s; } .vb-bars i:nth-child(4) { animation-delay: -.35s; } .vb-bars i:nth-child(5) { animation-delay: -.7s; }
.voice-btn:hover .vb-bars i { animation-duration: .7s; }
@keyframes vb-bar { 0%, 100% { height: 28%; } 50% { height: 100%; } }
@keyframes vb-spin { to { transform: rotate(1turn); } }
html.vx-lock, html.vx-lock body { overflow: hidden; }

/* ================= Sesli sohbet ekranı ================= */
.vx { --vx-fg: #f5f5f7; position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-rows: auto 1fr auto; color: var(--vx-fg); background: #060609; opacity: 0; transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); overflow: hidden; }
.vx.in { opacity: 1; }
.vx.out { opacity: 0; transform: scale(1.03); }
/* Arka plan: duygu rengine yumuşakça geçen bulanık degrade + kürenin kendi renklerini yansıtan ortam ışığı (ambilight) */
@property --vx-c1 { syntax: '<color>'; inherits: true; initial-value: #c9d8f5; }
@property --vx-c2 { syntax: '<color>'; inherits: true; initial-value: #9c8cff; }
@property --vx-c3 { syntax: '<color>'; inherits: true; initial-value: #6fd0e6; }
@property --vx-c4 { syntax: '<color>'; inherits: true; initial-value: #3a4a7a; }
.vx { transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), --vx-c1 1.4s ease, --vx-c2 1.6s ease, --vx-c3 1.8s ease, --vx-c4 1.4s ease; background: radial-gradient(120% 90% at 50% 38%, #0d1020 0%, #07080f 55%, #040409 100%); }
.vx-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.vx-grad { position: absolute; inset: -20%; filter: blur(90px) saturate(1.25); opacity: .55; transition: opacity 1s; }
.vx-grad i { position: absolute; border-radius: 50%; mix-blend-mode: screen; will-change: transform; }
.vx-grad i:nth-child(1) { width: 62vmax; height: 62vmax; left: 4%; top: 2%; background: radial-gradient(circle, var(--vx-c2) 0%, transparent 68%); animation: vx-orbit1 26s ease-in-out infinite alternate; }
.vx-grad i:nth-child(2) { width: 58vmax; height: 58vmax; right: 2%; bottom: 0; background: radial-gradient(circle, var(--vx-c3) 0%, transparent 66%); animation: vx-orbit2 31s ease-in-out infinite alternate; }
.vx-grad i:nth-child(3) { width: 46vmax; height: 46vmax; left: 34%; top: 30%; background: radial-gradient(circle, var(--vx-c1) 0%, transparent 64%); opacity: .7; animation: vx-orbit3 21s ease-in-out infinite alternate; }
.vx-grad i:nth-child(4) { width: 80vmax; height: 50vmax; left: 10%; bottom: -10%; background: radial-gradient(ellipse, var(--vx-c4) 0%, transparent 70%); animation: vx-orbit2 37s ease-in-out infinite alternate-reverse; }
@keyframes vx-orbit1 { 50% { transform: translate(14vmax, 8vmax) scale(1.12) rotate(20deg); } 100% { transform: translate(4vmax, 18vmax) scale(.92) rotate(-10deg); } }
@keyframes vx-orbit2 { 50% { transform: translate(-12vmax, -9vmax) scale(.9); } 100% { transform: translate(-20vmax, 4vmax) scale(1.15); } }
@keyframes vx-orbit3 { 50% { transform: translate(-10vmax, 6vmax) scale(1.2); } 100% { transform: translate(8vmax, -8vmax) scale(.85); } }
.vx[data-state="speaking"] .vx-grad { opacity: .72; }
.vx[data-state="thinking"] .vx-grad { opacity: .62; }
.vx.err .vx-grad { opacity: .25; }
/* Ortam ışığı: küre tuvalinin bulanık kopyası, kürenin arkasında büyütülmüş ve nefes alır gibi */
.vx-amb { position: absolute; left: var(--ox, 50%); top: var(--oy, 40%); width: calc(var(--os, 420px) * 3.4); height: calc(var(--os, 420px) * 3.4); transform: translate(-50%, -50%); opacity: .42; mix-blend-mode: screen; filter: saturate(1.9) brightness(.85); image-rendering: auto; animation: vx-breathe 6s ease-in-out infinite; transition: opacity .8s; }
.vx[data-state="speaking"] .vx-amb { opacity: .62; }
.vx[data-state="connecting"] .vx-amb, .vx.err .vx-amb { opacity: .25; }
@keyframes vx-breathe { 50% { transform: translate(-50%, -50%) scale(1.06); } }
/* Işık havuzu: kürenin altında zemine düşen renkli yansıma */
.vx-pool { position: absolute; left: var(--ox, 50%); top: calc(var(--oy, 40%) + var(--os, 420px) * .62); width: calc(var(--os, 420px) * 1.6); height: calc(var(--os, 420px) * .32); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(ellipse, color-mix(in srgb, var(--vx-c1) 55%, transparent) 0%, transparent 70%); filter: blur(28px); opacity: .55; }
.vx-vig { position: absolute; inset: 0; background: radial-gradient(130% 100% at 50% 40%, transparent 45%, rgba(0, 0, 0, .55) 100%); }
.vx-grain { position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.vx-chip.mood { color: #fff; border-color: color-mix(in srgb, var(--vx-c1) 55%, transparent); background: color-mix(in srgb, var(--vx-c1) 22%, transparent); font-family: inherit; font-weight: 600; }
.vx-chip.mood.rest { opacity: .62; font-weight: 500; }
.vx-chip.mood.rest::before { content: 'Ruh hali · '; opacity: .75; }
.vx-chip.mood.vx-pop { animation: vx-mood .6s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes vx-mood { from { transform: scale(.7); opacity: 0; } }
.vx[data-state="speaking"] .vx-status::before { background: var(--vx-c1); box-shadow: 0 0 14px var(--vx-c1); }
.vx-ai .said { color: #fff; text-shadow: 0 0 22px color-mix(in srgb, var(--vx-c1) 45%, transparent); }
.vx-orb { filter: drop-shadow(0 30px 60px color-mix(in srgb, var(--vx-c4) 60%, transparent)); }

.vx-top { position: relative; display: flex; align-items: center; gap: 10px; padding: 16px 18px; }
.vx-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }
.vx-brand div { display: grid; line-height: 1.2; }
.vx-brand b { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.vx-brand small { font-size: 12px; color: rgba(255, 255, 255, .55); }
.vx-chip { padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); font: 500 12.5px var(--mono); color: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; }
.vx-chip.soft { font-family: inherit; }
.vx-chip.warn { color: #ffb86b; border-color: rgba(255, 184, 107, .35); }
.vx-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s, transform .3s var(--spring); }
.vx-icon:hover { background: rgba(255, 255, 255, .16); transform: rotate(90deg); }
.vx-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 0 20px; min-height: 0; }
.vx-orb { position: relative; width: min(62vmin, 430px); aspect-ratio: 1; border-radius: 50%; padding: 0; background: none; cursor: pointer; animation: vx-orb-in .9s var(--spring) both .08s; -webkit-tap-highlight-color: transparent; }
.vx-orb canvas { width: 100%; height: 100%; display: block; }
.vx-orb:focus-visible { outline: 2px solid rgba(255, 255, 255, .5); outline-offset: 8px; }
@keyframes vx-orb-in { from { opacity: 0; transform: scale(.6); filter: blur(12px); } }
.vx-status { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 8px 16px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .09); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-size: 14px; font-weight: 500; letter-spacing: .01em; animation: blk-in .6s var(--ease-out) both .2s; }
.vx-dots { display: none; gap: 4px; }
.vx-dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: vx-dot 1.1s ease-in-out infinite; }
.vx-dots i:nth-child(2) { animation-delay: .15s; } .vx-dots i:nth-child(3) { animation-delay: .3s; }
.vx[data-state="thinking"] .vx-dots, .vx[data-state="connecting"] .vx-dots { display: inline-flex; }
@keyframes vx-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.vx[data-state="listening"] .vx-status::before, .vx[data-state="user"] .vx-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: vx-live 1.6s infinite; }
.vx[data-state="speaking"] .vx-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.vx.err .vx-status { color: #ffb4b4; border-color: rgba(255, 120, 120, .3); background: rgba(255, 80, 80, .1); }
@keyframes vx-live { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.vx-retry { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 12.5px; }
.vx-cap { width: min(680px, 100%); min-height: 96px; display: grid; align-content: start; gap: 8px; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease-out); }
.vx.caps .vx-cap { opacity: 1; transform: none; }
.vx-user { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .55); opacity: 0; transition: opacity .25s; }
.vx-user.on { opacity: 1; }
.vx-user:not(.final)::after { content: '▍'; margin-left: 2px; animation: vx-caret 1s steps(1) infinite; color: var(--accent); }
@keyframes vx-caret { 50% { opacity: 0; } }
.vx-ai { margin: 0; font-family: var(--font-display); font-size: clamp(18px, 2.6vw, 23px); line-height: 1.45; letter-spacing: -.01em; color: rgba(255, 255, 255, .32); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease-out); text-wrap: balance; }
.vx-ai.on { opacity: 1; transform: none; }
.vx-ai .said { color: #fff; transition: color .2s; }
.vx-bar { position: relative; display: flex; align-items: flex-start; justify-content: center; gap: clamp(14px, 4vw, 30px); padding: 18px 18px 26px; }
.vx-btn { display: grid; justify-items: center; gap: 7px; color: rgba(255, 255, 255, .78); font-size: 12px; background: none; }
.vx-btn > .i { box-sizing: content-box; width: 22px; height: 22px; padding: 15px; border-radius: 50%; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background .2s, transform .3s var(--spring), color .2s, box-shadow .3s; }
.vx-btn:hover > .i { background: rgba(255, 255, 255, .17); transform: translateY(-2px); }
.vx-btn:active > .i { transform: scale(.9); }
.vx-btn.big > .i { width: 26px; height: 26px; padding: 21px; background: #fff; color: #0b0b0f; border-color: transparent; box-shadow: 0 10px 30px -8px rgba(255, 255, 255, .45); }
.vx-btn.big.off > .i { background: #ff4d5e; color: #fff; box-shadow: 0 10px 30px -8px rgba(255, 77, 94, .6); }
.vx-btn.big { position: relative; }
.vx-btn.end > .i { background: rgba(255, 77, 94, .2); color: #ff8a95; border-color: rgba(255, 77, 94, .35); }
.vx-btn.end:hover > .i { background: #ff4d5e; color: #fff; }
.vx-btn[aria-pressed="true"]:not(.big) > .i, .vx-btn[aria-expanded="true"] > .i { background: rgba(255, 255, 255, .22); color: #fff; }
@keyframes vx-pop { from { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.96); } }
@media (max-width: 600px) {
  .vx-top { padding: 12px; }
  .vx-chip.soft { display: none; }
  .vx-orb { width: min(78vw, 360px); }
  .vx-btn span { display: none; }
  .vx-bar { padding-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) { .vx-grad i, .vx-amb, .voice-btn::after, .vb-bars i { animation: none !important; } .vx-orb { animation: none; } }

/* ================= Komut paleti ================= */
.cmdk-wrap { position: fixed; inset: 0; z-index: 1500; display: flex; justify-content: center; align-items: flex-start; padding: 13vh 16px 16px; background: color-mix(in srgb, #000 34%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.cmdk-wrap.in { opacity: 1; }
.cmdk-wrap.out { opacity: 0; }
.cmdk { width: min(660px, 100%); max-height: 72vh; display: flex; flex-direction: column; border-radius: 20px; background: color-mix(in srgb, var(--elev) 94%, transparent); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); border: 1px solid var(--line-2); box-shadow: var(--shadow-3), 0 0 0 1px color-mix(in oklab, var(--accent) 14%, transparent); overflow: hidden; transform: translateY(-10px) scale(.97); transition: transform .35s var(--spring); }
.cmdk-wrap.in .cmdk { transform: none; }
.cmdk-in { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 60px; border-bottom: 1px solid var(--line); }
.cmdk-in > .i { color: var(--fg-3); flex: none; }
.cmdk-in input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; color: var(--fg); font-size: 16.5px; }
.cmdk-in input::placeholder { color: var(--fg-3); }
.cmdk kbd, .slash-menu kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: color-mix(in oklab, var(--fg) 7%, transparent); border: 1px solid var(--line-2); border-bottom-width: 2px; font: 600 11px var(--mono); color: var(--fg-2); }
.cmdk-list { overflow-y: auto; padding: 6px; overscroll-behavior: contain; }
.cmdk-g { padding: 10px 10px 5px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }
.cmdk-it { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; text-align: left; color: var(--fg); animation: cmdk-in .32s var(--ease-out) both; animation-delay: var(--d, 0ms); transition: background .12s; }
@keyframes cmdk-in { from { opacity: 0; transform: translateY(4px); } }
.cmdk-it.on { background: color-mix(in oklab, var(--accent) 12%, transparent); }
.cmdk-it .ci { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in oklab, var(--fg) 6%, transparent); color: var(--fg-2); transition: background .15s, color .15s, transform .25s var(--spring); }
.cmdk-it.on .ci { background: var(--accent); color: #fff; transform: scale(1.05); }
.cmdk-it .ct { flex: 1; min-width: 0; display: grid; gap: 1px; }
.cmdk-it .ct b { font-weight: 500; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmdk-it .ct small { font-size: 12.5px; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmdk-it mark, .slash-menu mark { background: none; color: var(--accent); font-weight: 700; }
.cmdk-it .ct small mark { background: color-mix(in oklab, var(--accent) 18%, transparent); color: var(--fg); border-radius: 3px; padding: 0 1px; font-weight: 600; }
.cmdk-it .cmdk-keys { display: flex; flex-direction: row; align-items: center; gap: 3px; flex: none; }
.cmdk-on { color: var(--accent); flex: none; }
.cmdk-meta { flex: none; font-size: 12px; color: var(--fg-3); }
.cmdk-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--fg-3); }
.cmdk-foot span { display: inline-flex; align-items: center; gap: 5px; }
.cmdk-empty { display: grid; justify-items: center; gap: 6px; padding: 34px 16px; text-align: center; color: var(--fg-2); }
.cmdk-empty > .i { width: 28px; height: 28px; color: var(--fg-3); }
.cmdk-empty small { color: var(--fg-3); }
.cmdk-empty .btn { margin-top: 8px; gap: 6px; }
@media (max-width: 600px) { .cmdk-wrap { padding-top: 8vh; } .cmdk-foot { display: none; } .cmdk-it .cmdk-keys { display: none; } }

/* ================= "/" komut menüsü ================= */
.slash-menu { position: absolute; left: 50%; bottom: calc(100% - 4px); z-index: 20; width: min(520px, calc(100% - 32px)); max-height: min(380px, 50vh); overflow-y: auto; padding: 6px; border-radius: 18px; background: color-mix(in srgb, var(--elev) 94%, transparent); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: 1px solid var(--line-2); box-shadow: var(--shadow-3); transform: translate(-50%, 8px) scale(.98); opacity: 0; transition: transform .3s var(--spring), opacity .18s; }
.slash-menu.in { transform: translate(-50%, 0); opacity: 1; }
.sm-h { padding: 6px 10px 4px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-3); }
.sm-it { width: 100%; display: flex; align-items: center; gap: 11px; padding: 7px 10px; border-radius: 11px; text-align: left; color: var(--fg); }
.sm-it.on { background: color-mix(in oklab, var(--accent) 12%, transparent); }
.sm-it .ci { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in oklab, var(--fg) 6%, transparent); color: var(--fg-2); }
.sm-it.on .ci { background: var(--accent); color: #fff; }
.sm-it .ct { flex: 1; min-width: 0; display: grid; }
.sm-it .ct b { font: 600 13.5px var(--mono); }
.sm-it .ct b em { font-style: normal; font-weight: 400; color: var(--fg-3); font-family: var(--font, inherit); font-size: 12.5px; }
.sm-it .ct small { font-size: 12.5px; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ================= Hafıza (ayarlar) ================= */
.mem-add { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; padding: 5px 5px 5px 12px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.mem-add:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft, color-mix(in oklab, var(--accent) 18%, transparent)); }
.mem-add-ic { color: var(--fg-3); display: grid; }
.mem-add .field { flex: 1; min-width: 0; height: 36px; border: 0; padding: 0; background: none; box-shadow: none; }
.mem-list { display: grid; gap: 8px; }
.mem-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 10px 11px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); animation: blk-in .45s var(--ease-out) both; animation-delay: var(--d, 0ms); transition: opacity .2s, transform .25s var(--ease-out), border-color .2s; }
.mem-item:hover { border-color: var(--line-2); }
.mem-item.out { opacity: 0; transform: translateX(24px) scale(.98); }
.mem-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 4px color-mix(in oklab, #1f9d55 15%, transparent); }
.mem-dot.auto { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 16%, transparent); }
.mem-body { flex: 1; min-width: 0; }
.mem-t { margin: 0; font-size: 14px; line-height: 1.45; }
.mem-body small { display: block; margin-top: 2px; font-size: 12px; color: var(--fg-3); }
.mem-in { width: 100%; height: 34px; }
.mem-item .icon-btn { opacity: .55; transition: opacity .15s; }
.mem-item:hover .icon-btn, .mem-item .icon-btn:focus-visible { opacity: 1; }
.mem-empty { display: grid; justify-items: center; gap: 6px; padding: 30px 18px; text-align: center; border: 1px dashed var(--line-2); border-radius: 16px; color: var(--fg-2); }
.mem-empty > .i { color: var(--accent); }
.mem-empty small { color: var(--fg-3); max-width: 420px; line-height: 1.5; }
.mem-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 13px; }

/* ================= Yönetim: sesli sohbet ================= */
.v-empty { display: grid; justify-items: center; gap: 8px; padding: 18px; text-align: center; border: 1px dashed var(--line-2); border-radius: 16px; margin-bottom: 8px; }
.v-empty > .i { color: var(--accent); }
.v-empty p { margin: 0; max-width: 460px; }
.v-stat { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 14px; border-radius: 16px; background: color-mix(in oklab, var(--accent) 6%, var(--bg)); border: 1px solid color-mix(in oklab, var(--accent) 18%, var(--line)); margin-bottom: 10px; }
.v-stat-l { display: grid; gap: 4px; flex: 1; min-width: 200px; }
.v-stat-l b { font-family: var(--font-display); font-size: 18px; }
.v-stat-l small { color: var(--fg-3); }
.v-stat-r { flex: 1; min-width: 220px; display: grid; gap: 4px; }
.v-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.v-search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; padding: 0 0 0 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); }
.v-search .field { border: 0; background: none; box-shadow: none; padding-left: 0; }
.vv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: 10px; max-height: 560px; overflow-y: auto; padding: 2px; }
.vv { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); transition: border-color .2s, box-shadow .25s, transform .25s var(--spring); }
.vv:hover { border-color: var(--line-2); transform: translateY(-1px); }
.vv.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent); }
.vv-h { display: flex; align-items: center; gap: 10px; }
.vv-av { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent), #ff4fd8 50%)); }
.vv-n { flex: 1; min-width: 0; display: grid; }
.vv-n b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv-n small { font-size: 12px; color: var(--fg-3); }
.vv-sel { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 600; }
.vv-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.vv-tags span { padding: 2px 8px; border-radius: 99px; background: color-mix(in oklab, var(--fg) 6%, transparent); font-size: 11.5px; color: var(--fg-2); }
.vv-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.vv-acts .btn { gap: 5px; }
.btn.loading { opacity: .6; pointer-events: none; }
.v-rng { display: grid; gap: 6px; margin: 4px 0 12px; }
.v-rng-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; }
.v-rng-h span { font: 600 12.5px var(--mono); color: var(--accent); }
.v-rng input[type=range] { width: 100%; accent-color: var(--accent); }
.v-rng small { font-size: 12px; color: var(--fg-3); }
.v-test { display: flex; gap: 8px; }
.v-test .field { flex: 1; min-width: 0; }
.v-test .btn { gap: 6px; flex: none; }
.v-note { display: flex; gap: 8px; padding: 10px 12px; border-radius: 12px; background: color-mix(in oklab, var(--accent) 7%, transparent); font-size: 12.5px; color: var(--fg-2); line-height: 1.5; }
.v-note > .i { flex: none; color: var(--accent); margin-top: 2px; }
.v-orbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 12px; }
.v-orb { display: grid; justify-items: center; gap: 3px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(120% 100% at 50% 0%, #15151c, #08080b); color: #f2f2f5; text-align: center; transition: border-color .2s, transform .3s var(--spring), box-shadow .3s; }
.v-orb:hover { transform: translateY(-2px); }
.v-orb.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent), 0 14px 30px -14px var(--accent); }
.v-orb canvas { width: 110px; height: 110px; }
.v-orb b { font-size: 13.5px; }
.v-orb small { font-size: 11.5px; color: rgba(255, 255, 255, .55); line-height: 1.35; }
.form-grid.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 700px) { .form-grid.g3 { grid-template-columns: 1fr; } }
.v-tags small .warn-t { color: #c27c0e; font-weight: 600; }
.v-blob { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 18px; align-items: center; }
.v-blob-stage { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 90% at 50% 38%, #12152a, #06070d 70%); border: 1px solid var(--line-2); }
.v-blob-stage canvas { position: absolute; inset: 6%; width: 88%; height: 88%; }
.v-blob-side p { margin: 0 0 12px; font-size: 13px; line-height: 1.55; }
.v-moods { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.v-mood { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 7px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--bg); font-size: 12.5px; color: var(--fg-2); transition: border-color .2s, color .2s, transform .25s var(--spring); }
.v-mood i { width: 14px; height: 14px; border-radius: 50%; background: var(--mc); box-shadow: 0 0 10px var(--mc); }
.v-mood:hover { transform: translateY(-1px); color: var(--fg); }
.v-mood.on { border-color: var(--mc); color: var(--fg); background: color-mix(in srgb, var(--mc) 14%, var(--bg)); }
.v-lvl { display: grid; gap: 6px; font-size: 12.5px; color: var(--fg-3); max-width: 320px; }
.v-lvl input { accent-color: var(--accent); }
@media (max-width: 700px) { .v-blob { grid-template-columns: 1fr; } }

/* Yönetim: çevrimiçi göstergesi ve misafir avatarı */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3, #8a8a92); display: inline-block; margin-right: 2px; flex: none; }
.live-dot.on { background: #34c759; box-shadow: 0 0 0 0 rgba(52, 199, 89, .55); animation: live-ping 1.8s ease-out infinite; }
@keyframes live-ping { to { box-shadow: 0 0 0 7px rgba(52, 199, 89, 0); } }
.avatar-u.guest { background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; }
.avatar-u.guest svg { width: 14px; height: 14px; }
