.ftl-phone {
  position: relative;
  width: 372px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 52px;
  border: 1px solid rgba(32, 36, 46, 0.12);
  box-shadow: 0 24px 64px rgba(32, 36, 46, 0.18);
  background: #ECE7DA;
  overflow: hidden;
  transform: translateZ(0);
  aspect-ratio: 390 / 844;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}
.ftl-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: 844px;
  transform-origin: 0 0;
  background: #ECE7DA;
  color: #20242E;
  font: 400 17px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;
  letter-spacing: -0.01em;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.ftl-stage *,
.ftl-stage *:before,
.ftl-stage *:after {
  box-sizing: border-box;
}
.ftl-stage[hidden] {
  display: block;
}
.ftl-stage .ftl-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 28px 0 42px;
  color: #20242E;
  z-index: 3;
}
.ftl-stage .ftl-status .ftl-time {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.ftl-stage .ftl-status .ftl-island {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 124px;
  height: 36px;
  margin-left: -62px;
  border-radius: 20px;
  background: #000;
}
.ftl-stage .ftl-status .ftl-sys {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ftl-stage .ftl-status .ftl-sys svg {
  display: block;
  fill: currentColor;
}
.ftl-stage .ftl-status .ftl-sys .ftl-cell {
  width: 18px;
  height: 12px;
}
.ftl-stage .ftl-status .ftl-sys .ftl-wifi {
  width: 16px;
  height: 12px;
}
.ftl-stage .ftl-status .ftl-sys .ftl-batt {
  width: 27px;
  height: 13px;
}
.ftl-pane {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 16px 14px;
  overflow: hidden;
}
.ftl-near {
  top: 422px;
  bottom: 0;
  padding-bottom: 28px;
}
.ftl-far {
  top: 52px;
  height: 370px;
  transform: rotate(180deg);
  padding-bottom: 14px;
}
.ftl-lines {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  padding: 36px 0 14px;
  overflow: hidden;
}
.ftl-bubble {
  max-width: 82%;
  padding: 11px 15px 12px;
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(32, 36, 46, 0.07);
  box-shadow: 0 1px 2px rgba(32, 36, 46, 0.05);
  align-self: flex-start;
  transform-origin: 0 100%;
  animation: ftl-pop 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
.ftl-bubble .ftl-t {
  display: block;
  font-size: 17px;
  line-height: 1.3;
  color: #20242E;
}
.ftl-bubble .ftl-o {
  display: block;
  margin-top: 4px;
  font-family: "New York", "Iowan Old Style", "Charter", "Palatino", Georgia, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.3;
  color: rgba(32, 36, 46, 0.62);
  letter-spacing: 0;
}
.ftl-bubble.ftl-mine {
  align-self: flex-end;
  background: #DCE7DF;
  border-color: rgba(47, 107, 79, 0.14);
  transform-origin: 100% 100%;
}
.ftl-bubble .ftl-q {
  float: right;
  margin: 1px -4px 4px 10px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: rgba(32, 36, 46, 0.55);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(32, 36, 46, 0.1);
}
.ftl-bubble .ftl-w {
  opacity: 0;
  animation: ftl-word 0.18s ease-out both;
}
@keyframes ftl-pop {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(6px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes ftl-word {
  to {
    opacity: 1;
  }
}
.ftl-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}
.ftl-wave i {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: #2F6B4F;
  transform-origin: center;
  animation: ftl-bar 0.9s ease-in-out infinite;
}
.ftl-wave i:nth-child(1) {
  animation-delay: -0.1s;
  --h: 1.6;
}
.ftl-wave i:nth-child(2) {
  animation-delay: -0.45s;
  --h: 2.4;
}
.ftl-wave i:nth-child(3) {
  animation-delay: -0.2s;
  --h: 2.1;
}
.ftl-wave i:nth-child(4) {
  animation-delay: -0.6s;
  --h: 2.5;
}
.ftl-wave i:nth-child(5) {
  animation-delay: -0.35s;
  --h: 1.5;
}
@keyframes ftl-bar {
  0%,
  100% {
    transform: scaleY(0.55);
  }
  50% {
    transform: scaleY(var(--h, 2));
  }
}
.ftl-dots {
  display: inline-flex;
  padding: 12px 16px;
}
.ftl-dots .ftl-wave i {
  background: rgba(32, 36, 46, 0.45);
}
.ftl-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.36);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 0.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.7), 0 0.5px 1px rgba(32, 36, 46, 0.05), 0 8px 20px -6px rgba(32, 36, 46, 0.14);
}
.ftl-caps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: none;
}
.ftl-cap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 20px;
  border-radius: 9999px;
  font-size: 17px;
  font-weight: 500;
  color: #20242E;
  white-space: nowrap;
}
.ftl-cap > * {
  position: relative;
  z-index: 1;
}
.ftl-cap.ftl-cap-speak {
  flex: 1;
  font-weight: 600;
}
.ftl-cap svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ftl-cap .ftl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2F6B4F;
}
.ftl-cap .ftl-flag {
  font-size: 20px;
  line-height: 1;
}
.ftl-cap .ftl-code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.ftl-cap .ftl-wave {
  display: none;
}
.is-speaking .ftl-cap.ftl-cap-speak .ftl-wave {
  display: inline-flex;
}
.is-speaking .ftl-cap.ftl-cap-speak > svg {
  display: none;
}
.ftl-cap .ftl-chev {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
  color: rgba(32, 36, 46, 0.55);
}
.ftl-spine {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 394px;
  height: 56px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  z-index: 2;
}
.ftl-spine > * {
  position: relative;
  z-index: 1;
}
.ftl-spine .ftl-flag {
  font-size: 22px;
  line-height: 1;
}
.ftl-spine .ftl-mode {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(32, 36, 46, 0.7);
}
.ftl-spine .ftl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2F6B4F;
}
.ftl-spine.is-listening .ftl-dot {
  animation: ftl-pulse 1.2s ease-in-out infinite;
}
@keyframes ftl-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(47, 107, 79, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(47, 107, 79, 0);
  }
}
.ftl-static .ftl-bubble,
.ftl-static .ftl-w {
  animation: none;
  opacity: 1;
}
.ftl-static .ftl-dots {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .ftl-bubble,
  .ftl-w,
  .ftl-wave i,
  .ftl-spine .ftl-dot {
    animation: none !important;
    opacity: 1;
  }
}
