:root {
    --bg: #05030d;
    --card: rgba(8, 11, 27, 0.72);
    --stroke: rgba(255, 255, 255, 0.12);
    --text: #f3f6ff;
    --accent: #a855f7;
    --accent2: #22d3ee;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, sans-serif;
}

#psy-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    z-index: 0;
}

.player-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.player-card {
    width: min(900px, 100%);
    background: var(--card);
    border: 1px solid var(--stroke);
    border-radius: 28px;
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
    padding: 1.5rem;
}

.chip {
    display: inline-flex;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.18);
    color: #efd7ff;
    margin-bottom: 1rem;
}

.visual-stage {
    min-height: 360px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    display: grid;
    place-items: center;
    text-align: center;
    margin: 1.25rem 0;
    padding: 1.5rem;
}

#start-image,
#final-image {
    max-width: min(100%, 520px);
    max-height: 240px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.lyrics-box {
    white-space: pre-line;
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    line-height: 1.35;
    font-weight: 700;
    text-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
}

.final-box {
    white-space: pre-line;
}

#final-text {
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    line-height: 1.5;
}

audio {
    width: 100%;
}
