.media-frame {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    background: #030711;
}

.capture-detail {
    margin: 12px 0 0;
    color: #64748f;
    font-size: 11px;
    line-height: 1.5;
}

.pulse.live {
    background: #64d8ff;
    box-shadow: 0 0 12px #64d8ff, 0 0 32px rgba(100, 216, 255, .6);
}

.wave {
    opacity: calc(.22 + var(--signal) * .78);
    transform: scaleY(calc(.65 + var(--signal) * .85));
    transition: opacity 80ms linear, transform 80ms linear;
}

.lane .hit-line {
    position: absolute;
    left: 14%;
    right: 14%;
    top: auto;
    bottom: 58px;
    height: 5px;
    border-radius: 5px;
    background: #64d8ff;
    box-shadow: 0 0 18px #2f7cff;
}

.lane .falling-note {
    position: absolute;
    z-index: 2;
    left: 12%;
    right: 12%;
    top: 0;
    bottom: auto;
    height: 8px;
    border-radius: 5px;
    background: #64d8ff;
    box-shadow: 0 0 12px #2f7cff;
    transform: translate3d(0, 8px, 0);
    will-change: transform;
}

.note-hit-effect {
    position: fixed;
    z-index: 100;
    pointer-events: none;
    border: 1px solid rgba(223, 250, 255, .75);
    border-radius: 5px;
    background: rgba(100, 216, 255, .55);
    box-shadow: 0 0 8px rgba(100, 216, 255, .75), 0 0 18px rgba(47, 124, 255, .35);
    animation: note-hit-burst 300ms ease-out both;
}

@keyframes note-hit-burst {
    0% { opacity: .72; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.3, 1.8); }
}
.lane {
    transition: background-color 150ms ease, box-shadow 180ms ease;
}

.lane.pressed {
    background: rgba(47, 124, 255, .12);
    box-shadow: inset 0 -40px 30px rgba(100, 216, 255, .1);
}

.lane .hit-line {
    transition: transform 150ms ease, background-color 150ms ease, box-shadow 180ms ease;
}

.lane.pressed .hit-line {
    transform: scaleY(1.25);
    background: #c9f3ff;
    box-shadow: 0 0 10px rgba(100, 216, 255, .75);
}

.judgment.show {
    animation: judgment-burst 440ms ease-out both;
}

.judgment.great strong { color: #2f7cff; }
.judgment.good strong { color: #9ebeff; }

@keyframes judgment-burst {
    0% { opacity: 0; transform: translateY(4px) scale(.98); }
    22% { opacity: .9; transform: translateY(0) scale(1.01); }
    68% { opacity: .82; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-5px) scale(1); }
}

.source-preview:has(.media-frame) {
    display: block;
}

@media (max-width: 900px) {
    .media-frame {
        min-height: 240px;
    }
}
