/* A musical orbit behind the DJ and his illuminated mixing desk. */
body[data-page='cup'] .dj-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; padding: 32px; margin-top: 32px; border: 1px solid var(--line); border-radius: 4px; background: radial-gradient(ellipse at 18% 55%, #dfc3970c, transparent 65%), var(--surface); }
.dj-portal { width: 100%; max-width: 470px; height: 470px; margin-inline: auto; --portal-accent: #ed744f; }
.dj-portal .portrait-ring { width: 78%; left: 11%; top: 17%; }
.dj-portal .portrait-ring-outer { width: 92%; left: 4%; top: 11%; }
.dj-portal .portrait-cutout { z-index: 2; mask-image: linear-gradient(#000 88%, transparent 100%); }
.dj-portal .portrait-horizon { bottom: 4%; }
.dj-notes { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.dj-note { position: absolute; left: var(--x); top: var(--y); color: var(--meteor-gold); font-family: 'Segoe UI Symbol', 'Noto Music', serif; font-size: var(--size, 25px); line-height: 1; text-shadow: 0 0 12px #dfc39790, 0 0 28px #ed744f55; opacity: 0; animation: dj-note-flight var(--duration, 8s) ease-in-out var(--delay, 0s) infinite; }
.dj-note:nth-child(3n) { color: #f5e6c8; }
.dj-note:nth-child(4n) { color: #ed9973; }
body[data-page='cup'] .dj-info { min-width: 0; text-align: left; }
body[data-page='cup'] .dj-info h3 { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; margin-bottom: 12px; text-transform: none; }
body[data-page='cup'] .dj-subtitle { font-size: .67rem; letter-spacing: .14em; margin-bottom: 16px; }
body[data-page='cup'] .dj-desc { font-size: .9rem; line-height: 1.8; color: var(--ink-muted); }
@keyframes dj-note-flight {
    0% { opacity: 0; transform: translate3d(-6px, 28px, 0) rotate(-12deg) scale(.65); }
    20% { opacity: .75; }
    65% { opacity: .9; }
    100% { opacity: 0; transform: translate3d(var(--drift, 25px), -85px, 0) rotate(16deg) scale(1.1); }
}
.dj-portal.is-resting .dj-note,
.dj-portal.is-resting .portrait-ring,
.dj-portal.is-resting .portrait-ring::before { animation-play-state: paused; }
@media (max-width: 1100px) and (min-width: 769px) {
    .dj-portal { height: 370px; }
}
@media (max-width: 768px) {
    body[data-page='cup'] .dj-split { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px 16px 24px; }
    .dj-portal { height: clamp(280px, 87vw, 380px); max-width: 360px; }
    body[data-page='cup'] .dj-info { text-align: center; }
    body[data-page='cup'] .dj-info h3 { font-size: clamp(1.55rem, 6.8vw, 2rem); }
    body[data-page='cup'] .dj-desc { font-size: .83rem; line-height: 1.75; }
    .dj-note { font-size: calc(var(--size, 25px) * .8); }
}
@media (prefers-reduced-motion: reduce) {
    .dj-note { animation: none; opacity: .65; }
}
