:root{background:transparent;color-scheme:dark;font-family:system-ui,sans-serif}
html,body{background:transparent;font-family:system-ui,sans-serif}
.preview-controls{min-height:64px;display:flex;gap:14px;align-items:center;justify-content:center;font-size:14px}
.preview-controls button{margin-left:6px;padding:6px 10px;border:1px solid #575669;border-radius:8px;background:#171e31;color:#f5e4bd;font:inherit}
@media (max-width:480px){.reel-phone{height:430px}.reel-clock-panel p{max-width:240px}}

/* The embed resizes to this content, so phone height must be independent of frame height. */
.reel-phone {
  height: auto;
  width: min(220px, 100%);
  flex: 0 0 auto;
}
.reel-feed video.is-settling {
  transition-duration: 200ms;
}
.reel-feed[inert] {
  pointer-events: none;
}
.reel-interruption {
  padding: 32px 12px 12px;
  gap: 8px;
  text-align: center;
}
.reel-interruption h2 {
  font-size: 23px;
  line-height: 1.1;
}
.reel-interruption .sleeping-puff {
  width: 72px;
  height: 72px;
  flex: none;
}
.reel-trace .guided-extension-arc {
  width: 140px;
  height: 84px;
  touch-action: none;
}
@media (prefers-reduced-motion: reduce) {
  .reel-feed video.is-settling { transition: none; }
}

#demo-root {
  -webkit-user-select: none;
  user-select: none;
}
#demo-root .reel-phone {
  -webkit-touch-callout: none;
}
@media (pointer: coarse) {
  .reel-trace .guided-extension-arc {
    width: min(172px, 100%);
    height: auto;
    aspect-ratio: 5 / 3;
  }
}

.play-reel {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: #eee1c7;
  color: #101423;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}
.play-reel[hidden] { display: none; }
