#stt-timer {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 99999;
    background: rgba(27, 27, 31, 0.92);
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    font: 600 13px / 1.2 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    display: flex;
    gap: 6px;
    align-items: baseline;
}

#stt-timer .stt-label {
    opacity: 0.75;
    font-weight: 500;
}

#stt-timer .stt-clock {
    letter-spacing: 0.5px;
}

#stt-timer.stt-hidden {
    display: none !important;
}

 

.stt-inline {
    display: inline-flex;
    align-items: center;
}

.stt-inline .stt-inner {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

span.stt-clock {
    background: black;
    color: white;
    padding: 2px 10px;
    border-radius: 5px;
}

.stt-theme-retro {
    display: inline-block;
    background: #ffffff;
    border-radius: 5px;
    padding: 2px 5px;
    color: #111;
}

.stt-theme-retro .stt-retro-header {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #1a1a1a;
    padding: 4px 8px 6px 8px;
}

.stt-theme-retro .stt-retro-face {
    background: #d9d2bd;
    border-radius: 8px;
    padding: 12px 14px;
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.06);
}

.stt-theme-retro .stt-retro-num {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #111;
}


.stt-theme-pill {
    display: inline-block;
}

.stt-theme-pill .stt-inner {
    background: #ffffff;
    color: #111;
    border-radius: 999px;
    padding: 6px 12px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    display: inline-flex;
    align-items: center;
}
 
.stt-theme-pill .stt-pill-num {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-right: 8px;
}

.stt-theme-pill .stt-pill-suffix {
    font-size: 12px;
    font-weight: 800;
    opacity: 0.9;
}

.stt-theme-pill .stt-inner::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 6px solid #111;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    margin-left: 6px;
}


.stt-theme-minimal .stt-inner {
    background: transparent;
    color: inherit;
    padding: 0;
    border: 0;
}

.stt-hidden {
    display: none !important;
}

.stt-slot-footer .stt-inner {
    display: grid !important;
    background: #fff;
    padding: 10px;
    text-align: center;
    font-size: 15px;

}

.stt-slot-footer .stt-clock {
    font-size: 33px;
    padding: 13px 22px;
}



.stt-timer-wrap {
       touch-action: manipulation !important;

    -webkit-user-select: none !important;
    user-select: none !important;
}

.stt-tooltip {
    position: absolute;
    top: 110%; /* BELOW instead of above */
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    width: 200px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 9999;
     pointer-events: auto;
}

.stt-tooltip h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.stt-tooltip p {
    margin: 4px 0 0; 
    font-size: 13px; 
    opacity: 0.9;
}

/* Hover show for desktop */
@media (hover: hover) {
    .stt-timer-wrap:hover .stt-tooltip {
        opacity: 1;
        visibility: visible;
    }
} 

/* Tooltip arrow (arrow now points UP) */
.stt-tooltip::after {
    content: "";
    position: absolute;
    bottom: 100%; /* place arrow above tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #111 transparent;
}

/* Mobile click support */
.stt-tooltip.show {
    opacity: 1 !important;
    visibility: visible !important;
}