/* Property Motion video player (locked). Pairs with player-example.html. Needs tokens.css. */
.pm-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--pm-r-media, 18px); overflow: hidden; background: #0B0B0D; }
.pm-player video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Ring button: gradient ring, 50% red gradient fill, no blur */
.pm-btn { border: none; padding: 2px; border-radius: 50%; cursor: pointer; display: flex;
  background: conic-gradient(from 200deg, #FF4B3A, #8F0D1C 55%, #FF4B3A); }
.pm-btn > span { flex: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,75,58,0.5), rgba(143,13,28,0.5)); }
.pm-btn svg { fill: #FFFFFF; }
.pm-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px #0B0B0D, 0 0 0 5px #F2EFEA; }

/* Centre play: before play and when paused */
.pm-centre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; box-shadow: 0 0 22px rgba(255,75,58,0.4), 0 8px 20px rgba(0,0,0,0.25);
  transition: opacity 200ms cubic-bezier(0.22, 1, 0.36, 1); }
.pm-centre svg { width: 22px; height: 22px; margin-left: 2px; }

/* Bottom bar: brand timeline plus corner button. No runtime, no volume, no extra icons. */
.pm-bar { position: absolute; left: 20px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 16px; }
.pm-track { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.25); position: relative; cursor: pointer; }
.pm-fill { position: absolute; left: 0; top: 0; height: 4px; border-radius: 4px; width: 0%;
  background: linear-gradient(90deg, #FF4B3A, #8F0D1C); }
.pm-head { position: absolute; top: 50%; width: 13px; height: 13px; border-radius: 50%; background: #FFFFFF;
  transform: translate(-50%, -50%); left: 0%; box-shadow: 0 0 0 3px #C72C2B, 0 0 12px rgba(255,75,58,0.6); }
.pm-corner { width: 40px; height: 40px; padding: 1.5px; flex-shrink: 0; }
.pm-corner svg { width: 16px; height: 16px; }

/* States */
.pm-player .pm-dim { position: absolute; inset: 0; background: rgba(11,11,13,0.22); opacity: 0; pointer-events: none; transition: opacity 200ms; }
.pm-player[data-state="paused"] .pm-dim { opacity: 1; }
.pm-player[data-state="playing"] .pm-centre { opacity: 0; pointer-events: none; }
.pm-player[data-state="ready"] .pm-bar { display: none; }

@media (prefers-reduced-motion: reduce) { .pm-centre, .pm-player .pm-dim { transition: none; } }
