/* A single stationary Android frame clips the decoded native images as they change. */
.feature-phone .feature-screen-viewport {
  position: absolute;
  top: 1.5%;
  left: 8.8%;
  width: 82.4%;
  aspect-ratio: 1080 / 2400;
  box-sizing: border-box;
  border: 3px solid #202c25;
  border-radius: 8% / 3.6%;
  background: #f8f8f6;
  overflow: hidden;
  isolation: isolate;
}
.feature-phone.android-capture .feature-screen-viewport > .device-screen-shot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}
.feature-stage,
.feature-stage .feature-visual {
  transition: background-color 600ms cubic-bezier(.32,.72,0,1);
}
.feature-stage .feature-copy { width: 100%; }
.feature-stage .feature-size-probe {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  height: auto !important;
  min-block-size: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}
.feature-screen-status {
  margin: .65rem 0 0;
  color: #394b40;
}
@media (max-width: 760px) {
  .feature-stage,
  .feature-stage .feature-visual { transition-duration: 300ms; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-stage,
  .feature-stage .feature-visual,
  .feature-controls button { transition: none; }
}

.feature-toolbar {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 0 clamp(9px, 2vw, 20px) -24px;
}
.feature-toolbar .feature-controls { margin: 0; max-width: 100%; }
.feature-playback {
  order: 1; flex: none; display: inline-flex; align-items:center; gap: 7px; justify-content:center;
  min-height: 44px; padding: 5px 14px 5px 7px; border: 1px solid #b8cdbf; border-radius: 999px;
  background: #fbfdfa; color: #173c2a; font: 650 14px/1 var(--q-reading-font);
  cursor: pointer; box-shadow: 0 4px 12px #12332312;
}
.feature-playback[hidden] { display: none; }
.feature-playback:hover { background: #f1f7ef; }
.feature-playback:focus-visible { outline: 3px solid #086d3b; outline-offset: 3px; }
.feature-playback svg circle { stroke-width: 2; }
.feature-clock-track { stroke: #d3e2d6; }
.feature-clock { stroke: #147940; stroke-dasharray: 100; stroke-dashoffset: 100; transform-origin:center; transform: rotate(-90deg); }
.feature-play-glyph { fill: currentColor; }
.feature-pause-glyph { display: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; }
.feature-playback[data-playing="true"] .feature-play-glyph { display: none; }
.feature-playback[data-playing="true"] .feature-pause-glyph { display: block; }
@media (max-width: 550px) {
  .feature-toolbar { margin-inline: 9px; gap: 5px; }
  .feature-toolbar .feature-controls { flex: 1 1 0; width: auto; min-width: 0; }
  .feature-playback { width: 44px; height: 44px; padding: 0; }
  .feature-playback span { position: absolute; width: 1px; height: 1px; clip-path: inset(100%); overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-playback { display: none; }
}
