/* Live race messages occupy only the top quarter of the stage, below mobile ranks. */
.race-danmaku {position:absolute;left:0;right:0;top:8px;height:25%;overflow:hidden;pointer-events:none;z-index:4;contain:layout paint}
.race-danmaku[hidden] {display:none}
.race-danmaku-item {position:absolute;left:0;display:block;max-width:90%;height:25px;padding:2px 9px;border-radius:12px;background:rgba(255,253,244,.88);color:#294e40;font:700 14px/21px 'Microsoft YaHei','PingFang SC',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 1px 3px #254c3426;will-change:transform}
.race-danmaku-item.finish {background:#fff0b8;color:#715022}
@media(max-width:600px) {.race-danmaku-item {font-size:12px}}
@media(prefers-reduced-motion:reduce) {.race-danmaku-item {will-change:auto}}
