/* Title font: ZCOOL KuaiLe, subset for 情感咨询 + 副标题, SIL Open Font License 1.1 */
@font-face {
  font-family: "TitleRound";
  src: url("data:font/woff2;base64,d09GMgABAAAAAAogAA0AAAAAD+AAAAnNAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHB4GYACBNBEICpUUkSILJgABNgIkA0gEIAWEIAcgDAcb5AwRFa0fItNIWTh/vyOas73cklwUMQvULFBCgvnMTmwvchUPNUr7mr4ZvJgZBuDp/4VLORDFBKZj6UfpG+xP9yv9b6nDanyBV+3P35qZzcSKi0jSSLDIsYvEsBM5I75zOXdATQSbPJvNYgpjzMZK1HMUf/cgMI1xRtJzc8kdjKuzygxLY8x0rCnwyrIB7SyKzhYqixiqqJoCNEt9YijY5WMPsorjPlYn545mTJ1lZzJ+UZuZmOleh1U0qGmTCJUcpmquHMbZhd9XwyoYZ5xVDLPh7OGicTNcKX4M/6W3xq6MPRZ7KV6+fuYAOOaT4z6mcrMLfmDup5uVm3646avr/r9GXpV3qeuity+IX9B1wcrzvzvzoMPvnnLvaqVsc/5JClPm5lg6nylWg4U+uek1TdpyxhOatnAcU5nK0oCpsq1YmKVDLVLlclVVVV7m4JxzV7rGgwuy09N5SWauXbMMjLcVOHN5sTZKKomdc1vGLxQ4VCu3u7K0As6d3ObQDIfqBHI0mAhVAKcIJ3FLsg8ShJQQJAgjF0IcEsK292CScFqQTpKiKEUYJ0MUDK/HNQaBz3QYRHIoOPgoDMGa9QQgCOcbXhAEaxL7CPBxgxAm24Uv6QWPoBhiu+5LeiMeEd0iw6TYGTyHIQhmCwVEGA6QHSBIB0r6OIkgqqQgaAdDFFyPRfJV5X5BxSCIsIIQCgihhBAFiaJFEBBhvzDGACsCm2hshzaC8BnGeMMLmwndFHJjkDAQghCC+IggdAtBuu3cGCEQIWw5eS6igbHNpNA9ZaVFwi0wVxGEZbAm3DfJgXZpCwHahc8YCrqpzcQKWV8kbFRolEUNuQo9WLbjWhDEytY5T0HhM8bAA0TlAAbG4oR3S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UKnAE0ciABzGIwgRikYYiIoWHADq44IINTpRBBhms0FbDAg3Mt8AFE/SY7XzMCTXyYIUDWoyhHt3oRgfa4cY09DBbjVz0QQ0tEJNmcGCo64AT+mP+mgAl8iCHHIqtuxM0fwkrFpNyrTuKRtQXm754jcaGLmP13I6fDwf00EoC04jx+BIkYAA6ijZI62U9cMAKA9SY3UZqccUFnYz2diIBGdIlWownL3NjBnmYhRXmgeVWWKGFCWq5d52QYQGabIUJuTBeih2W+dcgGvv5DkEJf+ydhG/1NXozAAAA") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f6e9e1;
  --pink: #ff6277;
  --pink-deep: #e4576d;
  --orange: #ef862a;
  --purple: #4d5391;
  --ink: #1a1a1a;
  --muted: #8a8a8a;
  --chat-bg: #f5f3f4;
  --line: #e8e8e8;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.app {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: #f6e9e1;
}

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

/* ---------- 落地页 ---------- */

.landing {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  background-color: #f6e9e1;
  background-image:
    radial-gradient(rgba(150, 110, 100, 0.055) 0.6px, transparent 0.7px),
    radial-gradient(64% 16% at 50% 6%, rgba(255, 205, 210, 0.35), rgba(255, 205, 210, 0) 78%),
    radial-gradient(70% 14% at 50% 96%, rgba(255, 215, 200, 0.32), rgba(255, 215, 200, 0) 78%);
  background-size: 4px 4px, 100% 100%, 100% 100%;
  scrollbar-width: none;
}

.landing::-webkit-scrollbar {
  display: none;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.landing-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

.hero-head {
  width: 100%;
  padding: clamp(22px, 7vh, 70px) 22px 0;
  text-align: center;
}

.hero-title {
  display: block;
  width: min(80%, 340px);
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.hero-sub {
  margin: 10px 0 0;
  color: var(--pink-deep);
  font-family: "TitleRound", var(--font);
  font-size: clamp(16px, 4.6vw, 19px);
  font-weight: 900;
  line-height: 1.62;
  letter-spacing: 0.6px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hero-art {
  position: relative;
  flex: 1 0 auto;
  width: 100%;
  min-height: 340px;
  margin-top: 6px;
  overflow: hidden;
}

.hero-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 2.5%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 2.5%);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(16% 13% at 25% 16%, rgba(255, 100, 140, 0.4), rgba(255, 100, 140, 0) 70%),
    radial-gradient(18% 15% at 76% 15%, rgba(255, 100, 140, 0.34), rgba(255, 100, 140, 0) 72%);
  mix-blend-mode: screen;
}

.cta-primary {
  position: absolute;
  left: 50%;
  bottom: 15%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: min(60%, 270px);
  height: 58px;
  transform: translateX(-50%);
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background: linear-gradient(115deg, #7a46f2 0%, #5a5bea 46%, #3b86e8 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2.5px;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.32),
    0 12px 28px rgba(72, 92, 220, 0.4);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.cta-primary svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.cta-primary:active {
  transform: translateX(-50%) scale(0.97);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.26),
    0 7px 16px rgba(72, 92, 220, 0.34);
}

.site-footer {
  flex: 0 0 auto;
  background: #fff;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  text-align: center;
}

.site-footer .company {
  margin: 0;
  color: #5a5a5a;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.site-footer .footer-note {
  margin: 4px 0 0;
  color: #a39b94;
  font-size: 11px;
  letter-spacing: 0.3px;
}

.complaint-tab {
  position: absolute;
  top: 31%;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 15px 8px;
  border: 0;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, #f07e92 0%, #e65b73 100%);
  color: #fff;
  font-size: 13px;
  box-shadow: -4px 6px 16px rgba(230, 91, 115, 0.3);
}

.complaint-tab-icon {
  width: 17px;
  height: 17px;
  flex: none;
}

.complaint-tab-text {
  letter-spacing: 4px;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

/* ---------- 聊天页 ---------- */

.chat {
  background: var(--chat-bg);
}

.app-header {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  height: calc(44px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: #fff;
  z-index: 3;
}

.app-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-align: center;
  color: #171717;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #1b1b1b;
}

.icon-btn:active {
  opacity: 0.55;
}

.mentor-banner {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: 100%;
  height: clamp(120px, 31vw, 142px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid #a9a9a9;
  background: #f2f2f2;
  text-align: left;
}

.banner-img {
  position: absolute;
  top: -4%;
  right: 0;
  z-index: 1;
  height: 108%;
  width: auto;
  filter: brightness(1.045);
  user-select: none;
  -webkit-user-drag: none;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.35) 5%, #000 13%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.35) 5%, #000 13%);
}

.banner-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 0 12px 19px;
}

.banner-kicker {
  color: #3b3e6b;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.45;
}

.banner-title {
  margin-top: 1px;
  color: #3b3e6b;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1.45;
}

.banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 37px;
  margin-top: 7px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.2px;
  box-shadow: 0 6px 14px rgba(77, 83, 145, 0.25);
}

.chat-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0 0 calc(24px + env(safe-area-inset-bottom));
  scrollbar-width: none;
}

.chat-scroll::-webkit-scrollbar {
  display: none;
}

.chat-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 16px 20px 0;
}

.msg {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  animation: msgIn 0.3s ease both;
}

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

.msg-bot {
  justify-content: flex-start;
}

.msg-user {
  justify-content: flex-end;
}

.msg-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  object-fit: cover;
  user-select: none;
}

.msg-avatar.bot {
  border-radius: 3px;
  background: #e6e6e6;
}

.msg-avatar.user {
  border-radius: 50%;
  filter: grayscale(100%);
  background: #ddd;
}

.msg-body {
  display: flex;
  flex-direction: column;
  max-width: 68%;
  min-width: 0;
}

.msg-name {
  margin: 0 0 7px 2px;
  color: #2b2b2b;
  font-size: 13px;
  line-height: 1;
}

.bubble {
  position: relative;
  width: fit-content;
  max-width: 100%;
  border-radius: 14px;
  font-size: 15.5px;
  line-height: 1.6;
  word-break: break-word;
}

.bubble-bot {
  padding: 12px 16px;
  border: 1px solid #6b696a;
  background: #fff;
  color: #171717;
}

.bubble-user {
  max-width: 66%;
  padding: 8px 14px;
  background: var(--pink);
  color: #fff;
  font-size: 15.5px;
  margin-left: auto;
}

.bubble-text {
  margin: 0;
}

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.option {
  flex: 0 0 auto;
  min-width: 92px;
  min-height: 39px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  transition: transform 0.12s ease, opacity 0.22s ease, filter 0.2s ease;
}

.option:active {
  transform: scale(0.97);
  filter: brightness(1.06);
}

.options.is-done .option {
  opacity: 0.42;
  pointer-events: none;
}

.bubble-cta {
  margin-top: 12px;
}

.cta-consult {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #f39444 0%, #e97d20 100%);
  color: #fff;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 6px 14px rgba(233, 125, 32, 0.25);
  transition: transform 0.12s ease;
}

.cta-consult svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.cta-consult:active {
  transform: scale(0.98);
}

.typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 42px;
  padding: 12px 15px;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9b9b9b;
  animation: typingBlink 1.1s infinite ease-in-out;
}

.typing i:nth-child(2) {
  animation-delay: 0.16s;
}

.typing i:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes typingBlink {
  0%,
  70%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* ---------- 投诉建议 ---------- */

.sheet-mask {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(20, 16, 14, 0.42);
  animation: fadeIn 0.2s ease both;
}

.sheet {
  width: 100%;
  max-height: 88%;
  overflow-y: auto;
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.12);
  animation: sheetUp 0.28s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes sheetUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}

.sheet-grab {
  display: block;
  width: 38px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 99px;
  background: #e6e6e6;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sheet-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.sheet-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f5f4f2;
  color: #666;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 8px;
  color: #5f5f5f;
  font-size: 13px;
}

.field-label svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: #c17586;
}

.field-label:first-of-type {
  margin-top: 0;
}

.sheet textarea,
.sheet input {
  display: block;
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #e4e2df;
  border-radius: 12px;
  background: #faf9f8;
  font-size: 15px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.sheet textarea {
  min-height: 122px;
  resize: none;
  line-height: 1.55;
}

.sheet input {
  height: 46px;
}

.sheet textarea::placeholder,
.sheet input::placeholder {
  color: #b6b0ab;
}

.sheet textarea:focus,
.sheet input:focus {
  border-color: var(--pink);
  background: #fff;
}

.field-error {
  margin: 7px 0 0;
  color: #e2445c;
  font-size: 12px;
}

.sheet-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f76c8c 0%, #ef4f79 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 10px 20px rgba(239, 79, 121, 0.24);
}

.sheet-submit svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.sheet-submit:active {
  transform: scale(0.985);
}

.sheet-note {
  margin: 12px 0 0;
  color: #b3aca6;
  font-size: 11.5px;
  text-align: center;
}

.sheet-success {
  padding: 14px 0 4px;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #e9f7ee;
  color: #30a35a;
}

.sheet-success h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.sheet-success p {
  margin: 8px 0 4px;
  color: #8a8a8a;
  font-size: 13.5px;
}

/* ---------- 加载层与提示 ---------- */

.loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.loading-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 108px;
  height: 108px;
  border-radius: 10px;
  background: rgba(52, 52, 52, 0.92);
  color: #fff;
}

.loading-card p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.toast {
  position: absolute;
  left: 50%;
  bottom: calc(42px + env(safe-area-inset-bottom));
  z-index: 70;
  max-width: 82%;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(28, 28, 28, 0.82);
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

/* ---------- 小屏适配 ---------- */

@media (max-width: 379px) {
  .banner-copy {
    padding-left: 14px;
  }

  .banner-kicker {
    font-size: 13px;
  }

  .banner-title {
    font-size: 14px;
  }

  .banner-pill {
    height: 31px;
    padding: 0 13px;
    font-size: 13px;
  }

  .banner-img {
    top: 0;
    height: 100%;
  }

  .msg-body {
    max-width: 72%;
  }

  .option {
    min-width: 74px;
    padding: 7px 8px;
    font-size: 14px;
  }

  .bubble {
    font-size: 15px;
  }
}

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