/* ---------------------------------------------------------------
 * Scroll-to-top button  (size/color/position overridden inline)
 * ------------------------------------------------------------- */
#scrollUp {
    background-image: url("../img/top.png");
    background-color: #22c55e;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;   /* scales cleanly with any button size */
    bottom: 20px;
    right: 16px;
    width:  50px;
    height: 50px;
    text-indent: -9999px;
    overflow: visible;      /* let the SVG ring paint outside if needed */
    display: block;
    cursor: pointer;
}

/* ---------------------------------------------------------------
 * SVG progress ring  (appended inside #scrollUp via JS)
 * The <circle id="sstt-ring-arc"> transition is set inline in JS.
 * ------------------------------------------------------------- */
#sstt-ring-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    /* transform set by JS: rotate(-90deg) for round, none for square */
}
