#carl-answer {
  width: min(680px, calc(100vw - 28px));
  max-height: min(76vh, 720px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #a63b20;
  border-radius: 22px;
  color: #fff0e7;
  background: radial-gradient(circle at 50% -20%, #521509, transparent 48%), #090706;
  box-shadow: 0 28px 100px #000, inset 0 1px #ff7a3a40;
}

#carl-answer::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.answer-head,
.answer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
}

.answer-head {
  border-bottom: 1px solid #5f2418;
}

.answer-head span {
  color: #ff6a1a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.answer-head b {
  color: #ad9388;
  font-size: 10px;
}

.answer-body {
  max-height: 48vh;
  padding: 24px 22px;
  overflow: auto;
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.62;
  white-space: pre-wrap;
}

.answer-actions {
  border-top: 1px solid #5f2418;
  background: #0f0907;
}

.answer-actions button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #74301f;
  border-radius: 12px;
  color: #f4d8cb;
  background: #1b0d09;
  font-weight: 800;
}

.answer-actions .listen {
  border-color: #e84b24;
  color: #160603;
  background: linear-gradient(135deg, #ff7a24, #e93419);
}

@media (max-width: 800px) {
  #carl-answer {
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px);
  }

  .answer-body {
    max-height: 56vh;
  }
}
