
#tvi-story-circle {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    z-index: 50;
    margin: 20px;
}
.tvi-circle-border {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #feda75, #d62976, #962fbf, #4f5bd5);
    padding: 3px;
    animation: pulse-border 2s infinite;
}
@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(214,41,118,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(214,41,118,0); }
    100% { box-shadow: 0 0 0 0 rgba(214,41,118,0); }
}
.tvi-circle-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}
.tvi-circle-text {
    font-size: 14px;
    text-align: left;
    margin-top: 5px;
    color: #000;
    font-weight: bold;
    animation: shimmer 2s infinite;
    background: linear-gradient(90deg, #000, #555, #000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
#tvi-story-viewer {
    display: none;
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(255,255,255,0.85);
    border-radius: 12px;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.tvi-slide {
    display: none;
    text-align: center;
}
.tvi-slide.active {
    display: block;
}
.tvi-caption {
    margin-top: 10px;
    font-weight: bold;
}
.tvi-btn {
    display: inline-block;
    margin-top: 8px;
    background: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
}
.tvi-views {
    font-size: 12px;
    margin-top: 5px;
    color: #555;
}
.tvi-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}
.tvi-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 30px;
    font-weight: bold;
    color: #000;
    pointer-events: none;
}
.tvi-nav span {
    pointer-events: all;
    cursor: pointer;
    user-select: none;
}


.tvi-nav span {
    pointer-events: all;
    cursor: pointer;
    user-select: none;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.tvi-nav span:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}


/* Posicionamiento fijo dentro del visor */
.tvi-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    box-sizing: border-box;
    pointer-events: none;
}
.tvi-nav span {
    pointer-events: all;
    cursor: pointer;
    user-select: none;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.tvi-nav span:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}
@media (max-width: 600px) {
    .tvi-nav span {
        font-size: 20px;
        width: 36px;
        height: 36px;
    }
}


.tvi-overlay {
    background: rgba(0, 0, 0, 0.4) !important; /* Transparente en todas las pantallas */
    backdrop-filter: blur(2px);
}


.tvi-overlay {
    background: rgba(0, 0, 0, 0.25) !important; /* Más transparente */
    backdrop-filter: blur(2px);
}
