.hop-borrelpraat {
    position: fixed;
    z-index: 4;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    left: 50%;
    width: max-content;
    max-width: calc(100% - 2rem);
    display: flex;
    align-items: center;
    gap: .65rem;
    pointer-events: none;
    animation: hop-borrelpraat-pass 9s both;
}

.hop-borrelpraat-copy {
    min-width: 0;
    max-width: 23rem;
    padding: .6rem .85rem;
    border: 1px solid #a87943;
    border-radius: .55rem;
    background: #30201b;
    color: #fff0d3;
    box-shadow: 0 4px 14px #0006;
}

.hop-borrelpraat-copy p { margin: .2rem 0 0; font-size: .9rem; }
.hop-borrelpraat-object { display: block; position: relative; flex: 0 0 auto; }

.hop-borrelpraat[data-kind="viltje"] .hop-borrelpraat-object {
    width: 3rem;
    aspect-ratio: 1;
    border: .32rem solid #f4e6c7;
    border-radius: 50%;
    background: repeating-conic-gradient(#bb7328 0 30deg, #f3c67f 30deg 45deg);
    box-shadow: inset 0 0 0 .22rem #7b4220, 0 2px 4px #0006;
    animation: hop-borrelpraat-roll 9s both;
}

.hop-borrelpraat[data-kind="bon"] .hop-borrelpraat-object {
    width: 2.2rem;
    height: 3rem;
    background: #f8e9cc;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 87.5% 92%, 75% 100%, 62.5% 92%, 50% 100%, 37.5% 92%, 25% 100%, 12.5% 92%, 0 100%);
    transform: rotate(-12deg);
}

.hop-borrelpraat[data-kind="bon"] .hop-borrelpraat-object::before {
    content: "";
    position: absolute;
    inset: .45rem .35rem .65rem;
    background: repeating-linear-gradient(#896b51 0 2px, transparent 2px 6px);
}

.hop-borrelpraat[data-kind="bitterbal"] .hop-borrelpraat-object {
    width: 2.8rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 28% 30%, #ffce6f 0 1px, transparent 2px) 0 0 / 6px 7px,
        radial-gradient(circle at 32% 25%, #efae48, #9b4718 70%, #572c12);
    box-shadow: 0 2px 4px #0008;
    animation: hop-borrelpraat-roll 9s both;
}

.hop-borrelpraat[data-kind="glas"] .hop-borrelpraat-object {
    width: 2.2rem;
    height: 3rem;
    border: 2px solid #efe0b7cc;
    border-bottom-width: 4px;
    border-radius: .2rem .2rem .55rem .55rem;
    background: linear-gradient(to top, #c47724bb 0 9%, transparent 10%), #edce9b15;
    box-shadow: inset .25rem 0 0 #fff3, 0 2px 4px #0006;
    transform: rotate(10deg);
}

@keyframes hop-borrelpraat-pass {
    0% { transform: translateX(calc(-100vw - 100%)); }
    19%, 80% { transform: translateX(-50%); }
    100% { transform: translateX(100vw); }
}

@keyframes hop-borrelpraat-roll {
    0% { transform: rotate(-720deg); }
    19%, 80% { transform: rotate(0); }
    100% { transform: rotate(720deg); }
}

html[data-hop-animations="off"] .hop-borrelpraat { display: none; }
@media (prefers-reduced-motion: reduce) {
    .hop-borrelpraat { display: none; }
}
