/* Phone mockup — chat input bar (scoped to marketing site demos) */
.phone-screen--chat .phone-body {
  padding-bottom: 6px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

.phone-screen--chat .phone-body::-webkit-scrollbar {
  display: none;
}

/* Mini-app card in chat (matches Android miniapp-card-content) */
.phone-screen--chat .bubble.miniapp-bubble {
  padding: 8px 10px 9px;
  max-width: 90%;
}

.phone-screen--chat .miniapp-card-content {
  display: flex;
  align-items: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.phone-screen--chat .miniapp-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(145deg, #fff8ef 0%, #f5e6d3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  margin-right: 9px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.phone-screen--chat .miniapp-card-body {
  flex: 1;
  min-width: 0;
}

.phone-screen--chat .miniapp-card-name {
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.2;
  color: #222;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-screen--chat .miniapp-card-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  line-height: 1.2;
  color: #888;
}

.phone-screen--chat .miniapp-card-spark {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #b8f0a0, #07c160 55%, #05a050);
  box-shadow: 0 0 0 2px rgba(7, 193, 96, 0.15);
  animation: miniapp-spark 1.6s ease-in-out infinite;
}

@keyframes miniapp-spark {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.88); opacity: 0.75; }
}

.phone-screen--chat .miniapp-card-chevron {
  flex-shrink: 0;
  margin-left: 6px;
  font-size: 17px;
  line-height: 1;
  color: #bbb;
  font-weight: 300;
}

.phone-screen .chat-input-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 6px;
  padding: 6px 8px 7px;
  min-height: 36px;
  background: #ededed;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

.phone-screen .chat-input-container .emoji-icon,
.phone-screen .chat-input-container .chat-plus-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 0 0 1px;
  color: #555;
}

.phone-screen .chat-input-container svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.phone-screen .chat-input-wrapper {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
}

.phone-screen .chat-input {
  display: block;
  width: 100%;
  border: none;
  padding: 7px 9px;
  background: #fff;
  font-size: 11px;
  line-height: 1.35;
  border-radius: 4px;
  color: #9a9a9a;
  min-height: 28px;
  box-sizing: border-box;
}
