/* Shared “See how they talk” chat UI — used with each companion theme */
.talk-shell { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 18px 64px; }

.talk-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 8px 0 22px;
  opacity: 0.92;
}

.talk-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.talk-rating span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: 0.9;
}

.talk-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0 28px;
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.talk-turn {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: start;
  max-width: 92%;
  animation: talkIn 0.45s ease both;
}
.talk-turn.you {
  margin-left: auto;
  grid-template-columns: 1fr 44px;
}
.talk-turn.you .talk-bubble { order: 1; }
.talk-turn.you .talk-avatar { order: 2; }

.talk-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.25);
  background: #000;
  flex-shrink: 0;
}
.talk-avatar video,
.talk-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.talk-avatar.you-av {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
}

.talk-bubble {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  line-height: 1.55;
}
.talk-turn.you .talk-bubble {
  background: rgba(255,255,255,0.1);
  border-radius: 16px 16px 4px 16px;
}
.talk-turn.eaci .talk-bubble {
  border-radius: 16px 16px 16px 4px;
}
.talk-who {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
  opacity: 0.75;
}
.talk-bubble p {
  margin: 0;
  font-size: 0.98rem;
}
.talk-bubble p + p { margin-top: 0.55em; }

.talk-scene {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.65;
  margin: 28px 0 10px;
  padding-left: 2px;
}

.talk-cta {
  margin-top: 28px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  text-align: center;
}
.talk-cta h2 {
  font-size: 1.25rem;
  margin: 0 0 8px;
  border: none;
  padding: 0;
}
.talk-cta p { margin: 0 0 14px; opacity: 0.9; }
.talk-cta-btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none !important;
  border: 1px solid currentColor;
  background: rgba(255,255,255,0.08);
}
.talk-cta-btn:hover { background: rgba(255,255,255,0.14); }

.talk-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.talk-nav a {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none !important;
  background: rgba(0,0,0,0.2);
}
.talk-nav a:hover { background: rgba(255,255,255,0.08); }

.talk-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 20px 0 32px;
}
@media (min-width: 640px) {
  .talk-hub-grid { grid-template-columns: 1fr 1fr; }
}
.talk-hub-card {
  display: block;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.28);
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.2s, border-color 0.2s;
}
.talk-hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.35);
}
.talk-hub-card video {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(255,255,255,0.25);
  margin-bottom: 10px;
  background: #000;
}
.talk-hub-card h2 {
  font-size: 1.1rem;
  margin: 0 0 6px;
  border: none;
  padding: 0;
}
.talk-hub-card p { margin: 0; font-size: 0.88rem; opacity: 0.88; }
.talk-hub-meta {
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.7;
}

@keyframes talkIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.talk-turn:nth-child(1) { animation-delay: 0.05s; }
.talk-turn:nth-child(2) { animation-delay: 0.12s; }
.talk-turn:nth-child(3) { animation-delay: 0.18s; }
.talk-turn:nth-child(4) { animation-delay: 0.24s; }
.talk-turn:nth-child(5) { animation-delay: 0.3s; }
.talk-turn:nth-child(6) { animation-delay: 0.36s; }
