.xtrim-title-container {
    width: 100%;
    position: relative;
    box-sizing: border-box;
}
.title_1, .title_2 {
    margin: 0;
    padding: 0;
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    line-height: 1.2;
}
.style-layered .layered-wrapper { 
    position: relative; 
    display: inline-block;
    line-height: 1;
    overflow: visible;
    max-width: none;
    min-width: fit-content;
}
.style-layered .title_2 { 
    position: absolute; 
    z-index: 1; 
    white-space: nowrap;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: auto;
    max-width: none;
    overflow: visible;
    pointer-events: none;
    line-height: 1;
}
.style-layered .title_1 { 
    position: relative; 
    z-index: 2; 
    display: inline-block;
    background-color: transparent;
    white-space: nowrap;
    line-height: 1.2;
}
.highlight-wrapper {
    position: relative;
    display: inline-block;
    z-index: 1;
}
.text-content {
    position: relative;
    z-index: 3;
}
.marker-span {
    position: absolute;
    bottom: 4px;
    right: 0;
    z-index: 2;
    width: 100%;
    pointer-events: none;
}
.xtrim-shiny-title {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    background-image: linear-gradient(90deg, #333, var(--shine-light, #7c3aed) 50%, #333);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: xtrimShiny 3s linear infinite;
}
body.dark-mode .xtrim-shiny-title {
    background-image: linear-gradient(90deg, #fff, var(--shine-dark, #a78bfa) 50%, #fff) !important;
    -webkit-text-fill-color: transparent !important;
    animation: xtrimShiny 3s linear infinite;
}
@keyframes xtrimShiny {
    to {
        background-position: 200% center;
    }
}