.rq-curator-access-panel {
  position: absolute;
  z-index: 20;
  inset: 65px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 30px 30px;
  background: #15120e;
  color: #dfd1ba;
}

/* The bundled V2 card still contains an old self-running demo conversation.
   Authentication owns this surface now, so the original message stream and
   topic controls must never remain visible, focusable, or clickable behind
   the login/chat panel. */
[data-rq-curator-card="interactive"] > [code-path="src/v2/DigitalV2.tsx:792:17"],
[data-rq-curator-card="interactive"] > [code-path="src/v2/DigitalV2.tsx:828:17"] {
  display: none !important;
  pointer-events: none !important;
}

.rq-curator-access-panel.rq-curator-chat-panel {
  display: block;
  padding: 12px 14px 14px;
}

.rq-card-fullscreen-toggle {
  display: none;
}

.rq-panel-form {
  width: 100%;
}

.rq-panel-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  color: rgba(223, 209, 186, 0.42);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.rq-panel-intro strong {
  color: #bd9149;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.rq-panel-field {
  margin-bottom: 10px;
}

.rq-panel-field label {
  display: block;
  margin-bottom: 7px;
  color: #9c7539;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.rq-panel-field input {
  width: 100%;
  height: 43px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(190, 143, 65, 0.28);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #e2d6c3;
  caret-color: #c79a4d;
  font-family: ui-serif, Georgia, "Songti SC", serif;
  font-size: 17px;
  transition: border-color 180ms ease;
}

.rq-panel-password-control {
  position: relative;
}

.rq-panel-password-control input {
  padding-right: 54px;
}

.rq-panel-password-toggle {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 43px;
  padding: 0 2px 0 12px;
  border: 0;
  background: transparent;
  color: rgba(199, 154, 77, 0.72);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.rq-panel-password-toggle:hover,
.rq-panel-password-toggle:focus-visible {
  color: #e1bd7b;
  outline: none;
}

.rq-panel-field input::placeholder {
  color: rgba(223, 209, 186, 0.22);
}

.rq-panel-field input:focus {
  border-color: #bd9149;
}

.rq-panel-field.rq-panel-has-error input {
  border-color: #a85243;
}

.rq-panel-field p,
.rq-panel-consent-error {
  min-height: 17px;
  margin: 5px 0 0;
  color: #b85e4b;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 11px;
  line-height: 1.45;
}

.rq-panel-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
  color: rgba(223, 209, 186, 0.48);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 11px;
  line-height: 1.55;
  cursor: pointer;
}

.rq-panel-consent input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: #bd9149;
}

.rq-panel-consent a {
  color: rgba(216, 181, 106, 0.88);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rq-panel-consent a:hover,
.rq-panel-consent a:focus-visible {
  color: #e1bd7b;
}

.rq-panel-consent-error {
  margin-top: 4px;
}

.rq-panel-submit {
  display: flex;
  width: 100%;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
  border: 1px solid rgba(190, 143, 65, 0.5);
  background: rgba(190, 143, 65, 0.04);
  color: #c79a4d;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.rq-panel-submit:hover,
.rq-panel-submit:focus-visible {
  border-color: #c79a4d;
  background: rgba(190, 143, 65, 0.1);
  color: #e1bd7b;
}

.rq-panel-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.rq-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rq-card-chat {
  display: grid;
  position: relative;
  grid-template-rows: 44px 28px minmax(0, 1fr) auto auto 14px;
  gap: 8px;
  height: 100%;
  min-height: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", sans-serif;
}

.rq-card-mode-tabs {
  display: grid;
  width: min(232px, 82%);
  height: 44px;
  margin: 0 auto;
  grid-template-columns: 1fr 1px 1fr;
  align-items: stretch;
}

.rq-card-mode-tabs > i {
  width: 1px;
  height: 16px;
  align-self: center;
  background: rgba(223, 209, 186, 0.2);
}

.rq-card-mode-tab {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(223, 209, 186, 0.48);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.rq-card-mode-tab::after {
  content: "";
  position: absolute;
  right: 24%;
  bottom: 0;
  left: 24%;
  height: 1px;
  background: #d8b56a;
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.rq-card-mode-tab.rq-is-active {
  color: #d8b56a;
}

.rq-card-mode-tab.rq-is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.rq-card-mode-tab:hover,
.rq-card-mode-tab:focus-visible {
  color: #e1bd7b;
}

.rq-card-mode-tab:focus-visible {
  outline: 1px solid rgba(216, 181, 106, 0.72);
  outline-offset: -4px;
}

.rq-card-chat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(223, 209, 186, 0.48);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.rq-card-chat-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.rq-card-chat-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8f6d36;
  box-shadow: 0 0 8px rgba(199, 154, 77, 0.35);
}

.rq-card-chat-state[data-mode="online"] i { background: #b8914d; }
.rq-card-chat-state[data-mode="error"] i { background: #a85243; box-shadow: none; }

.rq-card-sound {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0 4px 8px;
  border: 0;
  background: transparent;
  color: #a77c3c;
  font-size: 10px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.rq-card-sound img {
  width: 15px;
  height: 15px;
  opacity: 0.8;
}

.rq-card-messages {
  min-height: 0;
  overflow-y: auto;
  padding: 8px 3px 6px;
  overscroll-behavior-y: contain;
  scroll-padding-block: 8px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(190, 143, 65, 0.26) transparent;
}

.rq-card-message {
  display: flex;
  margin-bottom: 12px;
}

.rq-card-message-curator,
.rq-card-message-notice { justify-content: flex-start; }
.rq-card-message-visitor { justify-content: flex-end; }

.rq-card-message-bubble {
  max-width: 84%;
  padding: 10px 12px;
  border: 1px solid rgba(190, 143, 65, 0.18);
  color: rgba(230, 219, 201, 0.84);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.06em;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.rq-card-message-curator .rq-card-message-bubble {
  border-radius: 2px 13px 13px 13px;
  background: #201c17;
}

.rq-card-message-visitor .rq-card-message-bubble {
  border-color: rgba(190, 143, 65, 0.32);
  border-radius: 13px 2px 13px 13px;
  background: #241d13;
  color: #d9bf91;
}

.rq-card-message-notice .rq-card-message-bubble {
  padding: 5px 2px;
  border: 0;
  background: transparent;
  color: rgba(223, 209, 186, 0.4);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 10px;
}

.rq-card-message-bubble.rq-is-thinking {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(223, 209, 186, 0.44);
}

.rq-thinking-dots {
  display: inline-flex;
  height: 10px;
  align-items: center;
  gap: 3px;
}

.rq-thinking-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c79a4d;
  opacity: 0.28;
  animation: rq-thinking-dot 1.05s ease-in-out infinite;
}

.rq-thinking-dots i:nth-child(2) { animation-delay: 140ms; }
.rq-thinking-dots i:nth-child(3) { animation-delay: 280ms; }

@keyframes rq-thinking-dot {
  0%, 60%, 100% { opacity: 0.24; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

.rq-live-thinking-dots { flex: 0 0 auto; }
.rq-live-thinking-dots[hidden] { display: none !important; }

/* Desktop live speech uses a responsive thought-cloud. JavaScript measures
   the final rendered sentence and grows the cloud leftward/upward, preserving
   a readable font and a stable gap before the conversation card. */
@media (min-width: 1024px) {
  [code-path="src/v2/DigitalV2.tsx:740:15"] {
    top: -172px !important;
    left: calc(50% + 62px) !important;
  }

  [code-path="src/v2/DigitalV2.tsx:749:19"] {
    border-color: transparent !important;
    background-color: transparent !important;
    background-image: url("../images/curator-speech-cloud.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    box-shadow: none !important;
    filter:
      drop-shadow(0 12px 18px rgba(0, 0, 0, 0.38))
      drop-shadow(0 0 10px rgba(216, 181, 106, 0.08)) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  [code-path="src/v2/DigitalV2.tsx:749:19"]::after {
    content: none;
  }

  [code-path="src/v2/DigitalV2.tsx:752:19"] {
    display: none !important;
  }

  [code-path="src/v2/DigitalV2.tsx:753:19"] {
    display: none !important;
  }
}

/* On wide screens keep the caption in the same upper-right relationship to
   the curator while preserving a comfortable gap before the conversation
   card. */
@media (min-width: 1280px) {
  [code-path="src/v2/DigitalV2.tsx:740:15"] {
    left: calc(50% + 82px) !important;
  }
}

.rq-card-topics {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.rq-card-topics::-webkit-scrollbar { display: none; }

.rq-card-topics button {
  flex: 0 0 auto;
  min-height: 27px;
  padding: 4px 9px;
  border: 1px solid rgba(190, 143, 65, 0.28);
  border-radius: 999px;
  background: transparent;
  color: rgba(199, 154, 77, 0.78);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  cursor: pointer;
}

.rq-card-topics button:hover,
.rq-card-topics button:focus-visible {
  border-color: #c79a4d;
  color: #e1bd7b;
  outline: none;
}

.rq-card-composer {
  min-height: 48px;
  background: transparent;
}

.rq-card-text-mode {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: end;
  min-height: 48px;
  border: 1px solid rgba(190, 143, 65, 0.34);
  background: #11100d;
}

.rq-card-text-mode[hidden],
.rq-card-voice-mode[hidden],
.rq-card-voice-transcript[hidden],
.rq-card-voice-idle[hidden],
.rq-card-voice-actions[hidden] {
  display: none !important;
}

.rq-card-text-mode textarea {
  width: 100%;
  min-height: 46px;
  max-height: 78px;
  resize: none;
  padding: 13px 7px 9px 12px;
  border: 0;
  outline: none;
  background: transparent;
  color: #e2d6c3;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

.rq-card-text-mode textarea::placeholder { color: rgba(223, 209, 186, 0.28); }

.rq-card-text-mode button {
  height: 46px;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(190, 143, 65, 0.24);
  background: transparent;
  color: #bd9149;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.rq-card-text-mode .rq-card-voice-switch {
  display: none;
  place-items: center;
  width: 30px;
  height: 30px;
  align-self: center;
  justify-self: center;
  padding: 0;
  border-left: 0;
  border-radius: 50%;
  transition: background-color 180ms ease, transform 180ms ease;
}

.rq-card-call[hidden] {
  display: none !important;
}

.rq-card-chat.rq-is-call-mode > .rq-card-chat-toolbar,
.rq-card-chat.rq-is-call-mode > .rq-card-messages,
.rq-card-chat.rq-is-call-mode > .rq-card-topics,
.rq-card-chat.rq-is-call-mode > .rq-card-composer,
.rq-card-chat.rq-is-call-mode > .rq-card-chat-hint {
  visibility: hidden;
  pointer-events: none;
}

.rq-card-call {
  position: absolute;
  inset: 52px 0 0;
  z-index: 4;
  display: grid;
  min-height: 0;
  grid-template-rows: minmax(204px, 1fr) 104px 14px;
  gap: 8px;
  background: #0f0e0b;
  color: #e4d8c6;
}

.rq-call-stage {
  position: relative;
  --rq-call-avatar-scale: 100%;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(190, 143, 65, 0.2);
  background: #0e0c09 url("../images/museum-hall.jpg") center / cover no-repeat;
}

.rq-call-stage::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 8, 6, 0), rgba(9, 8, 6, 0.84));
}

.rq-call-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: center 32%;
  background: #0d0b08;
}

.rq-call-matte-source {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.rq-call-video-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: block;
  width: auto;
  height: var(--rq-call-avatar-scale);
  aspect-ratio: 802 / 1154;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

.rq-call-video-canvas.rq-is-rendering {
  opacity: 1;
}

.rq-call-stage:has(.rq-call-video-canvas.rq-is-rendering) > .rq-call-video {
  opacity: 0;
}

.rq-call-status {
  position: static;
  z-index: 3;
  display: inline-flex;
  max-width: 100%;
  height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(223, 209, 186, 0.1);
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  background: rgba(13, 11, 8, 0.72);
  color: rgba(237, 227, 210, 0.74);
  font-size: 9px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.rq-call-status span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rq-call-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8f6d36;
}

.rq-call-status[data-mode="live"] i,
.rq-call-status[data-mode="speaking"] i {
  background: #d8b56a;
  box-shadow: 0 0 8px rgba(216, 181, 106, 0.5);
}

.rq-call-status[data-mode="error"] i { background: #a85243; box-shadow: none; }

.rq-call-status time {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.rq-call-messages {
  position: absolute;
  right: 10px;
  bottom: 14px;
  left: 10px;
  z-index: 3;
  max-height: 42%;
  overflow-y: auto;
  padding: 4px 2px;
  scrollbar-width: none;
}

.rq-call-messages::-webkit-scrollbar { display: none; }

.rq-call-message {
  display: flex;
  margin-top: 8px;
}

.rq-call-message-curator { justify-content: flex-start; }
.rq-call-message-visitor { justify-content: flex-end; }

.rq-call-message.rq-is-thinking {
  display: flex;
  justify-content: flex-start;
}

.rq-call-message-bubble {
  max-width: min(90%, 44rem);
  padding: 12px 15px;
  border: 1px solid rgba(223, 209, 186, 0.18);
  border-radius: 12px;
  background: rgba(18, 17, 14, 0.94);
  color: rgba(248, 242, 230, 0.97);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
  backdrop-filter: blur(8px);
}

.rq-call-message-curator .rq-call-message-bubble {
  border-color: rgba(234, 214, 176, 0.28);
  border-radius: 2px 12px 12px 12px;
  background:
    linear-gradient(145deg, rgba(36, 31, 24, 0.5), rgba(10, 9, 7, 0.58));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 218, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.22);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px) saturate(135%);
  -webkit-backdrop-filter: blur(6px) saturate(135%);
}

.rq-call-message-visitor .rq-call-message-bubble {
  border-color: rgba(190, 143, 65, 0.32);
  border-radius: 12px 2px 12px 12px;
  background: rgba(35, 29, 21, 0.96);
  color: #f0e1c8;
}

.rq-call-message-bubble.rq-is-thinking {
  display: inline-flex;
  min-width: 0;
  padding: 12px 15px;
  border-color: rgba(190, 143, 65, 0.18);
  border-radius: 2px 13px 13px 13px;
  align-items: center;
  gap: 7px;
  background: #201c17;
  color: rgba(223, 209, 186, 0.44);
  box-shadow: none;
  text-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.rq-call-message-bubble.rq-is-thinking .rq-thinking-dots {
  flex: 0 0 auto;
  margin-inline-start: 0;
}

.rq-call-message-bubble.rq-is-thinking .rq-thinking-dots i {
  width: 3px;
  height: 3px;
  background: #c79a4d;
  box-shadow: none;
}

.rq-call-composer {
  display: none;
  min-height: 48px;
  grid-template-columns: minmax(0, 1fr) 58px;
  border: 1px solid rgba(190, 143, 65, 0.34);
  background: #11100d;
}

.rq-call-composer input {
  min-width: 0;
  height: 46px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #e2d6c3;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 12px;
}

.rq-call-composer input::placeholder { color: rgba(223, 209, 186, 0.28); }

.rq-call-composer button {
  height: 46px;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(190, 143, 65, 0.24);
  background: transparent;
  color: #c79a4d;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.rq-call-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
}

.rq-call-center-control {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  overflow: visible;
}

.rq-call-center-control .rq-call-status {
  max-width: calc(300% - 24px);
}

.rq-call-controls button {
  display: flex;
  min-width: 0;
  padding: 0;
  border: 0;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: transparent;
  color: rgba(223, 209, 186, 0.64);
  cursor: pointer;
}

.rq-call-controls button > span {
  display: grid;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(223, 209, 186, 0.22);
  border-radius: 50%;
  background: #191714;
  place-items: center;
}

.rq-call-controls img {
  width: 20px;
  height: 20px;
  opacity: 0.72;
}

.rq-call-controls b {
  color: inherit;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.rq-call-controls .rq-call-end > span {
  border-color: rgba(169, 54, 40, 0.62);
  background: #a93628;
}

.rq-call-controls .rq-call-end img { width: 22px; height: 22px; opacity: 0.92; }

.rq-call-controls button.rq-is-active > span {
  border-color: rgba(216, 181, 106, 0.48);
  background: #241d13;
}

.rq-call-controls button:hover > span,
.rq-call-controls button:focus-visible > span {
  border-color: rgba(216, 181, 106, 0.58);
}

.rq-call-controls button:focus-visible {
  border-radius: 8px;
  outline: 1px solid rgba(216, 181, 106, 0.72);
  outline-offset: -1px;
}

.rq-call-controls button:disabled,
.rq-call-composer button:disabled,
.rq-call-composer input:disabled {
  cursor: wait;
  opacity: 0.42;
}

.rq-call-notice {
  overflow: hidden;
  margin: 0;
  color: rgba(223, 209, 186, 0.64);
  font-size: 11px;
  line-height: 14px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:lang(ja) .rq-card-call,
:lang(ar) .rq-card-call {
  grid-template-rows: minmax(190px, 1fr) 104px 28px;
}

:lang(ja) .rq-call-notice,
:lang(ar) .rq-call-notice {
  display: flex;
  padding-inline: 8px;
  align-items: center;
  justify-content: center;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.rq-card-text-mode .rq-card-voice-switch img {
  width: 17px;
  height: 17px;
}

.rq-card-text-mode .rq-card-voice-switch:hover,
.rq-card-text-mode .rq-card-voice-switch:focus-visible {
  background: rgba(199, 154, 77, 0.12);
  transform: translateY(-1px);
}

.rq-card-voice-mode {
  position: relative;
  display: flex;
  min-height: 144px;
  padding: 9px 10px 10px;
  border: 1px solid rgba(190, 143, 65, 0.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(199, 154, 77, 0.08), transparent 58%),
    #11100d;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.rq-card-voice-transcript {
  display: flex;
  width: 100%;
  height: 86px;
  padding: 10px 12px 7px;
  border: 1px solid rgba(190, 143, 65, 0.3);
  background:
    linear-gradient(180deg, rgba(199, 154, 77, 0.055), rgba(13, 11, 8, 0.32)),
    rgba(25, 21, 16, 0.9);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

.rq-card-voice-transcript p {
  display: block;
  width: 100%;
  height: 54px;
  margin: 0;
  padding: 0 5px 0 1px;
  overflow-x: hidden;
  overflow-y: auto;
  color: rgba(235, 224, 206, 0.92);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 11px;
  line-height: 18px;
  letter-spacing: 0.035em;
  text-align: left;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  scrollbar-color: rgba(199, 154, 77, 0.38) transparent;
  scrollbar-width: thin;
}

.rq-card-voice-transcript p::-webkit-scrollbar { width: 2px; }
.rq-card-voice-transcript p::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(199, 154, 77, 0.42);
}

.rq-card-voice-wave {
  display: flex;
  width: 100%;
  height: 13px;
  padding-top: 4px;
  border-top: 1px solid rgba(190, 143, 65, 0.14);
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 4px;
  box-sizing: border-box;
  flex: 0 0 auto;
}

.rq-card-voice-wave i {
  width: 2px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to top, #9c7539, #d8b56a);
  opacity: 0.82;
  animation: rq-voice-wave 820ms ease-in-out infinite;
  animation-delay: calc(var(--rq-wave) * -74ms);
}

.rq-card-voice-wave i:nth-child(2n) { animation-duration: 970ms; }
.rq-card-voice-wave i:nth-child(3n) { animation-duration: 730ms; }

@keyframes rq-voice-wave {
  0%, 100% { height: 3px; opacity: 0.42; }
  50% { height: 13px; opacity: 1; }
}

.rq-card-voice-status {
  min-height: 16px;
  margin: 5px 0 3px;
  color: rgba(199, 154, 77, 0.68);
  font-size: 9px;
  line-height: 16px;
  letter-spacing: 0.09em;
  text-align: center;
}

.rq-card-voice-idle {
  position: relative;
  width: 100%;
  height: 48px;
}

.rq-card-voice-start,
.rq-card-keyboard-switch,
.rq-card-voice-actions button {
  border: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  cursor: pointer;
}

.rq-card-voice-start {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(216, 181, 106, 0.76);
  border-radius: 50%;
  background: linear-gradient(180deg, #d2a954, #a77c3c);
  place-items: center;
  transform: translateX(-50%);
  box-shadow: inset 0 1px 0 rgba(255, 235, 188, 0.34), 0 8px 24px rgba(81, 55, 16, 0.24);
  transition: transform 160ms ease, filter 160ms ease;
}

.rq-card-voice-start:hover,
.rq-card-voice-start:focus-visible {
  filter: brightness(1.08);
  outline: none;
  transform: translateX(-50%) translateY(-1px);
}

.rq-card-voice-start img {
  width: 20px;
  height: 20px;
}

.rq-card-keyboard-switch {
  position: absolute;
  right: 1px;
  bottom: 5px;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(190, 143, 65, 0.24);
  border-radius: 50%;
  background: #1c1812;
  place-items: center;
}

.rq-card-keyboard-switch img {
  width: 15px;
  height: 15px;
  opacity: 0.78;
}

.rq-card-keyboard-switch:hover,
.rq-card-keyboard-switch:focus-visible {
  border-color: rgba(216, 181, 106, 0.68);
  background: #241d13;
  outline: none;
}

.rq-card-voice-actions {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.rq-card-voice-actions button {
  height: 34px;
  padding: 0;
  border: 1px solid rgba(190, 143, 65, 0.25);
  border-radius: 999px;
  background: #1b1813;
  color: rgba(223, 209, 186, 0.66);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.rq-card-voice-actions .rq-card-voice-send {
  border-color: rgba(199, 154, 77, 0.72);
  background: rgba(199, 154, 77, 0.16);
  color: #d8b56a;
}

.rq-card-voice-actions button:hover,
.rq-card-voice-actions button:focus-visible {
  background: #211a11;
  color: #e1bd7b;
  outline: none;
}

.rq-card-composer button:disabled,
.rq-card-composer textarea:disabled { opacity: 0.5; cursor: wait; }

.rq-card-composer.rq-is-voice-requesting .rq-card-voice-transcript {
  border-color: rgba(199, 154, 77, 0.38);
}

.rq-card-composer.rq-is-voice-requesting .rq-card-voice-wave i {
  animation-duration: 1.35s;
  opacity: 0.46;
}

.rq-card-composer.rq-is-voice-active .rq-card-voice-transcript {
  border-color: rgba(199, 154, 77, 0.5);
}

.rq-card-chat-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  color: rgba(223, 209, 186, 0.3);
  font-size: 9px;
  line-height: 14px;
  text-align: right;
  letter-spacing: 0.05em;
}

@media (prefers-reduced-motion: reduce) {
  .rq-thinking-dots i,
  .rq-card-voice-wave i {
    animation: none;
  }

  .rq-card-voice-wave i { height: 7px; }
  .rq-thinking-dots i { opacity: 0.72; }
}

@media (min-width: 481px) and (max-height: 520px) {
  .rq-card-mode-tabs {
    height: 36px;
  }

  .rq-card-mode-tab {
    font-size: 10px;
  }

  .rq-card-call {
    inset: 40px 0 0;
    grid-template-rows: minmax(50px, 1fr) 70px 12px;
    gap: 3px;
  }

  .rq-call-status {
    height: 20px;
    padding-inline: 7px;
    font-size: 8px;
  }

  .rq-call-messages {
    right: 6px;
    bottom: 5px;
    left: 6px;
    max-height: 58%;
  }

  .rq-call-message {
    margin-top: 3px;
  }

  .rq-call-message-bubble {
    max-width: 88%;
    padding: 7px 10px;
    font-size: 13px;
    line-height: 1.5;
  }

  .rq-call-center-control {
    gap: 4px;
  }

  .rq-call-controls button {
    gap: 2px;
  }

  .rq-call-controls button > span {
    width: 32px;
    height: 32px;
  }

  .rq-call-controls img {
    width: 15px;
    height: 15px;
  }

  .rq-call-controls .rq-call-end img {
    width: 17px;
    height: 17px;
  }

  .rq-call-controls b {
    font-size: 8px;
  }

  .rq-call-notice {
    font-size: 9px;
    line-height: 12px;
  }
}

/* Switching conversation modes must not reflow the desktop composition.
   Keep the original two-column curator layout and improve only the small
   labels inside the standard-width call card. */
@media (min-width: 481px) and (min-height: 521px) {
  .rq-curator-call-active .rq-call-status {
    font-size: 10px;
  }

  .rq-curator-call-active .rq-call-controls b,
  .rq-curator-call-active .rq-call-notice {
    font-size: 10px;
  }
}

/* In the true desktop two-column composition the large curator on the left is
   the speaker. Keep the right-hand call card as context, transcript and
   controls, without rendering a second copy of the same character. */
@media (min-width: 1024px) {
  .rq-curator-call-active .rq-call-video,
  .rq-curator-call-active .rq-call-video-canvas {
    visibility: hidden;
    opacity: 0 !important;
  }

  .rq-curator-call-active .rq-card-call,
  .rq-curator-call-active .rq-call-stage {
    background: transparent;
  }

  .rq-curator-call-active .rq-call-stage::after {
    display: none;
  }
}

/* Tablet and desktop: the original 380px phone shell reads too small once the
   curator becomes the page's primary surface. Give the conversation a larger
   exhibition-card scale while keeping the established mobile proportions. */
@media (min-width: 768px) {
  [code-path="src/v2/DigitalV2.tsx:770:13"] {
    box-sizing: border-box;
    width: min(480px, calc(100vw - 64px)) !important;
    max-width: 480px !important;
  }

  [code-path="src/v2/DigitalV2.tsx:775:15"] {
    height: min(680px, calc(100svh - 120px)) !important;
    min-height: 580px;
  }

  [data-rq-curator-card="interactive"] [code-path="src/v2/DigitalV2.tsx:777:17"] {
    padding: 18px 24px 16px !important;
  }

  [data-rq-curator-card="interactive"] [code-path="src/v2/DigitalV2.tsx:779:21"] {
    height: 24px !important;
  }

  [data-rq-curator-card="interactive"] [code-path="src/v2/DigitalV2.tsx:781:23"] {
    font-size: 16px !important;
  }

  [data-rq-curator-card="interactive"] [code-path="src/v2/DigitalV2.tsx:787:21"] {
    font-size: 12px !important;
  }

  .rq-curator-access-panel {
    inset: 74px 0 0;
    padding: 34px 38px 36px;
  }

  .rq-curator-access-panel.rq-curator-chat-panel {
    padding: 16px 20px 18px;
  }

  .rq-card-chat {
    grid-template-rows: 52px 34px minmax(0, 1fr) auto auto 18px;
    gap: 10px;
  }

  .rq-card-mode-tabs {
    width: min(300px, 82%);
    height: 52px;
  }

  .rq-card-mode-tab {
    font-size: 14px;
  }

  .rq-card-chat-toolbar,
  .rq-card-sound {
    font-size: 13px;
  }

  .rq-card-sound img {
    width: 17px;
    height: 17px;
  }

  .rq-card-message-bubble {
    padding: 12px 15px;
    font-size: 15px;
    line-height: 1.72;
  }

  .rq-card-message-notice .rq-card-message-bubble {
    font-size: 13px;
  }

  .rq-card-topics {
    gap: 8px;
  }

  .rq-card-topics button {
    min-height: 40px;
    padding: 7px 13px;
    font-size: 13px;
  }

  .rq-card-composer,
  .rq-card-text-mode {
    min-height: 54px;
  }

  .rq-card-text-mode {
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .rq-card-text-mode textarea {
    min-height: 52px;
    padding: 15px 10px 11px 15px;
    font-size: 14px;
  }

  .rq-card-text-mode button {
    height: 52px;
    font-size: 14px;
  }

  .rq-card-chat-hint {
    font-size: 12px;
    line-height: 18px;
  }
}

@media (min-width: 1024px) {
  [code-path="src/v2/DigitalV2.tsx:770:13"] {
    width: min(480px, calc(100vw - 64px)) !important;
    max-width: 480px !important;
  }

  [code-path="src/v2/DigitalV2.tsx:775:15"] {
    height: min(760px, calc(100svh - 72px)) !important;
    min-height: 660px;
  }

  .rq-curator-access-panel.rq-curator-chat-panel {
    padding: 14px 18px 16px;
  }

  /* On desktop, AI Call is another conversation mode inside the same card.
     Keep its transcript surface and bubbles visually identical to Text Chat;
     phone layouts retain their dedicated call presentation below. */
  .rq-curator-call-active .rq-card-call,
  .rq-curator-call-active .rq-call-stage,
  .rq-curator-call-active .rq-call-messages {
    background: #15120e;
  }

  .rq-curator-call-active .rq-call-stage {
    border-bottom-color: transparent;
  }

  .rq-card-call {
    inset: 54px -18px 0;
    grid-template-rows: minmax(0, 1fr) 108px minmax(20px, auto);
    gap: 6px;
  }

  .rq-call-messages {
    top: 20px;
    right: 20px;
    bottom: 18px;
    left: 20px;
    max-height: none;
    padding: 8px 3px 6px;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(190, 143, 65, 0.26) transparent;
  }

  .rq-call-message {
    margin: 0 0 12px;
  }

  .rq-call-message-bubble {
    max-width: 84%;
    padding: 12px 15px;
    border: 1px solid rgba(190, 143, 65, 0.18);
    border-radius: 0;
    background: transparent;
    color: rgba(230, 219, 201, 0.84);
    font-size: 15px;
    line-height: 1.72;
    letter-spacing: 0.06em;
    white-space: pre-wrap;
    box-shadow: none;
    text-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .rq-call-message-curator .rq-call-message-bubble {
    border-color: rgba(190, 143, 65, 0.18);
    border-radius: 2px 13px 13px 13px;
    background: #201c17;
    color: rgba(230, 219, 201, 0.84);
    box-shadow: none;
    text-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .rq-call-message-visitor .rq-call-message-bubble {
    border-color: rgba(190, 143, 65, 0.32);
    border-radius: 13px 2px 13px 13px;
    background: #241d13;
    color: #d9bf91;
  }

  .rq-call-message-bubble.rq-is-thinking {
    padding: 12px 15px;
    border-color: rgba(190, 143, 65, 0.18);
    border-radius: 2px 13px 13px 13px;
    background: #201c17;
    color: rgba(223, 209, 186, 0.44);
  }

  .rq-call-message-bubble.rq-is-thinking .rq-thinking-dots i {
    background: #d8b56a;
    box-shadow: 0 0 6px rgba(216, 181, 106, 0.5);
  }
}

@media (max-width: 480px) {
  #root {
    max-width: 100vw;
    overflow-x: clip;
  }

  .rq-card-fullscreen-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    margin: 0 -4px 0 2px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 14px;
    outline: 0;
    background: transparent;
    color: #d8b56a;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
  }

  .rq-card-fullscreen-toggle::before {
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(201, 162, 75, 0.34);
    border-radius: 11px;
    background: rgba(201, 162, 75, 0.035);
    content: "";
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  }

  .rq-card-fullscreen-toggle:hover,
  .rq-card-fullscreen-toggle:focus-visible {
    outline: none;
  }

  .rq-card-fullscreen-toggle:hover::before {
    border-color: rgba(216, 181, 106, 0.66);
    background: rgba(201, 162, 75, 0.09);
  }

  .rq-card-fullscreen-toggle:focus-visible::before {
    border-color: rgba(245, 220, 160, 0.92);
    box-shadow: 0 0 0 2px #0d0b08, 0 0 0 4px rgba(245, 220, 160, 0.86);
  }

  .rq-card-fullscreen-toggle:disabled {
    cursor: default;
    pointer-events: none;
  }

  .rq-card-fullscreen-toggle > span {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
  }

  .rq-card-fullscreen-icon {
    position: absolute;
    inset: 0;
    display: block;
    width: 20px;
    height: 20px;
    transition: opacity 150ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .rq-card-fullscreen-icon-expand {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  .rq-card-fullscreen-icon-collapse {
    opacity: 0;
    transform: scale(0.72) rotate(-8deg);
  }

  .rq-card-fullscreen-toggle.rq-is-expanded .rq-card-fullscreen-icon-expand {
    opacity: 0;
    transform: scale(0.72) rotate(8deg);
  }

  .rq-card-fullscreen-toggle.rq-is-expanded .rq-card-fullscreen-icon-collapse {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  .rq-card-fullscreen-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9990;
    display: block;
    background: rgba(5, 4, 3, 0.58);
    opacity: 0;
    pointer-events: none;
  }

  .rq-card-fullscreen-backdrop[hidden] {
    display: none;
  }

  [data-rq-curator-card="interactive"] [code-path="src/v2/DigitalV2.tsx:778:19"] {
    align-items: center;
  }

  [data-rq-curator-card="interactive"] > [code-path="src/v2/DigitalV2.tsx:777:17"] {
    min-height: 65px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  html.rq-curator-card-fullscreen-open,
  html.rq-curator-card-fullscreen-open body {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  /* The curator composition uses reveal transforms and 3D perspective. Both
     establish containing blocks for fixed descendants, so neutralize them only
     while the phone card is open full-screen. */
  html.rq-curator-card-fullscreen-open [code-path="src/v2/DigitalV2.tsx:701:7"] {
    perspective: none !important;
  }

  html.rq-curator-card-fullscreen-open [code-path="src/v2/DigitalV2.tsx:769:11"] {
    transform: none !important;
    will-change: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .rq-curator-fullscreen-shell {
    position: fixed !important;
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    box-sizing: border-box !important;
    width: 100vw;
    height: 100svh;
    height: 100dvh;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0;
    overflow: hidden !important;
    border-color: transparent;
    border-radius: 0;
    background: #0d0b08;
    transform: none;
    transform-origin: top left;
    contain: layout paint style;
    will-change: left, top, width, height, padding, border-radius, border-color, box-shadow;
    z-index: 10000 !important;
  }

  .rq-curator-fullscreen-transitioning {
    pointer-events: none;
  }

  .rq-curator-fullscreen-shell > .rq-curator-fullscreen-card {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
    border-width: 0;
    border-color: transparent;
    border-radius: 0;
  }

  .rq-curator-fullscreen-card > [code-path="src/v2/DigitalV2.tsx:777:17"] {
    padding-top: calc(10px + env(safe-area-inset-top)) !important;
    padding-right: calc(20px + env(safe-area-inset-right)) !important;
    padding-bottom: 10px !important;
    padding-left: calc(20px + env(safe-area-inset-left)) !important;
  }

  .rq-curator-fullscreen-card > .rq-curator-access-panel {
    inset: calc(65px + env(safe-area-inset-top)) 0 0;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .rq-curator-fullscreen-card > .rq-curator-access-panel.rq-curator-chat-panel {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  [code-path="src/v2/DigitalV2.tsx:769:11"] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  [code-path="src/v2/DigitalV2.tsx:702:9"] {
    grid-template-columns: minmax(0, 1fr);
  }

  [code-path="src/v2/DigitalV2.tsx:770:13"] {
    left: auto;
    box-sizing: border-box;
    width: 100%;
    height: min(78svh, 620px);
    height: min(78dvh, 620px);
    min-height: 0;
    max-width: 380px !important;
    max-height: none;
    overflow: hidden;
    z-index: 80;
  }

  [code-path="src/v2/DigitalV2.tsx:770:13"]:has(> [data-rq-curator-card="interactive"].rq-curator-call-active) {
    left: auto;
    width: min(calc(100% + 36px), 380px);
    max-width: 380px !important;
    padding: 0;
    border-radius: 28px;
    transform: none;
  }

  [code-path="src/v2/DigitalV2.tsx:770:13"].rq-curator-fullscreen-shell,
  [code-path="src/v2/DigitalV2.tsx:770:13"].rq-curator-fullscreen-shell:has(> [data-rq-curator-card="interactive"].rq-curator-call-active) {
    left: 0;
    width: 100vw;
    height: 100svh;
    height: 100dvh;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0;
    border-radius: 0;
  }

  [code-path="src/v2/DigitalV2.tsx:770:13"] + p {
    display: block;
  }

  [code-path="src/v2/DigitalV2.tsx:775:15"] {
    left: auto;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    max-height: none;
    border: 0;
    transform: none;
  }

  .rq-curator-access-panel {
    padding: 22px 22px 24px;
  }

  .rq-panel-intro {
    margin-bottom: 18px;
  }

  [data-rq-curator-card="interactive"] [code-path="src/v2/DigitalV2.tsx:778:19"] {
    min-width: 0;
    gap: 8px !important;
  }

  [data-rq-curator-card="interactive"] [code-path="src/v2/DigitalV2.tsx:779:21"] {
    min-width: 0;
    max-width: none;
  }

  [data-rq-curator-card="interactive"] [code-path="src/v2/DigitalV2.tsx:782:23"] {
    white-space: normal;
    line-height: 1.25;
  }

  [data-rq-curator-card="interactive"] [code-path="src/v2/DigitalV2.tsx:787:21"] {
    display: none !important;
  }

  .rq-curator-access-panel.rq-curator-chat-panel {
    padding: 8px 18px 10px;
  }

  .rq-card-chat {
    grid-template-rows: 48px 30px minmax(0, 1fr) auto auto 14px;
    gap: 8px;
  }

  .rq-card-mode-tabs {
    width: min(250px, 84%);
    height: 48px;
  }

  .rq-card-mode-tab {
    font-size: 13px;
  }

  .rq-card-topics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    overflow-x: visible;
  }

  .rq-card-topics button {
    min-width: 0;
    padding-inline: 4px;
    font-size: 12px;
    letter-spacing: 0.03em;
  }

  :lang(en) .rq-card-topics,
  :lang(ja) .rq-card-topics,
  :lang(ar) .rq-card-topics,
  :lang(es) .rq-card-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :lang(en) .rq-panel-submit,
  :lang(ja) .rq-panel-submit,
  :lang(ar) .rq-panel-submit,
  :lang(es) .rq-panel-submit {
    padding-inline: 8px;
    letter-spacing: 0.06em;
  }

  :lang(en) .rq-panel-intro,
  :lang(ja) .rq-panel-intro,
  :lang(ar) .rq-panel-intro,
  :lang(es) .rq-panel-intro {
    gap: 12px;
    letter-spacing: 0.08em;
  }

  [dir="rtl"] .rq-panel-password-control input {
    padding-right: 0;
    padding-left: 72px;
  }

  [dir="rtl"] .rq-panel-password-toggle {
    right: auto;
    left: 0;
    padding: 0 12px 0 2px;
  }

  .rq-card-call {
    inset: 56px -18px 0;
    grid-template-rows: minmax(0, 1fr) clamp(100px, 15dvh, 112px) minmax(22px, auto);
    gap: 6px;
  }

  .rq-call-status {
    height: 26px;
    font-size: 12px;
  }

  .rq-call-message-bubble {
    max-width: 94%;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1.75;
  }

  .rq-call-messages {
    top: 46px;
    right: 18px;
    left: 18px;
    bottom: 12px;
    max-height: none;
    padding: 8px 4px 16px;
    overscroll-behavior-y: contain;
    scroll-padding-block: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 181, 106, 0.44) transparent;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .rq-call-messages::-webkit-scrollbar {
    display: block;
    width: 3px;
  }

  .rq-call-messages::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(216, 181, 106, 0.44);
  }

  .rq-call-composer {
    margin-inline: 18px;
  }

  .rq-card-message-bubble {
    max-width: 90%;
    padding: 12px 14px;
  }

  .rq-call-composer input {
    font-size: 13px;
  }

  .rq-call-controls button > span {
    width: 50px;
    height: 50px;
  }

  .rq-call-controls b {
    font-size: 12px;
  }

  .rq-call-notice {
    display: flex;
    padding-inline: 12px;
    align-items: center;
    justify-content: center;
    overflow: visible;
    font-size: 12px;
    line-height: 16px;
    text-overflow: clip;
    white-space: normal;
  }
}

@media (max-width: 480px) and (max-height: 620px) {
  .rq-card-call {
    grid-template-rows: minmax(0, 1fr) 96px minmax(18px, auto);
    gap: 5px;
  }

  .rq-call-status {
    height: 24px;
  }

  .rq-call-message-bubble {
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.65;
  }

  .rq-call-messages {
    top: 40px;
    right: 12px;
    bottom: 8px;
    left: 12px;
    padding-bottom: 12px;
  }

  .rq-call-composer {
    margin-inline: 14px;
  }

  .rq-call-controls button > span {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 350px) {
  .rq-card-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-rq-curator-card="interactive"] [code-path="src/v2/DigitalV2.tsx:777:17"] {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  [data-rq-curator-card="interactive"] [code-path="src/v2/DigitalV2.tsx:778:19"] {
    gap: 8px !important;
  }

  [data-rq-curator-card="interactive"] [code-path="src/v2/DigitalV2.tsx:779:21"] {
    max-width: 88px;
  }

  [data-rq-curator-card="interactive"] [code-path="src/v2/DigitalV2.tsx:782:23"] {
    white-space: nowrap;
  }

  [data-rq-curator-card="interactive"] [code-path="src/v2/DigitalV2.tsx:787:21"] {
    display: none !important;
  }
}

@media (max-width: 480px) and (prefers-reduced-motion: reduce) {
  .rq-card-fullscreen-toggle::before,
  .rq-card-fullscreen-icon {
    transition: none;
  }

  .rq-curator-fullscreen-shell {
    will-change: auto;
  }
}
