.phone-screen { position: relative; overflow: hidden; border-radius: 40px; aspect-ratio: 1284 / 2778; background: #03080d; }
.phone-screen > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.app-story { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.story-ready .app-story { opacity: 1; }
.story-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.story-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 12px; border: 1px solid #76859477; border-radius: var(--radius-control, 12px); color: #eaf2f8; background: #101b25e6; font: inherit; font-size: 11px; cursor: pointer; transition: background .18s, border-color .18s, scale .18s; }
.story-controls button:hover { background: #173248; border-color: #57c7f3; }
.story-controls button:active { scale: .97; }
.story-controls button:focus-visible { outline: 2px solid #57c7f3; outline-offset: 3px; }
.story-controls button[aria-pressed="true"] { border-color: #57c7f3; color: #57c7f3; }
.story-controls svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.story-controls .pause-glyph, [data-playing="true"] .play-glyph { display: none; }
.story-controls [data-playing="true"] .pause-glyph { display: block; }
.story-controls [hidden] { display: none; }
.story-status { font-size: 11px; line-height: 1.4; color: #bbc3c9; text-align: center; }
.story-status:empty { display: none; }
html.talori-motion .motion-phone { transform: perspective(1100px) translate3d(var(--phone-x, 0px), var(--phone-y, 0px), 0) rotateX(calc(var(--phone-rx, 0deg) + var(--sensor-rx, 0deg))) rotateY(calc(var(--phone-ry, 0deg) + var(--sensor-ry, 0deg))); }
@media (max-width: 620px) { .phone-screen { border-radius: 35px; } }
@media (prefers-reduced-motion: reduce) {
  html.talori-motion .motion-phone { transform: none; }
  .story-controls button { transition: none; }
}
