/* The phone moves from missing to connected, then confirms ownership. */
.connected-phone-app {
  --connected-phone-accent: color-mix(in srgb, #ff6f7f calc((1 - var(--phone-connection-progress, 0)) * 100%), #48e0ba);
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  height: 100%;
  overflow: hidden;
  color: #e5eef2;
  background: #07141d;
  font-family: var(--font-body);
}
.connected-phone-body { display: flex; min-height: 0; padding: 14px 6px; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.connected-phone-signal { position: relative; display: grid; width: 56px; height: 56px; flex: 0 0 56px; place-items: center; scale: 1.18; }
.connected-phone-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.connected-phone-signal circle { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.connected-phone-ring-ready { stroke: #48e0ba; stroke-dasharray: 100 100; stroke-dashoffset: var(--phone-ring-offset, 100); transform: rotate(-90deg); transform-origin: center; opacity: var(--phone-ring-visible, 0); }
.connected-phone-icon { position: relative; width: 28px; height: 28px; overflow: visible; fill: none; stroke: var(--connected-phone-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.connected-phone-lock-shackle { stroke-dasharray: 100; stroke-dashoffset: var(--phone-shackle-offset, 0); opacity: var(--phone-lock-opacity, 1); transform: translateY(var(--phone-shackle-lift, 0px)); }
.connected-phone-lock-closure { stroke-dasharray: 100; stroke-dashoffset: calc(var(--phone-lock-closure, 0) * 100); opacity: calc(1 - var(--phone-lock-closure, 0)); }
.connected-phone-lock-keyhole { opacity: var(--phone-lock-opacity, 1); }
.connected-phone-summary { position: relative; width: 100%; }
.connected-phone-message { display: grid; place-items: center; min-height: 2.4em; max-width: 100%; margin: 0; color: var(--connected-phone-accent); font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; text-align: center; text-wrap: balance; }
@media (max-width: 760px) {
  .connected-phone-body { padding: 12px 5px; gap: 12px; }
  .connected-phone-signal { width: 50px; height: 50px; flex-basis: 50px; }
  .connected-phone-icon { width: 25px; height: 25px; }
  .connected-phone-message { font-size: 14px; }
}
