/* ────────────────────────────────────────────────────────────────────────
   开放性关系人格测试 页面样式（依赖 styles.css 的设计 token）
   ──────────────────────────────────────────────────────────────────────── */

.no-scroll {
  overflow: hidden;
}

/* 显式设置过 display 的元素（.age-overlay / .shared-banner 等）会覆盖
   hidden 属性的 UA 样式，必须补一条兜底规则 */
[hidden] {
  display: none !important;
}

/* ─── 全页暗色主题（入口/答题/结果统一）───
   quiz.css 在 styles.css 之后加载，直接在 body 上覆写设计 token，
   所有用 token 的组件（卡片/选项/条形图/头尾）自动切换到暗色。 */
body {
  color-scheme: dark;
  --background: #0d0710;
  --foreground: #f2edf0;
  --card: #191021;
  --card-foreground: #f2edf0;
  --secondary: #241627;
  --secondary-foreground: #e8dfe5;
  --muted: #291c2f;
  --muted-foreground: #a795a2;
  --border: rgba(255, 255, 255, 0.1);
  background: #0d0710;
  color: var(--foreground);
  /* sticky footer：内容不满一屏时 main 撑满剩余高度，footer 贴底 */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.quiz-main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

/* 氛围光晕铺满整站（入口页最明显，答题/结果页做低调底色） */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 40% at 72% 6%, rgba(142, 42, 92, 0.32), transparent 70%),
    radial-gradient(50% 45% at 18% 88%, rgba(196, 52, 46, 0.2), transparent 70%),
    radial-gradient(130% 90% at 50% 0%, #221024 0%, #130814 52%, #0d0710 100%);
  animation: introGlow 9s ease-in-out infinite;
}

/* ─── 18+ 遮罩 ─── */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 5, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.age-dialog {
  background: var(--card);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.age-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.age-dialog h2 {
  margin-bottom: 1rem;
}

.age-dialog p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.age-dialog .age-sub {
  color: var(--foreground);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.age-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ─── 布局 ─── */
.quiz-header-tag {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
  background: none;
  border: none;
  padding: 0.25rem 0;
  cursor: pointer;
  font-family: inherit;
}

.quiz-header-tag:hover {
  color: var(--foreground);
}

.quiz-main {
  max-width: 640px;
  padding-top: 2rem;
  padding-bottom: 3rem;
  min-height: 60vh;
}

.view {
  display: none;
}

.view.active {
  display: block;
  animation: viewIn 0.3s ease;
}

@keyframes viewIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── 入口页（暗色氛围，PRD 方案A） ─── */
@keyframes introGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.intro-hero {
  text-align: center;
  padding: 4rem 0 3rem;
}

@media (min-width: 640px) {
  .intro-hero { padding: 5.5rem 0 4rem; }
}

.intro-kicker {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  margin-bottom: 1.5rem;
  animation: introFadeUp 0.6s ease both;
}

.intro-title {
  font-size: 2.4rem;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  animation: introFadeUp 0.6s ease 0.08s both;
}

@media (min-width: 640px) {
  .intro-title { font-size: 3.1rem; }
}

.intro-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.9;
  max-width: 480px;
  margin: 0 auto 1.75rem;
  animation: introFadeUp 0.6s ease 0.16s both;
}

.intro-stats {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  margin-bottom: 2.75rem;
  animation: introFadeUp 0.6s ease 0.24s both;
}

.intro-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  max-width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #ff5a5f 0%, #e0392f 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1.05rem 1.75rem;
  cursor: pointer;
  animation:
    introFadeUp 0.6s ease 0.32s both,
    introBreathe 2.8s ease-in-out 1.2s infinite;
  transition: transform 0.2s;
}

.intro-start:hover {
  transform: translateY(-2px);
}

.intro-start:active {
  transform: translateY(0);
}

.intro-start .icon {
  width: 1.15rem;
  height: 1.15rem;
}

@keyframes introBreathe {
  0%, 100% { box-shadow: 0 8px 32px rgba(228, 62, 62, 0.35); }
  50% { box-shadow: 0 10px 52px rgba(228, 62, 62, 0.62); }
}

@keyframes introFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.intro-micro {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  animation: introFadeUp 0.6s ease 0.4s both;
}

.intro-note {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.32);
  animation: introFadeUp 0.6s ease 0.44s both;
}

.intro-social {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  animation: introFadeUp 0.6s ease 0.52s both;
}

.intro-social strong {
  color: #ff6b5e;
  font-variant-numeric: tabular-nums;
}

/* ─── 11 种人格预览墙（3×4，中央标题格） ─── */
.persona-wall {
  max-width: 560px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  animation: introFadeUp 0.6s ease 0.6s both;
}


.persona-cell {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.persona-cell[data-code] {
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.persona-cell[data-code]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.persona-cell[data-code]:focus-visible {
  outline: 2px solid #ff6b5e;
  outline-offset: 2px;
}

.persona-cell img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
}

.persona-cell figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 0.375rem 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  background: linear-gradient(to top, rgba(13, 7, 16, 0.82) 40%, transparent);
}

/* 中央标题格 */
.persona-cell-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  background: linear-gradient(135deg, #ff5a5f 0%, #e0392f 100%);
  border-color: transparent;
  padding: 0.5rem;
}

.persona-title-main {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.persona-title-sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}

@media (min-width: 480px) {
  .persona-title-main { font-size: 1.2rem; }
  .persona-title-sub { font-size: 0.72rem; }
  .persona-cell figcaption { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .persona-wall { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .intro-kicker,
  .intro-title,
  .intro-sub,
  .intro-stats,
  .intro-start,
  .intro-micro,
  .intro-note,
  .intro-social {
    animation: none;
  }
}

/* ─── 答题页 ─── */
.quiz-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.quiz-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.375rem 0.5rem;
  border-radius: var(--radius-sm);
}

.quiz-back:hover {
  color: var(--accent);
  background: var(--muted);
}

.quiz-back .icon {
  width: 1rem;
  height: 1rem;
}

.quiz-progress-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
}

.progress-track {
  height: 6px;
  background: var(--muted);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.q-text {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .q-text { font-size: 1.4rem; }
}

.options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1rem 1.125rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--foreground);
}

.option-btn:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  box-shadow: var(--shadow);
}

.option-btn.selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--card));
}

.option-key {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--muted);
  color: var(--muted-foreground);
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.option-btn.selected .option-key,
.option-btn:hover .option-key {
  background: var(--accent);
  color: var(--accent-foreground);
}

/* ─── 结果页 ─── */
.shared-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: color-mix(in srgb, var(--accent) 8%, var(--card));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: var(--radius-xl);
  padding: 0.875rem 1.125rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.result-hero {
  text-align: center;
  padding: 1.5rem 0 2rem;
}

.result-kicker {
  color: var(--muted-foreground);
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* 结果页人格头像（白底图 → 套米白圆角卡，衔接暗色背景） */
.result-avatar-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 1rem;
  border-radius: 24px;
  overflow: hidden;
  background: #fbf9f6;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.result-avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.persona-name {
  font-size: 2.25rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .persona-name { font-size: 2.75rem; }
}

.persona-tagline {
  font-size: 1.05rem;
  color: var(--foreground);
  font-weight: 500;
}

/* 匹配度（独占一行，混合提示另起一行） */
.match-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.match-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.match-label {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  font-weight: 600;
}

.mixed-hint {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  background: var(--muted);
  display: inline-block;
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* ─── 维度画像 ─── */
.dims-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .dims-card { padding: 2rem; }
}

.dims-title {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

/* 雷达图 / 条形图 分段 tab */
.dims-tabs {
  display: flex;
  background: var(--muted);
  border-radius: 999px;
  padding: 4px;
  max-width: 260px;
  margin: 0 auto 1.25rem;
}

.dims-tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

.dims-tab:hover:not(.active) {
  color: var(--foreground);
}

.dims-tab.active {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-sm);
}

.dims-bars {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.dim-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.375rem;
}

.dim-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--foreground);
}

.dim-score {
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.dim-desc {
  margin-top: 0.375rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* 分数段配色：低=灰蓝，中=琥珀，高=主题红 */
.dim-score.lv-low { color: #7d8ca3; }
.dim-score.lv-mid { color: #d97706; }
.dim-score.lv-high { color: var(--accent); }

.score-bar-fill.lv-low { background: #9aa8bd; }
.score-bar-fill.lv-mid { background: #f0a94b; }
.score-bar-fill.lv-high { background: var(--accent); }

/* 雷达图 */
.dims-radar svg {
  display: block;
  width: 100%;
  height: auto;
}

.radar-ring {
  fill: none;
  stroke: var(--border);
  stroke-width: 1;
}

.radar-axis {
  stroke: var(--border);
  stroke-width: 1;
}

.radar-area {
  fill: color-mix(in srgb, var(--accent) 22%, transparent);
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linejoin: round;
}

.radar-dot {
  fill: var(--accent);
}

.radar-label {
  font-size: 15px;
  font-weight: 600;
  fill: var(--foreground);
}

.dims-radar {
  margin: 0.5rem -0.5rem 0;
}

/* 版本切换 */
.version-toggle {
  display: flex;
  background: var(--muted);
  border-radius: 999px;
  padding: 4px;
  max-width: 320px;
  margin: 0 auto 1.5rem;
}

.version-btn {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.version-btn.active {
  background: var(--card);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.result-desc {
  padding: 1.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .result-desc { padding: 2rem; }
}

.result-desc p {
  color: color-mix(in srgb, var(--foreground) 88%, transparent);
  line-height: 1.9;
  margin-bottom: 0.375rem;
}

.result-desc p:last-child {
  margin-bottom: 0;
}

.secondary-hint {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.secondary-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  background: color-mix(in srgb, var(--accent) 8%, var(--card));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 999px;
  padding: 0.25rem 0.625rem;
  font-size: 0.95rem;
  color: var(--accent);
  vertical-align: baseline;
}

.secondary-chip:hover {
  background: color-mix(in srgb, var(--accent) 14%, var(--card));
}

.secondary-chip strong {
  color: var(--accent);
  font-weight: 600;
}

.secondary-chip .chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.secondary-chip.open .chevron {
  transform: rotate(180deg);
}

.secondary-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .secondary-card { padding: 2rem; }
}

.secondary-card p {
  color: color-mix(in srgb, var(--foreground) 88%, transparent);
  line-height: 1.9;
  margin-bottom: 0.375rem;
}

.secondary-card p:last-child {
  margin-bottom: 0;
}

.secondary-card-head {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent) !important;
  margin-bottom: 0.25rem !important;
}

.secondary-card-sub {
  font-weight: 600;
  color: var(--muted-foreground) !important;
  font-size: 0.9rem;
  margin-bottom: 0.875rem !important;
}

/* 倾向分布 */
.score-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.score-card h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.score-bars {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.score-bar-row {
  display: grid;
  grid-template-columns: minmax(120px, auto) 1fr 3rem;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.score-bar-name {
  color: var(--foreground);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-bar-track {
  height: 8px;
  background: var(--muted);
  border-radius: 999px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: color-mix(in srgb, var(--accent) 45%, var(--muted));
  border-radius: 999px;
  transition: width 0.6s ease;
}

.score-bar-fill.primary {
  background: var(--accent);
}

.score-bar-pct {
  text-align: right;
  color: var(--muted-foreground);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* 分享区 */
.share-card-wrap {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.share-card-wrap h3 {
  font-size: 1.05rem;
  margin-bottom: 0.375rem;
}

.share-sub {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.share-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* 小红书 / 微信安全版分享 */
.share-safe {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border);
}

.share-safe-note {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto 1rem;
}

.share-safe-note strong {
  color: var(--foreground);
}

.share-safe-btn {
  background: linear-gradient(135deg, #c9a294 0%, #a67f6f 100%);
  color: #fff;
  border: none;
}

.share-safe-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

/* CTA */
.quiz-cta {
  margin-bottom: 1.5rem;
}

.quiz-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* 应用商店徽章（仿官方 badge 样式） */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.625rem;
  padding: 0.5rem 1.125rem 0.5rem 0.875rem;
  min-width: 172px;
}

.store-badge:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}

.store-badge-logo {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  text-align: left;
}

.store-badge-small {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.store-badge-big {
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
}

.quiz-cta-invite {
  margin-top: 1.25rem;
  background: none;
  border: none;
  color: var(--accent-foreground);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.95;
}

.quiz-cta-invite:hover {
  opacity: 1;
}

.retake-wrap {
  text-align: center;
}

/* ─── 人格详情弹窗 ─── */
.persona-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 5, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: viewIn 0.2s ease;
}

.persona-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
}

.persona-modal-close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--muted);
  color: var(--muted-foreground);
}

.persona-modal-close:hover {
  color: var(--foreground);
}

.persona-modal-close .icon { width: 1.1rem; height: 1.1rem; }

.persona-modal-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 22px;
  overflow: hidden;
  background: #fbf9f6;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.persona-modal-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.persona-modal-name {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 0.375rem;
}

.persona-modal-tagline {
  font-size: 0.95rem;
  color: var(--foreground);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.persona-modal-desc {
  text-align: left;
}

.persona-modal-desc p {
  color: color-mix(in srgb, var(--foreground) 88%, transparent);
  line-height: 1.85;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.persona-modal-desc p:last-child { margin-bottom: 0; }

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--foreground);
  color: var(--background);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  animation: viewIn 0.25s ease;
}
