body, html {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: transparent;
}

#comment-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.comment {
    position: absolute;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "M PLUS Rounded 1c", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: white;
    /* ニコニコ風の縁取り */
    text-shadow: 
        2px 2px 0 #000, -2px -2px 0 #000,
        -2px 2px 0 #000, 2px -2px 0 #000,
        0px 2px 0 #000,  0px -2px 0 #000,
        -2px 0px 0 #000, 2px 0px 0 #000;
    will-change: transform;
    animation: scroll-left linear forwards;
}

.comment-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    /* アイコンにも縁取りを模した影 */
    filter: drop-shadow(2px 2px 0 #000) drop-shadow(-2px -2px 0 #000);
}

@keyframes scroll-left {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}
