.stk-eight-ball {
    position: relative;
    width: 112px;
    height: 126px;
    margin: 0 auto;
}

.stk-eight-ball::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 14px;
    width: 84px;
    height: 12px;
    border-radius: 50%;
    background: #101e2626;
    filter: blur(4px);
}

.stk-eight-ball__sphere {
    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle at 28% 22%, #75818a 0%, #26343f 19%, #101820 48%, #030609 85%);
    box-shadow: inset -8px -10px 18px #0009, inset 3px 3px 8px #ffffff30;
    animation: stk-eight-ball-roll 4.5s linear infinite;
}

.stk-eight-ball__number {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, #fff 45%, #f0f0eb 100%);
    color: #080a0c;
    box-shadow: inset 0 -2px 4px #101e2629;
}

.stk-eight-ball__number svg {
    display: block;
    width: 22px;
    height: 30px;
    fill: currentColor;
}

@keyframes stk-eight-ball-roll {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .stk-eight-ball__sphere { animation: none; }
}
