:root {
  --cream: #f8eee9;
  --cream-2: #fff9f6;
  --pink: #e8b7bb;
  --pink-deep: #b75f70;
  --pink-soft: #f3d8d7;
  --ink: #171314;
  --ink-soft: #514849;
  --line: rgba(23, 19, 20, 0.12);
  --white: #fffdfb;
  --danger: #9e3448;
  --success: #476a58;
  --shadow: 0 20px 50px rgba(77, 42, 47, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --safe-bottom: max(18px, env(safe-area-inset-bottom));
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  color: var(--ink);
  font-family:
    "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(232, 183, 187, 0.28), transparent 34%),
    linear-gradient(180deg, #fbf2ee 0%, #f7ebe6 100%);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.ambient {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(50px);
  pointer-events: none;
}

.ambient-one {
  width: 200px;
  height: 200px;
  top: 11vh;
  left: -100px;
  background: rgba(232, 183, 187, 0.32);
}

.ambient-two {
  width: 240px;
  height: 240px;
  right: -130px;
  bottom: 12vh;
  background: rgba(255, 255, 255, 0.8);
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: calc(82px + var(--safe-bottom));
  background: rgba(255, 253, 251, 0.52);
  border-inline: 1px solid rgba(255, 255, 255, 0.62);
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: max(12px, env(safe-area-inset-top)) 20px 10px;
  background: rgba(248, 238, 233, 0.88);
  border-bottom: 1px solid rgba(23, 19, 20, 0.07);
  backdrop-filter: blur(18px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feedback-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(99, 67, 75, 0.18);
  border-radius: 999px;
  background: rgba(255, 249, 246, 0.88);
  color: #6d3c49;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.invite-card {
  max-width: 470px;
}

.invite-form {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.invite-form label {
  color: #5d4650;
  font-weight: 700;
}

.invite-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(81, 59, 66, 0.2);
  border-radius: 16px;
  background: #fffaf8;
  color: #241b1e;
  font: 700 17px/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invite-form .primary-button {
  width: 100%;
  margin-top: 4px;
}

.form-error {
  min-height: 20px;
  margin: 0;
  color: #b13751;
  font-size: 13px;
}

.micro-copy {
  margin: 14px 0 0;
  color: #8a7b7f;
  font-size: 12px;
  text-align: center;
}

.feedback-modal {
  width: min(92vw, 620px);
  max-height: min(86vh, 780px);
  overflow-y: auto;
}

.feedback-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.feedback-question {
  display: grid;
  gap: 8px;
}

.feedback-question > label,
.feedback-question > legend {
  color: #382c30;
  font-weight: 750;
}

.feedback-question fieldset,
fieldset.feedback-question {
  margin: 0;
  padding: 0;
  border: 0;
}

.rating-row,
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rating-row label,
.choice-row label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid rgba(81, 59, 66, 0.16);
  border-radius: 12px;
  background: #fffaf8;
  cursor: pointer;
}

.feedback-form select,
.feedback-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(81, 59, 66, 0.18);
  border-radius: 14px;
  background: #fffaf8;
  color: #2f2528;
  font: inherit;
}

.feedback-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #67585d;
  font-size: 13px;
}

@media (max-width: 520px) {
  .feedback-button {
    padding: 0 10px;
    font-size: 12px;
  }
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 0;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}

.brand-mark,
.seal {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--cream-2);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 22px;
  font-weight: 800;
  background: var(--ink);
  border-radius: 13px 13px 13px 4px;
  box-shadow: 0 9px 20px rgba(23, 19, 20, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.icon-button {
  width: 38px;
  height: 38px;
  font-size: 24px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.page-container {
  padding: 20px 18px 28px;
}

.hero {
  position: relative;
  min-height: 315px;
  padding: 28px 24px;
  overflow: hidden;
  color: var(--cream-2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 42%),
    var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  right: -56px;
  bottom: -70px;
  width: 210px;
  height: 210px;
  content: "";
  border: 1px solid rgba(232, 183, 187, 0.48);
  border-radius: 50%;
  box-shadow:
    0 0 0 26px rgba(232, 183, 187, 0.07),
    0 0 0 54px rgba(232, 183, 187, 0.04);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 330px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--pink-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--pink);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(31px, 9vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.25;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.hero p {
  color: rgba(255, 253, 251, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.hero-actions,
.button-stack,
.inline-actions {
  display: flex;
  gap: 10px;
}

.hero-actions {
  position: relative;
  z-index: 2;
  margin-top: 25px;
}

.button-stack {
  flex-direction: column;
  margin-top: 18px;
}

.primary-button,
.secondary-button,
.ghost-button,
.text-button {
  min-height: 46px;
  padding: 0 18px;
  font-weight: 760;
  border-radius: 14px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    opacity 160ms ease,
    box-shadow 160ms ease;
}

.primary-button:active,
.secondary-button:active,
.ghost-button:active {
  transform: scale(0.98);
}

.primary-button {
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 10px 22px rgba(23, 19, 20, 0.16);
}

.hero .primary-button {
  color: var(--ink);
  background: var(--pink);
  border-color: var(--pink);
}

.primary-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  box-shadow: none;
}

.secondary-button {
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(23, 19, 20, 0.08);
}

.hero .secondary-button {
  color: var(--cream-2);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.ghost-button {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.text-button {
  min-height: 36px;
  padding: 0 8px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 28px 3px 13px;
}

.section-heading h2 {
  margin: 0;
  font-size: 20px;
}

.section-heading span {
  color: var(--ink-soft);
  font-size: 11px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-card,
.soft-card,
.profile-card,
.achievement-card,
.report-card,
.persona-card {
  padding: 18px;
  background: rgba(255, 253, 251, 0.82);
  border: 1px solid rgba(23, 19, 20, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(77, 42, 47, 0.06);
}

.feature-card {
  position: relative;
  min-height: 150px;
  text-align: left;
  cursor: pointer;
}

.feature-card.dark {
  color: var(--white);
  background: var(--ink);
}

.feature-card.pink {
  background: var(--pink-soft);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  font-size: 20px;
  background: rgba(232, 183, 187, 0.45);
  border-radius: 14px;
}

.feature-card h3 {
  margin-bottom: 5px;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.feature-card.dark p {
  color: rgba(255, 255, 255, 0.64);
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 14px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.status-item {
  padding: 16px 8px;
  text-align: center;
  background: rgba(255, 253, 251, 0.9);
}

.status-item strong,
.status-item span {
  display: block;
}

.status-item strong {
  margin-bottom: 4px;
  font-size: 20px;
}

.status-item span {
  color: var(--ink-soft);
  font-size: 10px;
}

.bottom-nav {
  position: fixed;
  z-index: 25;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 8px 8px var(--safe-bottom);
  background: rgba(255, 253, 251, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.nav-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  color: #8b7e80;
  background: transparent;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}

.nav-item span {
  font-size: 18px;
}

.nav-item small {
  font-size: 10px;
}

.nav-item.active {
  color: var(--ink);
  background: var(--pink-soft);
}

.page-title {
  margin: 8px 2px 20px;
}

.page-title p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.persona-list {
  display: grid;
  gap: 12px;
}

.persona-card {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 14px;
  align-items: center;
  text-align: left;
  cursor: pointer;
}

.persona-card.selected {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink);
}

.persona-symbol {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 22px;
  background: var(--pink-soft);
  border-radius: 17px;
}

.persona-card:nth-child(2) .persona-symbol {
  color: white;
  background: var(--pink-deep);
}

.persona-card:nth-child(3) .persona-symbol {
  color: var(--pink);
  background: var(--ink);
}

.persona-card:nth-child(4) .persona-symbol {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 48%),
    var(--pink);
  border: 1px solid rgba(23, 19, 20, 0.16);
  box-shadow: inset 0 0 0 4px rgba(255, 253, 251, 0.48);
}

.persona-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.chevron {
  color: var(--pink-deep);
  font-size: 22px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
}

.field label {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select,
.chat-input {
  width: 100%;
  color: var(--ink);
  background: rgba(255, 253, 251, 0.92);
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: none;
}

.field input,
.field select {
  min-height: 48px;
  padding: 0 14px;
}

.field textarea {
  min-height: 112px;
  padding: 14px;
  line-height: 1.65;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.chat-input:focus {
  border-color: var(--pink-deep);
  box-shadow: 0 0 0 3px rgba(183, 95, 112, 0.1);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 36px;
  padding: 0 13px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.chip.active {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.chat-shell {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 205px);
}

.chat-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 11px 13px;
  background: var(--pink-soft);
  border-radius: 14px;
}

.chat-context span {
  font-size: 12px;
  font-weight: 750;
}

.chat-context small {
  color: var(--ink-soft);
}

.chat-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 6px 0 18px;
}

.message {
  max-width: 88%;
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  border-radius: 18px;
}

.message.assistant {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}

.message.user {
  align-self: flex-end;
  color: var(--white);
  background: var(--ink);
  border-bottom-right-radius: 5px;
}

.message.safety {
  max-width: 100%;
  color: #682333;
  background: #f7dbe0;
  border: 1px solid rgba(158, 52, 72, 0.18);
}

.message-meta {
  display: block;
  margin-bottom: 4px;
  color: var(--pink-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.chat-compose {
  position: sticky;
  bottom: calc(67px + var(--safe-bottom));
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 9px;
  padding: 10px;
  background: rgba(248, 238, 233, 0.95);
  border: 1px solid var(--line);
  border-radius: 19px;
  backdrop-filter: blur(16px);
}

.chat-input {
  min-height: 46px;
  max-height: 130px;
  padding: 12px 14px;
  resize: none;
}

.send-button {
  width: 48px;
  height: 48px;
  color: var(--white);
  font-size: 20px;
  background: var(--ink);
  border: 0;
  border-radius: 15px;
  cursor: pointer;
}

.send-button:disabled {
  opacity: 0.4;
}

.quota-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 15px 16px;
  background: var(--ink);
  border-radius: 18px;
  color: var(--white);
}

.quota-banner strong {
  color: var(--pink);
  font-size: 24px;
}

.quota-banner small {
  display: block;
  color: rgba(255, 255, 255, 0.63);
}

.coin-stage {
  padding: 22px 14px;
  text-align: center;
  background:
    radial-gradient(circle, rgba(232, 183, 187, 0.18), transparent 55%),
    var(--ink);
  border-radius: var(--radius-xl);
}

.coins {
  display: flex;
  gap: 12px;
  justify-content: center;
  min-height: 86px;
  margin: 12px 0 20px;
  perspective: 800px;
}

.coin {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: #5d2c35;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 18px;
  font-weight: 800;
  background:
    radial-gradient(circle at 32% 28%, #fff6ea 0%, #eabfc1 47%, #b96c79 100%);
  border: 4px double rgba(90, 42, 51, 0.46);
  border-radius: 50%;
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.6),
    0 10px 20px rgba(0, 0, 0, 0.25);
}

.coin.flipping {
  animation: coinFlip 760ms cubic-bezier(0.3, 0.8, 0.3, 1);
}

@keyframes coinFlip {
  0% {
    transform: translateY(0) rotateY(0) rotateX(0);
  }
  48% {
    transform: translateY(-38px) rotateY(540deg) rotateX(220deg);
  }
  100% {
    transform: translateY(0) rotateY(1080deg) rotateX(360deg);
  }
}

.line-stack {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  margin: 20px auto;
  width: min(270px, 86%);
}

.yao-line {
  display: grid;
  grid-template-columns: 24px 1fr 42px;
  gap: 9px;
  align-items: center;
  min-height: 23px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
}

.line-visual {
  display: flex;
  gap: 9px;
}

.line-visual i {
  display: block;
  height: 7px;
  background: var(--pink);
  border-radius: 8px;
}

.line-visual.yang i {
  width: 100%;
}

.line-visual.yin i {
  width: calc(50% - 4.5px);
}

.moving-dot {
  color: var(--pink);
  font-size: 12px;
}

.throw-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.throw-label strong {
  color: var(--white);
  font-size: 16px;
}

.report-header {
  padding: 25px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-xl);
}

.report-header .hex-name {
  margin-bottom: 5px;
  color: var(--pink);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 35px;
}

.report-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  line-height: 1.6;
}

.report-grid {
  display: grid;
  gap: 12px;
  margin-top: 13px;
}

.report-card h3 {
  display: flex;
  gap: 8px;
  align-items: center;
}

.report-card p,
.report-card li {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.deep-report-card {
  position: relative;
  overflow: hidden;
}

.deep-report-card.primary {
  border-color: rgba(213, 111, 133, 0.24);
  background: linear-gradient(145deg, rgba(255, 247, 245, 0.96), rgba(255, 253, 251, 0.88));
}

.deep-report-card.primary::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--pink-deep);
  content: "";
}

.deep-report-card p {
  white-space: pre-line;
}

.analysis-state {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
}

.analysis-state.loading::before {
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 5px rgba(238, 176, 186, 0.12);
  content: "";
  animation: analysis-pulse 1.2s ease-in-out infinite;
}

.analysis-state.ready {
  color: #ffe5e9;
  border-color: rgba(238, 176, 186, 0.32);
}

@keyframes analysis-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

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

.disclaimer {
  margin: 16px 3px 0;
  color: #8e8182;
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}

.list-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 11px;
  min-width: 0;
}

.profile-card {
  display: flex;
  gap: 13px;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.profile-avatar {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--pink-deep);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 20px;
  font-weight: 800;
  background: var(--pink-soft);
  border-radius: 50%;
}

.profile-copy {
  min-width: 0;
  flex: 1;
}

.profile-copy h3 {
  margin: 0 0 3px;
}

.profile-copy p {
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  margin-top: 9px;
}

.profile-tag-list span {
  padding: 4px 7px;
  color: #713244;
  font-size: 9px;
  line-height: 1;
  background: #f3d8d7;
  border: 1px solid rgba(183, 95, 112, 0.14);
  border-radius: 999px;
}

.profile-tag-count {
  display: block;
  margin-top: 7px;
  color: #9a8f90;
  font-size: 8px;
  line-height: 1.45;
}

.profile-count {
  flex: 0 0 auto;
  text-align: right;
}

.profile-count strong,
.profile-count small {
  display: block;
}

.profile-count small {
  color: var(--ink-soft);
  font-size: 9px;
}

.empty-state {
  padding: 45px 25px;
  text-align: center;
  background: rgba(255, 253, 251, 0.65);
  border: 1px dashed rgba(23, 19, 20, 0.18);
  border-radius: var(--radius-lg);
}

.empty-state .empty-symbol {
  display: block;
  margin-bottom: 12px;
  color: var(--pink-deep);
  font-size: 42px;
}

.empty-state p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.achievement-grid.collapsed .achievement-card:nth-child(n + 7) {
  display: none;
}

.achievement-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 11px;
  color: #713244;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 253, 251, 0.72);
  border: 1px solid rgba(183, 95, 112, 0.16);
  border-radius: 14px;
  cursor: pointer;
}

.achievement-toggle span {
  font-size: 14px;
  transition: transform 160ms ease;
}

.achievement-toggle:active {
  transform: scale(0.99);
}

.achievement-card {
  min-height: 122px;
}

.achievement-card.locked {
  opacity: 0.42;
  filter: grayscale(0.8);
}

.achievement-badge {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  margin-bottom: 14px;
  background: var(--pink-soft);
  border-radius: 13px;
}

.achievement-card h3 {
  margin-bottom: 4px;
  font-size: 14px;
}

.achievement-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.settings-list {
  overflow: hidden;
  background: rgba(255, 253, 251, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.setting-row:last-child {
  border-bottom: 0;
}

.setting-row.danger {
  color: var(--danger);
}

.setting-row small {
  color: var(--ink-soft);
}

body.onboarding-open {
  overflow: hidden;
}

.onboarding-backdrop {
  position: fixed;
  z-index: 220;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  background:
    radial-gradient(circle at 75% 12%, rgba(232, 183, 187, 0.38), transparent 28%),
    rgba(23, 19, 20, 0.66);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 260ms ease;
}

.onboarding-backdrop.visible {
  opacity: 1;
}

.onboarding-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: min(100%, 440px);
  height: min(760px, calc(100dvh - 24px));
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  box-shadow: 0 36px 100px rgba(23, 19, 20, 0.38);
  transform: translateY(18px) scale(0.98);
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.onboarding-backdrop.visible .onboarding-shell {
  transform: translateY(0) scale(1);
}

.onboarding-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 12px;
}

.onboarding-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.onboarding-brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--ink);
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(23, 19, 20, 0.16);
}

.onboarding-skip,
.onboarding-prev,
.onboarding-alt-route {
  padding: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.onboarding-progress {
  display: flex;
  gap: 6px;
  padding: 0 22px;
}

.onboarding-progress button {
  flex: 1;
  height: 16px;
  padding: 6px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.onboarding-progress i {
  display: block;
  height: 4px;
  overflow: hidden;
  background: rgba(23, 19, 20, 0.1);
  border-radius: 999px;
}

.onboarding-progress button.completed i,
.onboarding-progress button.active i {
  background: var(--pink-deep);
}

.onboarding-progress button.active i {
  animation: guideProgressPulse 1.4s ease-in-out infinite;
}

.onboarding-stage {
  display: grid;
  grid-template-rows: minmax(210px, 1fr) auto;
  min-height: 0;
  padding: 14px 22px 8px;
  overflow-y: auto;
}

.onboarding-stage.enter-forward {
  animation: guideEnterForward 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.onboarding-stage.enter-backward {
  animation: guideEnterBackward 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.onboarding-visual {
  display: grid;
  place-items: center;
  min-height: 210px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(243, 216, 215, 0.6)),
    var(--pink-soft);
  border: 1px solid rgba(183, 95, 112, 0.12);
  border-radius: 26px;
}

.onboarding-copy {
  padding: 22px 4px 8px;
}

.onboarding-copy h2 {
  margin: 4px 0 10px;
  font-size: clamp(23px, 7vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.onboarding-copy > p:last-of-type {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.onboarding-alt-route {
  padding: 12px 0 0;
  color: var(--pink-deep);
}

.onboarding-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px 22px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

.onboarding-prev {
  justify-self: start;
}

.onboarding-prev.is-hidden {
  visibility: hidden;
}

.onboarding-count {
  color: var(--ink-soft);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.onboarding-next {
  justify-self: end;
  min-width: 112px;
  min-height: 46px;
  padding-inline: 18px;
}

.guide-chat-demo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 84%;
}

.guide-bubble {
  max-width: 84%;
  padding: 11px 14px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 17px;
  box-shadow: 0 8px 22px rgba(77, 42, 47, 0.09);
}

.guide-bubble.user {
  align-self: flex-end;
  color: var(--white);
  background: var(--ink);
  border-bottom-right-radius: 5px;
}

.guide-bubble.strategist {
  align-self: flex-start;
  background: var(--white);
  border-bottom-left-radius: 5px;
  animation: guideBubbleArrive 700ms 500ms both;
}

.guide-thinking {
  display: flex;
  gap: 4px;
  align-self: flex-start;
  padding-left: 12px;
}

.guide-thinking i {
  width: 5px;
  height: 5px;
  background: var(--pink-deep);
  border-radius: 50%;
  animation: guideThinking 1s ease-in-out infinite;
}

.guide-thinking i:nth-child(2) { animation-delay: 120ms; }
.guide-thinking i:nth-child(3) { animation-delay: 240ms; }

.guide-persona-demo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 82%;
}

.guide-persona {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 16px 8px;
  background: rgba(255, 253, 251, 0.75);
  border: 1px solid transparent;
  border-radius: 18px;
  animation: guidePersonaFloat 2.4s ease-in-out infinite;
}

.guide-persona:nth-child(2) { animation-delay: 180ms; }
.guide-persona:nth-child(3) { animation-delay: 360ms; }
.guide-persona:nth-child(4) { animation-delay: 540ms; }

.guide-persona.active {
  border-color: var(--pink-deep);
  box-shadow: 0 10px 25px rgba(183, 95, 112, 0.14);
}

.guide-persona b,
.guide-route-demo b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: var(--ink);
  border-radius: 14px;
}

.guide-persona small,
.guide-route-demo small {
  color: var(--ink-soft);
  font-size: 10px;
}

.guide-coins-demo {
  position: relative;
  width: 86%;
  height: 180px;
}

.guide-coin {
  position: absolute;
  top: 22px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #6d3c49;
  font: 700 14px serif;
  background: #f2c77c;
  border: 7px double rgba(109, 60, 73, 0.5);
  border-radius: 50%;
  box-shadow: 0 12px 20px rgba(109, 60, 73, 0.16);
  animation: guideCoinToss 2.2s ease-in-out infinite;
}

.coin-one { left: 10%; }
.coin-two { left: calc(50% - 29px); animation-delay: 180ms; }
.coin-three { right: 10%; animation-delay: 360ms; }

.guide-lines {
  position: absolute;
  right: 12%;
  bottom: 6px;
  left: 12%;
  display: grid;
  gap: 5px;
}

.guide-lines i {
  height: 4px;
  background: var(--ink);
  border-radius: 999px;
  transform-origin: left;
  animation: guideLineDraw 1.6s ease both;
}

.guide-lines i:nth-child(2) { animation-delay: 100ms; }
.guide-lines i:nth-child(3) { animation-delay: 200ms; }
.guide-lines i:nth-child(4) { animation-delay: 300ms; }
.guide-lines i:nth-child(5) { animation-delay: 400ms; }
.guide-lines i:nth-child(6) { animation-delay: 500ms; }

.guide-profile-demo {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  width: 84%;
  padding: 22px;
  background: rgba(255, 253, 251, 0.86);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(77, 42, 47, 0.1);
}

.guide-profile-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: var(--ink);
  border-radius: 18px;
}

.guide-profile-demo p {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 0;
}

.guide-profile-demo i {
  padding: 5px 8px;
  color: #6d3c49;
  font-size: 9px;
  font-style: normal;
  background: var(--pink-soft);
  border-radius: 999px;
}

.guide-save-pulse {
  position: absolute;
  top: -10px;
  right: -7px;
  padding: 6px 10px;
  color: var(--white);
  font-size: 9px;
  background: var(--success);
  border-radius: 999px;
  animation: guideSaved 1.8s ease-in-out infinite;
}

.guide-route-demo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.guide-route-demo span {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 22px;
  background: rgba(255, 253, 251, 0.82);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(77, 42, 47, 0.09);
  animation: guideRouteBreathe 2.2s ease-in-out infinite;
}

.guide-route-demo span:last-child { animation-delay: 420ms; }
.guide-route-demo > i { color: var(--ink-soft); font-size: 11px; font-style: normal; }

@keyframes guideEnterForward {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes guideEnterBackward {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes guideProgressPulse {
  50% { opacity: 0.5; }
}

@keyframes guideBubbleArrive {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes guideThinking {
  50% { transform: translateY(-4px); opacity: 0.45; }
}

@keyframes guidePersonaFloat {
  50% { transform: translateY(-4px); }
}

@keyframes guideCoinToss {
  0%, 100% { transform: translateY(4px) rotateY(0deg); }
  50% { transform: translateY(-14px) rotateY(180deg); }
}

@keyframes guideLineDraw {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes guideSaved {
  50% { transform: scale(1.08); box-shadow: 0 0 0 7px rgba(71, 106, 88, 0.1); }
}

@keyframes guideRouteBreathe {
  50% { transform: translateY(-5px); box-shadow: 0 18px 35px rgba(183, 95, 112, 0.16); }
}

@media (max-height: 700px) {
  .onboarding-stage {
    grid-template-rows: minmax(165px, 0.8fr) auto;
  }

  .onboarding-visual {
    min-height: 165px;
  }

  .onboarding-copy {
    padding-top: 14px;
  }

  .onboarding-copy h2 {
    font-size: 22px;
  }

  .onboarding-header {
    padding-top: 14px;
  }
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(23, 19, 20, 0.54);
  backdrop-filter: blur(10px);
}

.modal-backdrop.hidden {
  display: none;
}

.modal {
  width: min(100%, 440px);
  max-height: 86vh;
  padding: 28px;
  overflow-y: auto;
  background: var(--cream-2);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 80px rgba(23, 19, 20, 0.32);
}

.modal .seal {
  margin-bottom: 22px;
}

.modal h1 {
  font-size: 31px;
}

.muted {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.consent-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}

.toast {
  position: fixed;
  z-index: 150;
  bottom: calc(88px + var(--safe-bottom));
  left: 50%;
  max-width: calc(100vw - 36px);
  padding: 11px 16px;
  color: var(--white);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  background: var(--ink);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.loading-dots::after {
  content: "";
  animation: dots 1.4s steps(4, end) infinite;
}

@keyframes dots {
  0% {
    content: "";
  }
  25% {
    content: "·";
  }
  50% {
    content: "··";
  }
  75%,
  100% {
    content: "···";
  }
}

@media (min-width: 700px) {
  body {
    padding-block: 22px;
  }

  .app-shell {
    min-height: calc(100vh - 44px);
    border-radius: 34px;
    box-shadow: 0 25px 80px rgba(77, 42, 47, 0.14);
  }

  .topbar {
    border-radius: 34px 34px 0 0;
  }

  .bottom-nav {
    bottom: 22px;
    border: 1px solid var(--line);
    border-radius: 0 0 34px 34px;
  }

  .chat-action-dock {
    bottom: calc(80px + var(--safe-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* React Bits TargetCursor 的原生 H5 适配样式 */
@media (pointer: fine) and (min-width: 769px) {
  html.target-cursor-enabled,
  html.target-cursor-enabled * {
    cursor: none !important;
  }
}

.target-cursor-wrapper {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  will-change: transform;
  transition:
    opacity 160ms ease,
    filter 160ms ease;
  mix-blend-mode: difference;
}

.target-cursor-wrapper.is-visible {
  opacity: 1;
}

.target-cursor-wrapper.is-pressed {
  filter: brightness(1.2);
}

.target-cursor-rotator {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  animation: targetCursorSpin var(--cursor-spin-duration, 2s) linear infinite;
  will-change: transform;
}

.target-cursor-wrapper.is-targeting .target-cursor-rotator {
  animation: none;
  transform: rotate(0deg);
}

.target-cursor-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--cursor-color, #fff);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    background-color 150ms ease,
    transform 180ms ease;
}

.target-cursor-wrapper.is-targeting .target-cursor-dot {
  background: var(--cursor-target-color, #e8b7bb);
}

.target-cursor-wrapper.is-pressed .target-cursor-dot {
  transform: translate(-50%, -50%) scale(0.7);
}

.target-cursor-corner {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 12px;
  height: 12px;
  border: 3px solid var(--cursor-color, #fff);
  will-change: transform;
  transition:
    transform var(--cursor-hover-duration, 0.2s) cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 150ms ease;
}

.target-cursor-wrapper.is-targeting .target-cursor-corner {
  border-color: var(--cursor-target-color, #e8b7bb);
}

.target-cursor-corner.corner-tl {
  border-right: 0;
  border-bottom: 0;
}

.target-cursor-corner.corner-tr {
  border-bottom: 0;
  border-left: 0;
}

.target-cursor-corner.corner-br {
  border-top: 0;
  border-left: 0;
}

.target-cursor-corner.corner-bl {
  border-top: 0;
  border-right: 0;
}

@keyframes targetCursorSpin {
  to {
    transform: rotate(360deg);
  }
}

/* 微信式对话布局：保留奶油粉黑品牌色，只借用左右头像与气泡结构 */
.wechat-chat {
  margin: -4px -6px 0;
  padding: 0 0 14px;
  overflow: visible;
  background: #ededed;
  border: 1px solid rgba(23, 19, 20, 0.08);
  border-radius: 24px;
}

.wechat-chat .chat-context {
  margin: 0;
  padding: 13px 15px;
  background: rgba(255, 253, 251, 0.94);
  border-bottom: 1px solid rgba(23, 19, 20, 0.08);
  border-radius: 23px 23px 0 0;
}

.wechat-chat .chat-context > div span,
.wechat-chat .chat-context > div small {
  display: block;
}

.wechat-chat .chat-context > div small {
  margin-top: 2px;
}

.chat-online-dot {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #647269;
  font-size: 10px !important;
  font-weight: 700;
}

.chat-online-dot::before {
  width: 6px;
  height: 6px;
  content: "";
  background: #65a67e;
  border-radius: 50%;
}

.change-strategist-button {
  position: sticky;
  z-index: 18;
  top: calc(78px + max(0px, env(safe-area-inset-top) - 12px));
  display: block;
  width: calc(100% - 24px);
  min-height: 42px;
  margin: 11px auto 3px;
  color: #171314;
  font-size: 12px;
  font-weight: 850;
  background: #f3d8d7;
  border: 1px solid rgba(183, 95, 112, 0.22);
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(77, 42, 47, 0.14);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.change-strategist-button:active {
  transform: scale(0.985);
}

.wechat-chat .chat-messages {
  gap: 17px;
  min-height: 330px;
  padding: 18px 13px 190px;
}

.chat-message-row {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  width: 100%;
}

.chat-message-row.user {
  flex-direction: row-reverse;
}

.chat-avatar {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff9f6;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 16px;
  font-weight: 850;
  background: #171314;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(23, 19, 20, 0.12);
}

.chat-message-row.user .chat-avatar {
  color: #171314;
  background: #e8b7bb;
}

.chat-message-row.safety .chat-avatar {
  background: #9e3448;
}

.message-bundle {
  display: flex;
  flex-direction: column;
  max-width: calc(100% - 58px);
}

.chat-message-row.user .message-bundle {
  align-items: flex-end;
}

.message-bundle .message-meta {
  margin: 0 4px 5px;
  color: #8a7f80;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
}

.message-bubble {
  position: relative;
  padding: 11px 13px;
  color: #171314;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(23, 19, 20, 0.07);
}

.message-bubble::before {
  position: absolute;
  top: 13px;
  left: -6px;
  width: 0;
  height: 0;
  content: "";
  border-top: 6px solid transparent;
  border-right: 7px solid #ffffff;
  border-bottom: 6px solid transparent;
}

.chat-message-row.user .message-bubble {
  background: #e8b7bb;
}

.chat-message-row.user .message-bubble::before {
  right: -6px;
  left: auto;
  border-right: 0;
  border-left: 7px solid #e8b7bb;
}

.chat-message-row.safety .message-bubble {
  color: #682333;
  background: #f7dbe0;
}

.chat-message-row.safety .message-bubble::before {
  border-right-color: #f7dbe0;
}

.chat-event {
  align-self: center;
  max-width: 88%;
  padding: 5px 10px;
  color: #8a8081;
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
  background: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
}

.chat-action-dock {
  position: fixed;
  z-index: 24;
  right: 0;
  bottom: calc(58px + var(--safe-bottom));
  left: 0;
  width: min(calc(100% - 24px), 496px);
  margin: 0 auto;
  padding: 9px 10px 11px;
  background: rgba(237, 237, 237, 0.97);
  border-top: 1px solid rgba(23, 19, 20, 0.08);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 24px rgba(23, 19, 20, 0.08);
  backdrop-filter: blur(18px);
}

.wechat-chat .chat-action-dock .chat-compose {
  position: static;
  bottom: auto;
  margin: 0;
  background: rgba(247, 247, 247, 0.96);
  border-color: rgba(23, 19, 20, 0.11);
}

.chat-action-dock #endChat {
  width: 100%;
  margin-top: 6px;
}

.chat-action-dock .chat-footer-note {
  max-width: 360px;
  margin: 4px auto 0;
  padding: 0 18px;
  color: #999092;
  font-size: 9px;
  line-height: 1.65;
  text-align: center;
}

.strategist-switch-modal {
  max-width: 470px;
}

.strategist-switch-modal .persona-card:disabled {
  cursor: default;
  opacity: 0.56;
}

.favorite-strategist-card {
  position: relative;
  padding: 19px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 4%, rgba(232, 183, 187, 0.72), transparent 34%),
    rgba(255, 253, 251, 0.92);
  border: 1px solid rgba(183, 95, 112, 0.18);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(77, 42, 47, 0.08);
}

.favorite-strategist-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.favorite-strategist-head > div {
  flex: 1;
}

.favorite-strategist-head .eyebrow {
  margin-bottom: 3px;
}

.favorite-strategist-head h2 {
  margin: 0;
  font-size: 20px;
}

.favorite-strategist-avatar {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff9f6;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 20px;
  font-weight: 850;
  background: #171314;
  border-radius: 15px;
  transform: rotate(-3deg);
  box-shadow: 0 6px 14px rgba(23, 19, 20, 0.16);
}

.favorite-percentage {
  padding: 6px 9px;
  color: #7f3343;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 249, 246, 0.78);
  border: 1px solid rgba(127, 51, 67, 0.12);
  border-radius: 999px;
}

.favorite-strategist-card > p {
  margin: 14px 0 12px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.persona-usage-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 13px;
}

.persona-usage-strip span {
  padding: 6px 8px;
  color: #756b6c;
  font-size: 9px;
  background: rgba(237, 233, 231, 0.85);
  border-radius: 999px;
}

.persona-usage-strip span.favorite {
  color: #6f2939;
  font-weight: 800;
  background: #f3d8d7;
}

.favorite-strategist-card .secondary-button {
  min-height: 42px;
}

.favorite-strategist-card > small {
  display: block;
  margin-top: 9px;
  color: #9b9091;
  font-size: 9px;
  line-height: 1.55;
  text-align: center;
}
