:root {
  --bg: #120f16;
  --panel: #1d1722;
  --panel-2: #2a2030;
  --ink: #fff7fb;
  --muted: #c8b8c8;
  --line: #3a2c40;
  --accent: #d98caf;
  --accent-2: #b86f94;
  --danger: #d86f7c;
  --success: #8fc7a3;
  --warning: #e7bd77;
  --bubble: #2b2231;
  --cream: #ffe9f1;
  --rose-soft: rgba(217, 140, 175, .16);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 140, 175, .24), transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(156, 123, 255, .13), transparent 28%),
    linear-gradient(180deg, #160f18 0%, var(--bg) 55%, #0f0c13 100%);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, select { font: inherit; }
.app-shell { width: min(1460px, calc(100% - 32px)); margin: 24px auto; }
.product { display: grid; grid-template-columns: 330px minmax(500px, 1fr) 330px; gap: 18px; min-height: calc(100vh - 48px); min-height: calc(100dvh - 48px); }
@media (max-width: 1180px) { .product { grid-template-columns: 340px minmax(0, 1fr); } .support-panel { grid-column: 1 / -1; } .support-shell { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .support-shell { grid-template-columns: 1fr; } .app-shell { margin: 12px auto; width: min(100% - 20px, 760px); } }
.sidebar, .chat-panel, .support-panel { display: grid; gap: 14px; align-content: start; }
.brand { display: flex; gap: 12px; align-items: center; padding: 4px 2px; }
.logo { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #c49bd8); font-weight: 900; }
h1, h2, p { margin: 0; }
h1 { font-size: 22px; letter-spacing: -0.04em; }
.brand p, .note p { color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 3px; }
.panel, .chat-panel { background: rgba(23, 26, 35, .9); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.22); backdrop-filter: blur(14px); }
.panel { padding: 18px; }
.controls { display: grid; gap: 14px; }
.section-title { color: var(--ink); font-weight: 900; letter-spacing: -0.03em; }
label { display: block; color: var(--muted); font-size: 13px; font-weight: 800; margin-bottom: 7px; }
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.topic {
  border: 1px solid rgba(217, 140, 175, .30);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 233, 241, .075), rgba(255, 255, 255, .035));
  border-radius: 17px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  min-height: 78px;
  transition: .16s ease;
  box-shadow: 0 10px 26px rgba(60, 30, 45, .08);
}
.topic strong { display: flex; align-items: center; gap: 7px; font-size: 14px; margin-bottom: 6px; letter-spacing: -0.025em; }
.topic .topic-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: rgba(255, 233, 241, .10); font-size: 13px; }
.topic span { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }
.topic:hover {
  border-color: rgba(217, 140, 175, .55);
  background: linear-gradient(180deg, rgba(255, 233, 241, .12), rgba(217, 140, 175, .06));
  transform: translateY(-1px);
}
.topic.active {
  border-color: rgba(217, 140, 175, .72);
  background: linear-gradient(135deg, rgba(255, 209, 224, .22), rgba(196, 155, 216, .18));
  box-shadow: 0 14px 34px rgba(217, 140, 175, .16);
}
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 0; }
select, input { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #10131b; color: var(--ink); padding: 12px 13px; outline: none; }
select:focus, input:focus { border-color: var(--accent); }
.toggle-row { display: flex; align-items: center; gap: 10px; color: var(--ink); background: #10131b; border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin: 0; cursor: pointer; }
.toggle-row input { width: auto; accent-color: var(--accent); }
.action-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
button { border: 0; cursor: pointer; border-radius: 14px; font-weight: 900; }
.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; padding: 13px 15px; }
.secondary { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); padding: 13px 15px; }
.danger { background: rgba(242, 95, 92, .14); color: #ff9b99; border: 1px solid rgba(242,95,92,.45); padding: 13px 15px; }
.small-btn { padding: 9px 11px; font-size: 13px; }
.status { border-radius: 14px; padding: 11px 12px; font-size: 13px; line-height: 1.45; border: 1px solid var(--line); background: #10131b; color: var(--muted); }
.status.waiting { color: var(--warning); border-color: rgba(241,185,80,.35); background: rgba(241,185,80,.08); }
.status.live { color: var(--success); border-color: rgba(57,201,128,.35); background: rgba(57,201,128,.08); }
.note strong { display: block; margin-bottom: 6px; }
.chat-panel { overflow: hidden; grid-template-rows: auto auto auto minmax(0, 1fr) auto auto; min-height: calc(100vh - 48px); min-height: calc(100dvh - 48px); }
.chat-header { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.room-title { font-weight: 950; font-size: 20px; letter-spacing: -0.04em; }
.room-subtitle { margin-top: 3px; color: var(--muted); font-size: 13px; }
.header-actions { display: flex; gap: 8px; }
.security { margin: 14px 20px 0; padding: 11px 12px; border-radius: 14px; color: var(--muted); background: #10131b; border: 1px solid var(--line); font-size: 13px; }
.security.pending { color: var(--warning); border-color: rgba(241,185,80,.35); background: rgba(241,185,80,.08); }
.security.ready { color: var(--success); border-color: rgba(57,201,128,.35); background: rgba(57,201,128,.08); }
.security.error { color: #ff9b99; border-color: rgba(242,95,92,.45); background: rgba(242,95,92,.10); }
.security.webrtc { margin-top: 8px; font-size: 12px; }
.chat-box { margin: 14px 20px; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 4px; overscroll-behavior: contain; scrollbar-gutter: stable; }
.empty-state { margin: auto; text-align: center; color: var(--muted); max-width: 360px; }
.empty-icon { margin: 0 auto 10px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px; background: var(--panel-2); color: var(--accent); font-size: 26px; }
.empty-state h2 { color: var(--ink); font-size: 22px; letter-spacing: -0.04em; margin-bottom: 6px; }
.empty-state p { line-height: 1.65; }
.msg { max-width: 78%; width: fit-content; padding: 11px 13px; border-radius: 16px 16px 16px 6px; background: var(--bubble); color: var(--ink); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.mine { align-self: flex-end; background: var(--accent); color: white; border-radius: 16px 16px 6px 16px; }
.msg.system { align-self: center; max-width: 100%; background: transparent; color: var(--muted); font-size: 12px; padding: 5px 8px; }
.composer { padding: 16px 20px 20px; display: grid; grid-template-columns: 1fr auto; gap: 10px; border-top: 1px solid var(--line); }
.composer input:disabled { opacity: .55; }
@media (max-width: 560px) { .two-cols, .topic-grid, .action-row, .composer { grid-template-columns: 1fr; } .chat-header { align-items: flex-start; flex-direction: column; } .header-actions { width: 100%; } .header-actions button { flex: 1; } .chat-panel { min-height: 70vh; min-height: 70dvh; } .chat-box { min-height: 340px; } }
#remoteAudio { display: none; }
.media-tools {
  padding: 12px 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.media-tools button:disabled { opacity: .5; cursor: not-allowed; }
.media-status { color: var(--muted); font-size: 12px; line-height: 1.4; }
.msg.photo { padding: 8px; max-width: min(78%, 340px); display: grid; gap: 6px; position: relative; }
.photo-countdown-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(16, 13, 20, .64);
  color: rgba(255, 247, 251, .92);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
  pointer-events: none;
}
.photo-countdown-pill.soon {
  border-color: rgba(217, 140, 175, .45);
  background: rgba(217, 140, 175, .20);
}
.msg.photo canvas.photo-canvas { display: block; max-width: 100%; max-height: 360px; border-radius: 12px; object-fit: contain; background: #0b0e15; user-select: none; -webkit-user-select: none; transition: filter .18s ease, transform .18s ease; }
.msg.photo.mine canvas.photo-canvas { background: rgba(255,255,255,.12); }
.msg.photo.expired { opacity: .72; }
.msg.photo.expired .photo-reveal-btn { display: none; }
.msg.photo canvas.blurred-preview { filter: blur(var(--photo-preview-blur, 8px)); transform: scale(1.01); cursor: pointer; }
.photo-caption { font-size: 11px; opacity: .78; padding: 0 4px 2px; }
.photo-reveal-btn { justify-self: center; margin-top: -2px; border: 1px solid rgba(255,255,255,.20); background: rgba(255,255,255,.10); color: var(--ink); border-radius: 999px; padding: 7px 11px; font-size: 12px; }
.photo-reveal-btn:hover { background: rgba(255,255,255,.16); }
.voice-request { width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid rgba(241,185,80,.35); background: rgba(241,185,80,.08); border-radius: 14px; color: var(--warning); font-size: 13px; }
.voice-request.hidden, .modal.hidden { display: none; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.68); backdrop-filter: blur(6px); }
.modal-card { width: min(720px, 100%); max-height: calc(100vh - 36px); max-height: calc(100dvh - 36px); overflow: auto; overscroll-behavior: contain; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 16px; box-shadow: var(--shadow); }
.modal-header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.modal-header h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -0.04em; }
.modal-header p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.camera-preview { width: 100%; max-height: min(62vh, 560px); max-height: min(62dvh, 560px); border-radius: 18px; background: #05070b; object-fit: contain; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
@media (max-width: 560px) { .media-tools { align-items: stretch; } .media-tools button { flex: 1; } .media-status, .voice-request { width: 100%; } .modal-actions { flex-direction: column; } }


/* Desktop: fixed app height, scroll only the chat log and the sidebar if needed. */
@media (min-width: 1181px) {
  html, body { height: 100%; overflow: hidden; }
  .app-shell { height: calc(100vh - 48px); height: calc(100dvh - 48px); overflow: hidden; }
  .product { height: 100%; min-height: 0; }
  .sidebar, .support-panel { height: 100%; min-height: 0; overflow-y: auto; padding-right: 2px; align-content: stretch; }
  .sidebar { grid-template-rows: auto minmax(0, 1fr); }
  .sidebar > .controls { min-height: 0; height: 100%; align-content: start; }
  .support-panel > .support-shell { min-height: 100%; }
  .chat-panel {
    height: 100%;
    min-height: 0;
    align-content: stretch;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  }
  .chat-box {
    min-height: 0;
    overflow-y: auto;
  }
}

/* Mobile/tablet: keep the original natural page growth. */
@media (max-width: 900px) {
  html, body { height: auto; overflow: auto; }
  .app-shell { height: auto; overflow: visible; }
  .product { min-height: calc(100vh - 24px); min-height: calc(100dvh - 24px); }
  .sidebar, .support-panel { height: auto; max-height: none; overflow: visible; padding-right: 0; }
  .support-panel > .support-shell { min-height: 0; }
  .chat-panel {
    height: auto;
    min-height: 70vh;
    min-height: 70dvh;
    align-content: start;
    grid-template-rows: auto;
    overflow: visible;
  }
  .chat-box {
    min-height: 340px;
    max-height: none;
    overflow-y: visible;
  }
}


.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand h1 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.logo {
  color: #fff7fb;
  box-shadow: 0 10px 28px rgba(217, 140, 175, .28);
}

.panel, .chat-panel {
  background: linear-gradient(180deg, rgba(32, 24, 38, .94), rgba(24, 18, 29, .92));
}
.security-note p + p { margin-top: 7px; }
.note-subtle { color: #967f93 !important; font-size: 12px !important; }
.support-panel { min-height: 0; }
.support-shell { display: grid; gap: 10px; align-content: start; min-height: 0; }
.support-card { padding: 14px 15px; border: 1px solid rgba(255,255,255,.06); border-radius: 17px; background: linear-gradient(180deg, rgba(32, 24, 38, .70), rgba(24, 18, 29, .58)); }
.support-card strong { display: block; margin-bottom: 7px; font-size: 13px; letter-spacing: -0.02em; }
.support-card p { font-size: 12px; line-height: 1.5; }
.support-card p + p { margin-top: 4px; }

.gender-tag-guide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.gender-tag-guide .meta-chip {
  min-height: 22px;
  padding: 3px 7px;
  font-size: 11px;
}
.tag-order-mark { color: var(--muted); font-weight: 800; }

.secret-card { border-color: rgba(217, 140, 175, .32); background: linear-gradient(180deg, rgba(217, 140, 175, .12), rgba(24, 18, 29, .88)); }

.chat-status {
  margin: 14px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.status.waiting .typing-dots { display: inline-flex; gap: 4px; align-items: center; }
.typing-dots i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: .35;
  animation: onlyDearDots 1.1s infinite ease-in-out;
}
.typing-dots i:nth-child(2) { animation-delay: .16s; }
.typing-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes onlyDearDots {
  0%, 80%, 100% { transform: translateY(0); opacity: .28; }
  40% { transform: translateY(-4px); opacity: 1; }
}

.waiting-state .pulse-dots {
  display: inline-flex;
  gap: 6px;
  width: auto;
  height: 52px;
  padding: 0 16px;
}
.waiting-state .pulse-dots i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  animation: onlyDearPulse 1.15s infinite ease-in-out;
}
.waiting-state .pulse-dots i:nth-child(2) { animation-delay: .16s; }
.waiting-state .pulse-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes onlyDearPulse {
  0%, 80%, 100% { transform: scale(.72); opacity: .35; }
  40% { transform: scale(1.15); opacity: 1; }
}

.icon-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
}
.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-btn.secondary {
  background: rgba(255, 233, 241, .06);
  color: var(--cream);
  border: 1px solid rgba(217, 140, 175, .28);
}
.icon-btn.secondary:hover:not(:disabled) {
  background: rgba(217, 140, 175, .16);
  border-color: rgba(217, 140, 175, .48);
}
.icon-btn.danger {
  background: rgba(216, 111, 124, .16);
  color: #ffb4be;
  border: 1px solid rgba(216, 111, 124, .52);
}
.icon-btn.mic-on {
  background: rgba(143, 199, 163, .17);
  color: #a9e5bd;
  border: 1px solid rgba(143, 199, 163, .56);
}
.icon-btn.mic-muted {
  background: rgba(216, 111, 124, .17);
  color: #ffb4be;
  border: 1px solid rgba(216, 111, 124, .56);
}

.security.ready {
  color: #dff5e7;
  border-color: rgba(143,199,163,.38);
  background: rgba(143,199,163,.10);
}
.security.pending {
  color: #ffe1a8;
  border-color: rgba(231,189,119,.38);
  background: rgba(231,189,119,.09);
}

.msg.mine {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.composer input:focus,
.field input:focus,
select:focus {
  outline: 2px solid rgba(217,140,175,.35);
  border-color: rgba(217,140,175,.55);
}

.voice-check-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(217, 140, 175, .26);
  border-radius: 16px;
  background: rgba(255, 233, 241, .055);
}
.voice-check-card strong { display: block; font-size: 13px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.voice-check-card p { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.voice-check-card button:disabled { opacity: .72; cursor: default; }
.voice-check-card.verified { border-color: rgba(143, 199, 163, .42); background: rgba(143, 199, 163, .09); }
.voice-check-modal { max-width: 520px; }

.report-modal { max-width: 540px; }
.report-reason-list { display: grid; gap: 12px; margin: 12px 0; }
.report-reason-group { display: grid; gap: 7px; }
.report-reason-group-title { color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: -.01em; padding: 0 2px; }
.report-reason {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: var(--cream);
  cursor: pointer;
  text-align: left;
}
.report-reason:hover { border-color: rgba(217,140,175,.36); background: rgba(255,233,241,.075); }
.report-reason input { accent-color: var(--accent); margin: 0; }
.report-reason-body { display: grid; gap: 3px; min-width: 0; text-align: left; justify-items: start; }
.report-reason-title { font-size: 13px; font-weight: 850; line-height: 1.2; text-align: left; }
.report-reason-unavailable { color: var(--muted); font-size: 11px; font-weight: 750; line-height: 1.25; text-align: left; }
.report-reason.disabled { opacity: .48; cursor: not-allowed; background: rgba(255,255,255,.025); }
.report-reason.disabled:hover { border-color: rgba(255,255,255,.10); background: rgba(255,255,255,.025); }
.report-detail-field { display: grid; gap: 7px; margin-top: 10px; color: var(--muted); font-size: 12px; font-weight: 850; }
.report-detail-field em { font-style: normal; opacity: .72; font-weight: 700; }
.report-detail-field textarea {
  min-height: 84px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  color: var(--text);
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
}
.report-detail-field textarea:focus { outline: 2px solid rgba(217,140,175,.35); border-color: rgba(217,140,175,.55); }
.report-note { margin: 10px 2px 0; color: var(--muted); font-size: 12px; line-height: 1.45; }

.voice-word-card {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 233, 241, .045);
  padding: 20px;
  text-align: center;
}
.voice-step { color: var(--muted); font-size: 13px; font-weight: 800; }
.voice-word { font-size: clamp(34px, 7vw, 58px); font-weight: 950; letter-spacing: -0.08em; color: var(--cream); }
.voice-result { color: var(--muted); font-size: 13px; min-height: 20px; }
.voice-live-panel {
  width: min(100%, 380px);
  display: grid;
  gap: 8px;
  margin: 2px auto 4px;
}
.voice-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.voice-listening-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  color: var(--muted);
}
.voice-listening-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.3);
}
.voice-listening-badge.listening::before { background: rgba(217,140,175,.8); }
.voice-listening-badge.speaking::before { background: rgba(143,199,163,.95); box-shadow: 0 0 0 5px rgba(143,199,163,.12); }
.voice-timer { font-variant-numeric: tabular-nums; color: var(--cream); }
.voice-wave {
  width: 100%;
  height: 70px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(13, 18, 25, .22);
}
.voice-timer-track {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.voice-timer-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(217,140,175,.8), rgba(143,199,163,.78));
  transition: width .08s linear;
}
.peer-meta-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.meta-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}
.gender-chip.strong { color: #dff5e7; background: rgba(143,199,163,.18); border-color: rgba(143,199,163,.45); }
.gender-chip.medium { color: #ffe1a8; background: rgba(231,189,119,.14); border-color: rgba(231,189,119,.38); }
.gender-chip.weak { color: #c9bdc8; background: rgba(190,180,190,.10); border-color: rgba(190,180,190,.25); }
.gender-chip.neutral { color: var(--muted); background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.10); }
.topic-chip { color: #ffd6e5; background: rgba(217,140,175,.14); border-color: rgba(217,140,175,.30); }
.intro-chip { color: var(--cream); background: rgba(255,233,241,.075); border-color: rgba(255,233,241,.16); overflow: hidden; text-overflow: ellipsis; }
select option:disabled { color: #766776; }
@media (max-width: 560px) {
  .voice-check-card { align-items: stretch; flex-direction: column; }
  .voice-check-card button { width: 100%; }
  .peer-meta-chips { margin-top: 8px; }
  .meta-chip { max-width: 100%; }
}
.ai-waiting-modal { max-width: 620px; }
.ai-character-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.ai-character-card {
  display: grid;
  gap: 5px;
  text-align: left;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(217, 140, 175, .28);
  background: linear-gradient(180deg, rgba(255, 233, 241, .075), rgba(255, 255, 255, .035));
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(60, 30, 45, .08);
}
.ai-character-card:hover {
  transform: translateY(-1px);
  border-color: rgba(217, 140, 175, .58);
  background: linear-gradient(135deg, rgba(255, 209, 224, .18), rgba(196, 155, 216, .14));
}
.ai-character-card strong { font-size: 14px; letter-spacing: -.025em; }
.ai-character-card span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.meta-chip.ai-chip {
  border-color: rgba(196, 155, 216, .55);
  background: rgba(196, 155, 216, .18);
  color: #f5eaff;
}
.security.ai {
  border-color: rgba(196, 155, 216, .38);
  background: rgba(196, 155, 216, .10);
}
@media (max-width: 560px) { .ai-character-list { grid-template-columns: 1fr; } }
