ol#chat-log {
    header.message-header {
        background-color: black;
        padding: 0 1rem;
    }

    .vermine-roll-message {
        overflow: hidden;
        box-shadow: 0px 0px 30px white inset;
        padding: 0;
        position: relative;


        .flexrow {
            align-items: center;
            box-shadow: 0px 5px 10px 0px black;
        }

        h3,
        h4 {
            text-transform: uppercase;
            font-family: "DistressBlack";
            margin-top: 1rem;
            border-bottom: none;
            font-weight: 900;
            background: 50% 0%/cover no-repeat url(/systems/vermine2047/assets/images/ui/scotch.webp);

            &+span {
                font-family: "DistressBlack";
                font-size: large;
                text-transform: unset;

                padding-left: 2rem;
                background: -100% 0%/cover no-repeat url(/systems/vermine2047/assets/images/ui/scotch.webp);

                &#allowed_reroll {
                    font-size: large;

                }
            }
        }

        h3 {
            background: url(/systems/vermine2047/assets/images/ui/scotch.webp);
            background-position: center;
            background-size: 200%;
        }

        h4 {
            text-align: center;
        }

        div.roll-total {
            transform: rotate(-3deg) scale(1.2) translateX(2rem) translateY(0.5rem);
            background: url(/systems/vermine2047/assets/images/ui/scotch.webp);
            background-position: center;
            background-size: 200%;
            margin-bottom: 2rem;
            padding: 0;
            z-index: +1;
            width: 75%;
        }

        div.reroll {
            button {
                text-transform: uppercase;
                font-family: "DistressBlack";
                padding: 0 1rem;
                max-width: fit-content;
                box-shadow: 0px 0px 2px black;
                background: 50% 0%/cover no-repeat url(/systems/vermine2047/assets/images/ui/scotch.webp);

            }

            transition:0.3s;
            max-height:1px;
            overflow: hidden;
            justify-content: end;
            text-align: center;
            align-items: center;

            &.visible {
                max-height: 15rem;

            }


        }

        ul.roll-results {
            list-style: none;

            li.die {
                position: relative;
                max-width: 3rem;
                line-height: 3rem;
                float: left;
                margin: 0.2rem;
                background-image: url(/icons/dice/d10black.svg);
                background-position: center;
                background-repeat: no-repeat;
                background-size: contain;
                font-weight: 800;
                font-size: 1rem;
                color: #ffffff;
                text-align: center;
                transition: 0.3s;
                border-bottom: 5px solid rgb(255, 0, 0);
                border-radius: 2rem;




                &::after {
                    content: "";
                    position: absolute;
                    top: -1rem;
                    text-wrap: nowrap;
                    color: white;
                    font-weight: 100;
                    font-size: smaller;
                    text-align: center;
                    opacity: 0;
                    text-shadow: 0px 0px 5px black;

                }

                &:hover::after {
                    opacity: 1;
                    color: white;
                }


                &.human,
                &.adapted {
                    border-top: 5px solid rgb(255, 217, 0);

                    &::after {
                        content: "";

                    }
                }

                &.rerollable {
                    cursor: pointer;

                    &:hover {
                        transform: translateY(0.5rem)
                    }
                }

                &.success {
                    border-bottom: 5px solid rgb(0, 143, 7);
                }

                &.adapted {

                    &::after {
                        content: "adapté"
                    }



                }

                &.human {
                    &::after {

                        content: "humain"
                    }
                }

                &.rerolled {
                    transform: translateY(-0rem);
                }

                span {
                    text-align: center;
                    font-size: larger;
                    text-shadow: 0px 0px 8px black;
                }



            }
        }
    }

}