/* Uply - Public Styles */

/* -------------------------------------------------------------------------- */
/* Scroll to Top
/* -------------------------------------------------------------------------- */
.ustt-scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* Default visuals removed to support templates */
    background-color: transparent;
    /* Crucial: Let template handle bg */
    color: inherit;
    border: none;

    /* Layout Essentials - RESTORED */
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
    outline: none;
    padding: 0;
}

.ustt-scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Hover effects are now handled by individual templates */
.ustt-scroll-to-top:hover {
    transform: translateY(-4px) scale(1.05);
}

.ustt-scroll-to-top:active {
    transform: translateY(-2px) scale(0.95);
}

.ustt-scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* -------------------------------------------------------------------------- */
/* Progress Bar
/* -------------------------------------------------------------------------- */
.ustt-progress-container {
    width: 100%;
    height: var(--ustt-pb-height, 5px);
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
}

.ustt-progress-bar {
    height: var(--ustt-pb-height, 5px);
    background: var(--ustt-pb-color, #4F46E5);
    width: 0%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    transition: width 0.1s linear;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* -------------------------------------------------------------------------- */
/* Progress Bar Templates (Frontend)
/* -------------------------------------------------------------------------- */

/* 1: Neon Glow */
.ustt-progress-bar.ustt-pb-1 {
    background: linear-gradient(90deg, #00d4ff, #00ffea);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.6), 0 0 20px rgba(0, 212, 255, 0.3), 0 0 40px rgba(0, 255, 234, 0.15);
    animation: ustt-pb-neon-pulse 2s ease-in-out infinite;
}

@keyframes ustt-pb-neon-pulse {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(0, 212, 255, 0.6), 0 0 20px rgba(0, 212, 255, 0.3), 0 0 40px rgba(0, 255, 234, 0.15);
    }

    50% {
        box-shadow: 0 0 12px rgba(0, 212, 255, 0.8), 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 255, 234, 0.25);
    }
}

/* 2: Gradient Wave */
.ustt-progress-bar.ustt-pb-2 {
    background: linear-gradient(90deg, #ff6b9d, #ff8a56, #ffb347, #00d4ff, #7c4dff, #ff6b9d);
    background-size: 300% 100%;
    animation: ustt-pb-gradient-wave 3s linear infinite;
}

@keyframes ustt-pb-gradient-wave {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

/* 3: Particle Trail */
.ustt-progress-bar.ustt-pb-3 {
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.4), #a855f7);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.ustt-progress-bar.ustt-pb-3::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #e879f9;
    border-radius: 50%;
    box-shadow: 0 0 12px #e879f9, 0 0 24px rgba(232, 121, 249, 0.5);
    animation: ustt-pb-particle-pulse 1.5s ease-in-out infinite;
}

@keyframes ustt-pb-particle-pulse {

    0%,
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translateY(-50%) scale(1.5);
    }
}

/* 4: Segmented */
.ustt-progress-bar.ustt-pb-4 {
    background: repeating-linear-gradient(90deg, #00d4ff 0px, #00d4ff 12px, transparent 12px, transparent 16px);
    animation: ustt-pb-segment-shift 1s linear infinite;
}

@keyframes ustt-pb-segment-shift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 16px 0;
    }
}

/* 5: Minimalist */
.ustt-progress-bar.ustt-pb-5 {
    background: #e2e8f0;
    box-shadow: none;
    opacity: 0.85;
}

/* 6: Double Line */
.ustt-progress-bar.ustt-pb-6 {
    background: #ff6b9d;
    box-shadow: none;
}

.ustt-progress-bar.ustt-pb-6::after {
    content: '';
    position: absolute;
    top: calc(var(--ustt-pb-height, 5px) + 2px);
    left: 0;
    width: 80%;
    height: var(--ustt-pb-height, 5px);
    background: #00d4ff;
    animation: ustt-pb-double-slide 3s ease-in-out infinite alternate;
}

@keyframes ustt-pb-double-slide {
    0% {
        width: 50%;
    }

    100% {
        width: 90%;
    }
}

/* 7: Gradient Mesh */
.ustt-progress-bar.ustt-pb-7 {
    background: radial-gradient(ellipse at 20% 50%, #ff6b9d 0%, transparent 60%), radial-gradient(ellipse at 50% 50%, #7c4dff 0%, transparent 60%), radial-gradient(ellipse at 80% 50%, #00d4ff 0%, transparent 60%);
    background-size: 200% 100%;
    animation: ustt-pb-mesh-flow 4s ease-in-out infinite alternate;
}

@keyframes ustt-pb-mesh-flow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* 8: Glitch */
.ustt-progress-bar.ustt-pb-8 {
    background: #00ff41;
    animation: ustt-pb-glitch 0.3s steps(2) infinite;
}

.ustt-progress-bar.ustt-pb-8::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ff0055;
    animation: ustt-pb-glitch-r 0.4s steps(3) infinite;
}

.ustt-progress-bar.ustt-pb-8::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00d4ff;
    animation: ustt-pb-glitch-b 0.35s steps(3) infinite;
}

@keyframes ustt-pb-glitch {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(2px);
    }

    100% {
        transform: translateX(-1px);
    }
}

@keyframes ustt-pb-glitch-r {
    0% {
        clip-path: inset(0 0 60% 0);
        transform: translateX(-3px);
    }

    50% {
        clip-path: inset(40% 0 0 0);
        transform: translateX(2px);
    }

    100% {
        clip-path: inset(0 0 60% 0);
        transform: translateX(-1px);
    }
}

@keyframes ustt-pb-glitch-b {
    0% {
        clip-path: inset(60% 0 0 0);
        transform: translateX(2px);
    }

    50% {
        clip-path: inset(0 0 40% 0);
        transform: translateX(-2px);
    }

    100% {
        clip-path: inset(60% 0 0 0);
        transform: translateX(1px);
    }
}

/* 9: Rainbow */
.ustt-progress-bar.ustt-pb-9 {
    background: linear-gradient(90deg, #ff0000, #ff7700, #ffff00, #00ff00, #0000ff, #8b00ff, #ff0000);
    background-size: 400% 100%;
    animation: ustt-pb-rainbow-flow 3s linear infinite;
}

@keyframes ustt-pb-rainbow-flow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 400% 50%;
    }
}

/* 10: Neumorphic */
.ustt-progress-bar.ustt-pb-10 {
    background: transparent;
    border-radius: 4px;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.3), inset -1px -1px 3px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.ustt-progress-bar.ustt-pb-10::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 100%;
    height: calc(100% - 2px);
    border-radius: 3px;
    background: linear-gradient(90deg, #137fec, #36a3f7);
    box-shadow: 0 1px 3px rgba(19, 127, 236, 0.4);
}

/* 11: Liquid Metal */
.ustt-progress-bar.ustt-pb-11 {
    background: linear-gradient(90deg, #8e8e8e 0%, #d4d4d4 15%, #ffffff 30%, #b8b8b8 45%, #e8e8e8 60%, #d0d0d0 75%, #f0f0f0 85%, #a0a0a0 100%);
    background-size: 200% 100%;
    animation: ustt-pb-liquid-metal 2.5s ease-in-out infinite alternate;
}

@keyframes ustt-pb-liquid-metal {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* 12: Fire Trail */
.ustt-progress-bar.ustt-pb-12 {
    background: linear-gradient(90deg, #ff0000, #ff6600, #ffaa00, #ffdd00);
    background-size: 200% 100%;
    animation: ustt-pb-fire-flicker 0.8s ease-in-out infinite alternate;
    box-shadow: 0 0 6px rgba(255, 102, 0, 0.5), 0 0 15px rgba(255, 60, 0, 0.3);
}

.ustt-progress-bar.ustt-pb-12::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -3px;
    width: 12px;
    height: 10px;
    background: radial-gradient(ellipse at center bottom, #ffdd00, #ff6600, transparent);
    animation: ustt-pb-fire-tip 0.5s ease-in-out infinite alternate;
    border-radius: 50% 50% 20% 20%;
    opacity: 0.8;
}

@keyframes ustt-pb-fire-flicker {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 6px rgba(255, 102, 0, 0.5), 0 0 15px rgba(255, 60, 0, 0.3);
    }

    100% {
        background-position: 100% 50%;
        box-shadow: 0 0 10px rgba(255, 102, 0, 0.7), 0 0 25px rgba(255, 60, 0, 0.4);
    }
}

@keyframes ustt-pb-fire-tip {
    0% {
        transform: scaleY(0.8) scaleX(0.9);
        opacity: 0.7;
    }

    100% {
        transform: scaleY(1.2) scaleX(1.1);
        opacity: 1;
    }
}

/* 13: Striped Diagonal */
.ustt-progress-bar.ustt-pb-13 {
    background: repeating-linear-gradient(-45deg, #6366f1 0px, #6366f1 6px, #818cf8 6px, #818cf8 12px);
    background-size: 17px 17px;
    animation: ustt-pb-stripe-move 0.8s linear infinite;
}

@keyframes ustt-pb-stripe-move {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 17px 0;
    }
}

/* 14: Pulse Glow */
.ustt-progress-bar.ustt-pb-14 {
    background: #e11d48;
    animation: ustt-pb-pulse-glow 1.5s ease-in-out infinite;
}

@keyframes ustt-pb-pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 4px rgba(225, 29, 72, 0.4);
    }

    50% {
        box-shadow: 0 0 16px rgba(225, 29, 72, 0.8), 0 0 32px rgba(225, 29, 72, 0.4);
    }
}

/* 15: Ocean Tide */
.ustt-progress-bar.ustt-pb-15 {
    background: linear-gradient(90deg, #0ea5e9, #06b6d4, #22d3ee, #06b6d4, #0ea5e9);
    background-size: 300% 100%;
    animation: ustt-pb-ocean 4s ease-in-out infinite;
}

@keyframes ustt-pb-ocean {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* 16: Sunset Fade */
.ustt-progress-bar.ustt-pb-16 {
    background: linear-gradient(90deg, #f59e0b, #ef4444, #ec4899, #8b5cf6);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* 17: Electric Spark */
.ustt-progress-bar.ustt-pb-17 {
    background: #facc15;
    box-shadow: 0 0 6px rgba(250, 204, 21, 0.6);
}

.ustt-progress-bar.ustt-pb-17::after {
    content: '';
    position: absolute;
    right: 0;
    top: -6px;
    width: 3px;
    height: 15px;
    background: #fff;
    box-shadow: 0 0 8px #facc15, 0 0 16px rgba(250, 204, 21, 0.8);
    animation: ustt-pb-spark 0.6s ease-in-out infinite alternate;
    border-radius: 1px;
}

@keyframes ustt-pb-spark {
    0% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }

    100% {
        opacity: 0.5;
        transform: scaleY(0.8);
    }
}

/* 18: Frosted Glass */
.ustt-progress-bar.ustt-pb-18 {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.ustt-progress-bar.ustt-pb-18::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: ustt-pb-frost-shimmer 2.5s ease-in-out infinite;
}

@keyframes ustt-pb-frost-shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(300%);
    }
}

/* 19: Matrix Code */
.ustt-progress-bar.ustt-pb-19 {
    background: #00ff41;
    box-shadow: 0 0 6px rgba(0, 255, 65, 0.4), 0 0 12px rgba(0, 255, 65, 0.2);
    animation: ustt-pb-matrix 0.15s steps(4) infinite;
}

@keyframes ustt-pb-matrix {
    0% {
        opacity: 0.7;
    }

    25% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }

    75% {
        opacity: 0.95;
    }

    100% {
        opacity: 0.8;
    }
}

/* 20: Aurora */
.ustt-progress-bar.ustt-pb-20 {
    background: linear-gradient(90deg, #22c55e, #06b6d4, #8b5cf6, #ec4899, #22c55e);
    background-size: 400% 100%;
    animation: ustt-pb-aurora 5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

@keyframes ustt-pb-aurora {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
    }

    33% {
        box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
    }

    66% {
        box-shadow: 0 0 10px rgba(236, 72, 153, 0.3);
    }

    100% {
        background-position: 400% 50%;
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
    }
}

/* 21: Candy Stripe */
.ustt-progress-bar.ustt-pb-21 {
    background: repeating-linear-gradient(-45deg, #f472b6 0px, #f472b6 5px, #fce7f3 5px, #fce7f3 10px);
    background-size: 14px 14px;
    animation: ustt-pb-candy 1s linear infinite;
    border-radius: 3px;
}

@keyframes ustt-pb-candy {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 14px 0;
    }
}

/* 22: Lava Flow */
.ustt-progress-bar.ustt-pb-22 {
    background: linear-gradient(90deg, #7f1d1d, #dc2626, #f97316, #dc2626, #7f1d1d);
    background-size: 300% 100%;
    animation: ustt-pb-lava 3s ease-in-out infinite;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.4);
}

@keyframes ustt-pb-lava {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* 23: Ice Crystal */
.ustt-progress-bar.ustt-pb-23 {
    background: linear-gradient(90deg, #e0f2fe, #bae6fd, #7dd3fc, #38bdf8, #bae6fd, #e0f2fe);
    background-size: 200% 100%;
    animation: ustt-pb-ice 3s ease-in-out infinite alternate;
}

.ustt-progress-bar.ustt-pb-23::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: ustt-pb-ice-shine 2s ease-in-out infinite;
}

@keyframes ustt-pb-ice {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

@keyframes ustt-pb-ice-shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(400%);
    }
}

/* 24: Holographic */
.ustt-progress-bar.ustt-pb-24 {
    background: linear-gradient(90deg, #ff0080, #ff8c00, #40e0d0, #7b68ee, #ff0080, #ff8c00);
    background-size: 300% 100%;
    animation: ustt-pb-holo 2s linear infinite;
    box-shadow: 0 0 8px rgba(127, 104, 238, 0.3);
}

.ustt-progress-bar.ustt-pb-24::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
    background-size: 200% 100%;
    animation: ustt-pb-holo-shine 1.5s linear infinite;
}

@keyframes ustt-pb-holo {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

@keyframes ustt-pb-holo-shine {
    0% {
        background-position: 200% 50%;
    }

    100% {
        background-position: -100% 50%;
    }
}

/* 25: Dark Slate */
.ustt-progress-bar.ustt-pb-25 {
    height: 3px !important;
    background: linear-gradient(90deg, #334155, #475569, #64748b);
    box-shadow: 0 0 10px rgba(100, 116, 139, 0.5);
}

/* 26: Charcoal Wave */
.ustt-progress-bar.ustt-pb-26 {
    height: 5px !important;
    background: repeating-linear-gradient(90deg,
            #2c2c2e 0px,
            #3a3a3c 10px,
            #48484a 20px,
            #3a3a3c 30px,
            #2c2c2e 40px);
    background-size: 40px 100%;
    animation: ustt-pb-wave-move 2s linear infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@keyframes ustt-pb-wave-move {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 0;
    }
}

/* 27: Warm Beige */
.ustt-progress-bar.ustt-pb-27 {
    height: 4px !important;
    background: linear-gradient(90deg, #c9b8a3, #b8a793, #9d8b7a);
    box-shadow: 0 1px 4px rgba(157, 139, 122, 0.3);
}

/* 28: Soft Gray */
.ustt-progress-bar.ustt-pb-28 {
    height: 3px !important;
    background: linear-gradient(90deg, #adb5bd, #868e96, #6c757d);
}

/* 29: Forest Green */
.ustt-progress-bar.ustt-pb-29 {
    height: 4px !important;
    background: linear-gradient(90deg, #2d5a3d, #3d7050, #4d8663);
    box-shadow: 0 1px 3px rgba(45, 90, 61, 0.3);
}

/* 30: Deep Burgundy */
.ustt-progress-bar.ustt-pb-30 {
    height: 4px !important;
    background: linear-gradient(90deg, #5c1f2e, #7a2d3f, #983b50);
    box-shadow: 0 0 8px rgba(152, 59, 80, 0.4);
}

/* 31: Navy Depths */
.ustt-progress-bar.ustt-pb-31 {
    height: 4px !important;
    background: linear-gradient(90deg, #1a3a52, #2d5373, #406d94);
    box-shadow: 0 1px 4px rgba(64, 109, 148, 0.4);
}

/* 32: Teal Accent */
.ustt-progress-bar.ustt-pb-32 {
    height: 4px !important;
    background: linear-gradient(90deg, #0d9488, #14b8a6, #2dd4bf);
    box-shadow: 0 1px 4px rgba(20, 184, 166, 0.3);
}

/* 33: Amber Glow */
.ustt-progress-bar.ustt-pb-33 {
    height: 4px !important;
    background: linear-gradient(90deg, #d97706, #f59e0b, #fbbf24);
    box-shadow: 0 1px 6px rgba(245, 158, 11, 0.4);
}

/* 34: Slate Gradient */
.ustt-progress-bar.ustt-pb-34 {
    height: 5px !important;
    background: linear-gradient(90deg,
            #1e293b 0%,
            #334155 25%,
            #475569 50%,
            #64748b 75%,
            #94a3b8 100%);
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.3);
}

/* 35: Espresso */
.ustt-progress-bar.ustt-pb-35 {
    height: 4px !important;
    background: linear-gradient(90deg, #3e2723, #5d4037, #795548);
    box-shadow: 0 1px 4px rgba(121, 85, 72, 0.4);
}

/* 36: Obsidian Pulse */
.ustt-progress-bar.ustt-pb-36 {
    height: 8px !important;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.ustt-progress-bar.ustt-pb-36::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 25%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.1) 75%,
            transparent 100%);
    animation: ustt-pb-pulse 2s ease-in-out infinite;
}

.ustt-progress-bar.ustt-pb-36::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 100%;
    background: radial-gradient(ellipse at center,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 0.4) 40%,
            transparent 70%);
    animation: ustt-pb-obsidian-glow 1.5s ease-in-out infinite;
}

@keyframes ustt-pb-pulse {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

@keyframes ustt-pb-obsidian-glow {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* 37: Void Ripple */
.ustt-progress-bar.ustt-pb-37 {
    height: 6px !important;
    background: #0f0f0f;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    overflow: visible;
}

.ustt-progress-bar.ustt-pb-37::before,
.ustt-progress-bar.ustt-pb-37::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ustt-pb-ripple1 2s ease-out infinite;
}

.ustt-progress-bar.ustt-pb-37::after {
    animation: ustt-pb-ripple2 2s ease-out infinite;
    animation-delay: 1s;
}

@keyframes ustt-pb-ripple1 {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
    }

    100% {
        width: 60px;
        height: 60px;
        opacity: 0;
    }
}

@keyframes ustt-pb-ripple2 {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
    }

    100% {
        width: 60px;
        height: 60px;
        opacity: 0;
    }
}

/* 38: Midnight Storm */
.ustt-progress-bar.ustt-pb-38 {
    height: 8px !important;
    background: linear-gradient(90deg, #1a1a2e, #2d2d4a, #3a3a5c);
    box-shadow:
        0 0 10px rgba(138, 138, 255, 0.3),
        inset 0 1px 0 rgba(138, 138, 255, 0.2);
    overflow: hidden;
}

.ustt-progress-bar.ustt-pb-38::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            transparent 48%,
            rgba(138, 138, 255, 0.8) 49%,
            rgba(200, 200, 255, 1) 50%,
            rgba(138, 138, 255, 0.8) 51%,
            transparent 52%,
            transparent 100%);
    background-size: 200% 100%;
    opacity: 0;
    animation: ustt-pb-lightning-strike 5s ease-in-out infinite;
}

@keyframes ustt-pb-lightning-strike {

    0%,
    90%,
    100% {
        opacity: 0;
        background-position: 0% 0%;
    }

    91% {
        opacity: 1;
        background-position: 50% 0%;
    }

    91.3% {
        opacity: 0;
    }

    92% {
        opacity: 1;
        background-position: 100% 0%;
    }

    92.3% {
        opacity: 0;
    }
}

/* 39: Carbon Fiber */
.ustt-progress-bar.ustt-pb-39 {
    height: 10px !important;
    background:
        repeating-linear-gradient(45deg,
            #1a1a1a 0px,
            #1a1a1a 2px,
            #0f0f0f 2px,
            #0f0f0f 4px),
        repeating-linear-gradient(-45deg,
            #1a1a1a 0px,
            #1a1a1a 2px,
            #0f0f0f 2px,
            #0f0f0f 4px);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.ustt-progress-bar.ustt-pb-39::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 30%,
            transparent 50%,
            rgba(0, 0, 0, 0.1) 100%);
    animation: ustt-pb-carbon-shine 3s ease-in-out infinite;
}

@keyframes ustt-pb-carbon-shine {

    0%,
    100% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 0% 100%;
    }
}

/* -------------------------------------------------------------------------- */
/* Read Time
/* -------------------------------------------------------------------------- */
.ustt-read-time {
    margin-bottom: 24px;
    font-size: 0.95em;
    color: #4B5563;
    /* Gray 600 */
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #F3F4F6;
    /* Gray 100 */
    border-radius: 9999px;
    line-height: 1;
}

.ustt-rt-prefix {
    font-weight: 600;
    color: #1F2937;
    /* Gray 800 */
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.05em;
}

.ustt-rt-time {
    font-weight: 700;
    color: var(--ustt-primary, #4F46E5);
}

.ustt-rt-postfix {
    color: #6B7280;
    /* Gray 500 */
    font-size: 0.9em;
}