.nexon-demo { align-items: start; margin-bottom: 24px; }
.nexon-demo-copy h3 { color: var(--muted); font-size: var(--section-size); line-height: 1.2; letter-spacing: -.015em; font-weight: 400; margin-bottom: 24px; }
.nexon-demo-copy p + p { color: var(--muted); }
.nexon-player { min-width: 0; }
.nexon-player video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; background: #f5f5f5; cursor: pointer; }
.nexon-player video:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.nexon-player-controls { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 12px; }
.nexon-player-controls button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; border: 1px solid transparent; border-radius: 999px; background: var(--paper); color: var(--muted); cursor: pointer; }
#nexon .video-speed { width: 52px; padding: 6px 8px; border-color: var(--rule); color: var(--ink); font-size: 16px; }
.nexon-player-controls button:hover, #nexon .video-speed[aria-pressed="true"] { color: var(--accent); border-color: currentColor; }
.nexon-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

#nexon .nexon-player { margin: 0; width: 100%; }
#nexon .video-speed { display: flex; justify-content: center; align-items: center; margin: 12px 0 0 auto; min-height: 44px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); cursor: pointer; }
#nexon .project-facts a { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 760px) { .nexon-demo { row-gap: 24px; } }

/* The composer comparison uses real transparency, including between controls. */
.nexon-player nexon-composer-demo { display: block; width: 100%; aspect-ratio: 3 / 2; background: transparent; cursor: pointer; }
.nexon-player nexon-composer-demo > img { display: block; width: 100%; height: auto; }
.nexon-player nexon-composer-demo:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.nexon-demo-copy strong { color: var(--ink); font-weight: 400; }
