/* Approved bilingual messages; preserve the existing scene and particle effects. */
.music-layout h3.original-message,.music-message-static h3.original-message{font-weight:900;font-size:clamp(30px,6.5vw,78px);line-height:1.3;letter-spacing:-.025em;overflow-wrap:anywhere;white-space:normal;margin:24px 0 30px;text-wrap:balance}
.original-message:lang(ja){word-break:normal;line-break:strict;letter-spacing:.015em}
.music-layout .music-track,.music-message-static .music-track{margin-top:8px}
.music-track .song-title{margin-bottom:10px}
.music-layout .original-message .music-word{display:inline;white-space:normal}
@media(max-width:650px){.music-layout h3.original-message,.music-message-static h3.original-message{font-size:clamp(30px,8.8vw,40px);line-height:1.42;margin:20px 0 26px}.music-layout{padding-left:7%;padding-right:7%}}

/* Shared Japanese line layout for intro, post-registration result, and reopened collection details. */
h3.original-message[data-phrase-layout] {text-wrap:initial;overflow-wrap:normal;word-break:normal}
h3.original-message[data-phrase-layout] .phrase-line {display:block;width:max-content;white-space:nowrap;overflow-wrap:normal;word-break:keep-all}

/* Extra room for the four explicitly identified long lines, in Japanese intro only. */
@media(max-width:650px){
#music-intro h3.original-message:is([data-phrase-layout="vol1-08"],[data-phrase-layout="vol1-10"],[data-phrase-layout="vol1-18"],[data-phrase-layout="vol1-23"]){width:calc(100% + 6vw);max-width:none;margin-left:-3vw;margin-right:-3vw}
}

/* Give registered/reopened messages a little room without changing the dialog or other controls. */
@media(max-width:650px){#modal h3.original-message[data-phrase-layout]{width:calc(100% + 16px);max-width:none;margin-left:-8px;margin-right:-8px}}

/* Match the Japanese text room across results and collection details. */
#modal .music-message-static.fixed-message-layout{padding-left:0;padding-right:0}
