.career-talk {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 40% at 85% 0%, rgba(197, 171, 133, 0.16), transparent 50%),
    linear-gradient(180deg, #f4efe6 0%, #ece6d9 55%, #e7e0d2 100%);
  overflow: hidden;
  color: var(--ink);
}

.career-talk[hidden] {
  display: none !important;
}

.career-talk.is-open {
  display: flex !important;
  z-index: 40;
}

.ct-top {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 48px 16px 14px;
  border-bottom: 1px solid rgba(44, 50, 63, 0.08);
}

.ct-top .back-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(44, 50, 63, 0.72);
  font-size: 0;
  line-height: 0;
  background: rgba(44, 50, 63, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ct-top .back-btn::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
}

.ct-top-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ct-seal {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: 15px;
  color: #f7f1e5;
  background: linear-gradient(145deg, #d0b790, #b8976d);
  box-shadow: 0 4px 12px rgba(184, 151, 109, 0.28);
}

.ct-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #b8976d;
  margin-bottom: 2px;
}

.ct-title {
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.ct-stream {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 18px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: none;
}

.ct-stream::-webkit-scrollbar {
  display: none;
}

.ct-msg {
  max-width: 88%;
  animation: ctIn 0.45s ease both;
}

.ct-msg.guide { align-self: flex-start; }
.ct-msg.user { align-self: flex-end; }

.ct-bubble {
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.03em;
}

.ct-msg.guide .ct-bubble {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(197, 171, 133, 0.28);
  border-radius: 4px 18px 18px 18px;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(44, 50, 63, 0.04);
}

.ct-msg.guide.is-soft .ct-bubble {
  background: linear-gradient(160deg, rgba(247, 243, 234, 0.95), rgba(236, 230, 217, 0.9));
}

.ct-msg.user .ct-bubble {
  background: linear-gradient(180deg, #d19a86, var(--clay));
  color: #fff8f3;
  border-radius: 18px 18px 4px 18px;
}

.ct-soft {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(44, 50, 63, 0.52);
}

.ct-typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(197, 171, 133, 0.2);
}

.ct-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(184, 151, 109, 0.75);
  animation: ctDot 1.1s ease-in-out infinite;
}

.ct-typing span:nth-child(2) { animation-delay: 0.15s; }
.ct-typing span:nth-child(3) { animation-delay: 0.3s; }

.ct-dock {
  flex: 0 0 auto;
  padding: 8px 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(231, 224, 210, 0.96) 24%);
  border-top: 1px solid rgba(44, 50, 63, 0.06);
}

.ct-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.ct-tags button {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(197, 171, 133, 0.32);
}

.ct-tags button:active {
  background: rgba(197, 171, 133, 0.2);
}

.ct-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.ct-composer input {
  height: 46px;
  border: 1px solid rgba(184, 151, 109, 0.28);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline: none;
}

.ct-composer input::placeholder {
  color: rgba(44, 50, 63, 0.35);
}

.ct-composer input:focus {
  border-color: rgba(184, 151, 109, 0.55);
}

.ct-composer .send-btn {
  min-width: 72px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d19a86, var(--clay));
  color: #fff8f3;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.ct-composer .send-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

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

@keyframes ctDot {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
