/**
 * Credits Overlay — Film-style bottom-to-top scrolling credits.
 */

/* --- Overlay (fullscreen, 70% opaque black) --- */

.mm-credits-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mm-credits-overlay.mm-credits-visible {
    opacity: 1;
}

/* --- Scrolling container --- */

.mm-credits-inner {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 85vw);
    top: 100%;
    animation: credits-scroll 80s linear forwards;
    animation-play-state: running;
}

@keyframes credits-scroll {
    from { top: 100%; }
    to   { top: -300%; }
}

/* --- Studio & Game Title --- */

.mm-credits-studio {
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
}

.mm-credits-game {
    text-align: center;
    font-size: 28px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

/* --- Section Heading --- */

.mm-credits-heading {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ase-mm-ring-color, #ed1c24);
    opacity: 0.7;
    margin-bottom: 16px;
    padding-top: 8px;
}

/* --- Role / Name Row (two columns) --- */

.mm-credits-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 3px 0;
}

.mm-credits-role {
    flex: 1;
    text-align: right;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.mm-credits-name {
    flex: 1;
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
}

/* --- Special Thanks (centered) --- */

.mm-credits-thanks {
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    padding: 2px 0;
}

/* --- Quote --- */

.mm-credits-quote {
    text-align: center;
    font-size: 12px;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    white-space: pre-line;
    padding: 0 20px;
}

.mm-credits-quoteattr {
    text-align: center;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 8px;
}

/* --- Copyright --- */

.mm-credits-copyright {
    text-align: center;
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    padding: 2px 0;
}

/* --- Spacer --- */

.mm-credits-spacer {
    height: 40px;
}

/* ═══════════════════════════════════════════════════════════════════════
   Info Panel — Auth Guide (matches credits visual language)
   ═══════════════════════════════════════════════════════════════════════ */

.mm-info-wrap {
    padding: 4px 8px;
}

.mm-info-title {
    font-size: 14px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-bottom: 6px;
}

.mm-info-subtitle {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    line-height: 1.5;
    margin-bottom: 16px;
}

.mm-info-section {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ase-mm-ring-color, #ed1c24);
    opacity: 0.7;
    margin-top: 14px;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mm-info-steps {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mm-info-step {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.mm-info-num {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.25);
    min-width: 10px;
    text-align: right;
    flex-shrink: 0;
}

.mm-info-text {
    font-size: 12px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}
