html {

    line-height: 1.5;
    background: #701baa;
    word-wrap: break-word;
}

*,
*::before,
*::after {
    box-sizing: content-box;
}
#contenedor {
  width: 100%;
  max-width: 997px;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background: #701baa;
  border-radius: 6px;
}

ul,
ol,
dl {
    padding: 0;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 15px;
    color: #e0beff;
}

a img {
    text-decoration: none;
    border-radius: 8%;
}

a:link {
    color: #e0beff;
    text-decoration: none;
}

a:visited {
    color: #e0beff;
    text-decoration: none;
}

a:hover,
a:active,
a:focus {
    text-decoration: none;
    color: #e0beff;
}
@font-face {
    font-family: 'jcn';
    src: url('/jcn.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px
}

.switch input {
    display: none
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s
}

.slider:before {
    position: absolute;
    content: '';
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s
}

input:checked[data-value='1']+ .slider {
    background-color: #ff89c4
}

input:focus+ .slider {
    box-shadow: 0 0 1px #ff89c4
}

input:checked[data-value='1']+ .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px)
}

.slider.round {
    border-radius: 34px
}

.slider.round:before {
    border-radius: 50%
}

.gif-image {
    cursor: pointer;
}

.gif-selector {
    margin-left: -4px;
    position: relative
}

.gif-selector> i {
    border-radius: 4px;
    padding: 0px 2px;
    line-height: 14px;
    font-size: 10px;
    vertical-align: 2px;
    display: inline-block
}

.gif-selector> i:before {
    content: 'GIF'
}

.gif-box {
    position: absolute;
    bottom: 40px;
    right: 0px;
    background: linear-gradient(45deg, #C64DD7, #9C4DDD);
    display: none;
    z-index: 100;
    border: solid 1px rgba(0, 0, 0, .2);
    border-radius: 4px
}

.gif-box-head {
    padding: 2px 0px;
    background-color: #8E47C8;
    text-align: center;
    font-size: 14pt;
    color: #394551
}

.gif-box-close-button {
    position: absolute;
    top: 0px;
    right: 6px;
    font-size: 14pt !important;
    z-index: 1
}

.gif-box-arrow {
    position: absolute;
    bottom: -10px;
    right: 4px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent !important;
    ;
    border-right: 10px solid transparent !important;
    border-top: 10px solid #CCCCCC
}

.gif-box-body {
    padding: 4px
}

.gif-search-result {
    width: calc(100%+ 3px);
    height: 129px;
    overflow: auto
}

.gif-search-result img {
    margin: 1px 0px;
    width: 100%;
    height: 120px;
    object-fit: fill
}

.alt-chat-gif-selector {
    top: -11px;
    margin-left: 0px
}

@keyframes fotomis {
    0%,
    20%,
    60%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
    80% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}

.misfoto:hover {
    animation: fotomis 1s;
}

body {
    contain: content;
    font-family:'jcn',arial, helvetica, sans-serif;
    font-size: 12pt;
    font-weight: 600;
    background: #701baa;
    color: #e0beff;
    margin: 0 auto;
    padding: 5px 5px 5px 5px;
    box-sizing: border-box;
    word-break: break-word;
}

section {
    max-width: auto;
    background-color: transparent
}

.turbolinks-progress-bar {
    background: #b95ce3;
}

::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
}

::-webkit-scrollbar-thumb {
    background: #ea84ca!important;
    box-shadow: unset;
    border-radius: 4px;
}

::-webkit-scrollbar-track {
    background: #D6DADC;
}
div,em {
  color: #e0beff !important;
}
font {
  color: #dcb5ff !important;
}
#scroll-top {
    background: #953ab5;
    line-height: 22px;
    position: fixed;
    bottom: 50px;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 9999;
    right: 10px;
    display: none;
}

.up {
    transform: rotate(-135deg);
}

mis {
    border: solid #e3c3ff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.psm {
    background-color: #fa3e3e;
    border-radius: 24px;
    box-shadow: -1px 1px 2px 0 rgba(0, 0, 0, .3);
    color: #fff;
    cursor: default;
    font-size: 13px;
    height: 24px;
    line-height: 24px;
    position: absolute;
    right: -4px;
    text-align: center;
    top: -4px;
    width: 24px
}

.pmn {
    background-clip: padding-box;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.9;
    min-height: 13px
}

.pst {
    position: relative
}

.chat ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.chat ul li {
    margin: 50px 5px 30px 5px;
}

.chat ul li a.user {
    margin: -30px 0 0;
    display: block;
    color: #333;
}

.chat ul li a.user img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    background: url('/marco.png.webp') center center no-repeat !important;
    background-size: auto;
    background-size: cover !important;
    padding: 3px;
}

.chat ul li .date {
    color: #a6a6a6
}

.chat ul li .message:before {
    content: '';
    position: absolute;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent
}

.chat ul li .message:after {
    content: '';
    position: absolute;
    top: 0px;
    border-top: 20px solid #931ebd;
    border-left: 24px solid transparent;
    border-right: 20px solid transparent;
}

.chat ul li .message.blur p {
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px)
}

.chat ul li .message.blur .hider {
    opacity: 1;
    z-index: 1
}

.chat ul li .message p {
    margin: 0;
    padding: 0;
    transition: all .1s
}

.chat ul li .message .hider {
    opacity: 0;
    z-index: -1;
    position: absolute;
    height: 100%;
    width: 100%;
    margin: -10px;
    text-align: center;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: all .1s
}

.chat ul li .message .hider span {
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%)
}

.chat ul li .message2, .chat ul li .message {
    display: block;
    border-radius: 36px;
    padding: 15px 20px 15px 20px;
    position: relative;
}

.chat ul li .message2:before {
    content: '';
    position: absolute;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent
}

.chat ul li .message2:after {
    content: '';
    position: absolute;
    top: 0px;
    border-top: 17px solid #931ebd;
    border-left: 24px solid transparent;
    border-right: 20px solid transparent;
}

.chat ul li .message2.blur p {
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px)
}

.chat ul li .message2.blur .hider {
    opacity: 1;
    z-index: 1
}

.chat ul li .message2 p {
    margin: 0;
    padding: 0;
    transition: all .1s
}

.chat ul li .message2 .hider {
    opacity: 0;
    z-index: -1;
    position: absolute;
    height: 100%;
    width: 100%;
    margin: -10px;
    text-align: center;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: all .1s
}

.chat ul li .message2 .hider span {
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%)
}

.chat ul li.other a.user {
    float: right
}

.chat ul li.other .date {
    float: right;
    margin: -20px 10px 0 0
}

.chat ul li.other .message {
    margin: 0 80px 0 10px
}

.chat ul li.other .message:before {
    margin: -9px -16px 0 0;
    right: 0
}

.chat ul li.other .message:after {
    content: '';
    right: 0;
    margin: 0 -15px 0 0
}

.chat ul li.other .message2 {
    margin: 0 80px 0 10px
}

.chat ul li.other .message2:before {
    margin: -9px -16px 0 0;
    right: 0
}

.chat ul li.other .message2:after {
    content: '';
    right: 0;
    margin: 0 -15px 0 0
}

.chat ul li.you a.user {
    float: left
}

.chat ul li.you .date {
    float: left;
    margin: -20px 0 0 10px
}

.chat ul li.you .message {
    margin: 0 5px 0 80px;
}

.chat ul li.you .message:before {
    margin: -9px 0 0 -16px;
    left: 0
}

.chat ul li.you .message:after {
    content: '';
    left: 0;
    margin: 0 0 0 -15px
}

.chat ul li.you .message2 {
    margin: 0 5px 0 80px;
}

.chat ul li.you .message2:before {
    margin: -9px 0 0 -16px;
    left: 0
}

.chat ul li.you .message2:after {
    content: '';
    left: 0;
    margin: 0 0 0 -15px
}
#messagem1, #messagem2 {
  border: 3px solid #701baa !important;
  border-radius: 12px !important;
  padding: 5px 10px 5px 10px !important;
  text-align: left;
}
input[type='file'] {
    display: inline;
    height: auto;
    width: 208px
}

.blink {
  animation: fadeBlink 1.2s ease-in-out infinite;
}

@keyframes fadeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

audio {
    max-width: -webkit-fill-available;
    border-radius: 15px;
    height: 44px;
}
.bt3 {
  position: relative;
  right: 3px;
}
.new-button{
width: 95% !important;
}
button,
.btn,
.new-button,
input,
radio,
select,
textarea,
.bt3 {
    border-radius: 10px !important;
    color: #dcb5ff !important;
    padding: 5px 3px 5px 3px;
    text-decoration: none;
    margin: 5px 5px 5px 5px !important;
    font-weight: 600 !important ;
    vertical-align: middle !important ;
    display: table-cell !important ;
    background: #4d216c !important;
    box-shadow: 0px 0px 0px 1px #4d216c !important;
    border: 3px solid #5d2782;
    height: 22px;
}

.tituloWrapper {
    display: inline-block;
    position: relative
}

.titulo {
    min-width: 80px;
    position: absolute;
    display: none;
    border: 1px solid #000;
    padding: 5px;
    background-color: #000;
    text-align: center;
    color: #FFF;
    left: -0%;
    bottom: -30px;
    z-index: 99;
}

.titulo:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 5px;
    top: -8px;
    width: 10px;
    height: 10px;
    border-color: #000;
    border-width: 1px;
    border-style: solid none none solid;
    background-color: #000;
    transform: rotate(45deg)
}

.tituloWrapper:hover .titulo {
    display: block
}

.smilies {
    max-width: 150px;
    max-height: 150px;
    border-radius: 6px;
}

.dropdown {
    position: relative;
    display: inline-block
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: #f9f9f9;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1
}

.dropdown-content a {
    color: black;
    padding: 8px 10px;
    text-decoration: none;
    display: block
}

.dropdown-content a:hover {
    background-color: #f1f1f1
}

@keyframes bounce {
    0%,
    20%,
    60%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    80% {
        transform: translateY(-10px);
    }
}

.mistakehover:hover {
    animation: bounce 3s
}

.dropdown:hover .dropdown-content {
    display: block
}

.misfoto:hover {
    opacity: .7
}

#fotofila,
#fotogato,
#fotogata,
.misfoto {
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    border-radius: 50%;
    text-align: center;
    background: url('/marco.png.webp') center center no-repeat !important;
    background-size: cover !important;
    padding: 3px
}

.avisomsj {
    width: max-230px;
    bottom: 40px;
    right: 5px;
    position: fixed;
    z-index: 100;
    background: #ff89c4;
    border: solid 1px #AAC0FE;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -color: #000;
    padding: 5px;
    margin-bottom: 10px
}

.avisomsj:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 10px;
    height: 10px;
    border: solid 1px #AAC0FE;
    background: #EBF9DF;
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -moz-transform: rotate(225deg)
}

input[type=radio],
input[type=checkbox] {
    height: 18px;
    width: 18px;
}

.wrappaginaccionesml {
    clear: both;
    margin: 0 0 30px
}

.wrappaginaccionesml .paginaccionesml {
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: #222
}

.wrappaginaccionesml .paginaccionesml a,
.wrappaginaccionesml .paginaccionesml span {
    margin: 0 4px;
    padding: 4px 10px;
    background: #222;
    border: #222 solid 1px;
    color: #fff;
    font-weight: 400
}

.wrappaginaccionesml .paginaccionesml a:hover,
.wrappaginaccionesml .paginaccionesml .current,
.wrappaginaccionesml .paginaccionesml a.final:hover {
    margin: 0 4px;
    background: #fff;
    color: #222;
    border-color: #222;
    padding: 4px 10px;
    text-decoration: none
}

.wrappaginaccionesml .paginaccionesml a.final,
.wrappaginaccionesml .paginaccionesml a.next,
.wrappaginaccionesml .paginaccionesml a.prev {
    background: #666;
    border-color: #666
}

.wrappaginaccionesml .paginaccionesml span.inicio {
    color: #000;
    background: transparent;
    border: 0;
    font-weight: 400;
    font-size: .85em;
    text-align: center;
    font-variant: small-caps
}
.message,.message2 {
  padding: 10px 22px 15px 22px !important;
}
.upload-btn-wrapper {
    bottom: -19px;
    overflow: hidden;
    position: relative;
    display: inline-block;
}
button {
  height: 22px;
  padding: 2px 2px 2px 2px;
  margin: 0 5px !important;
}
#fundo_mural {
  padding: 7px 7px 7px 7px !important;
}
.ion-ios-heart, .ion-android-happy, .ion-android-clipboard, .ion-android-refresh {
  display: flex;
  flex-direction: column;
}
.inserirtexto {
  height: 45px;
}
.btn {
    padding: 5px 10px;
    font-size: 15px;
    font-weight: bold;
}

.upload-btn-wrapper input[type=file] {
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.bt_upload {
    background-image: url('/imgs/arq.png');
    background-size: 15px;
    background-position: center;
    color: #6B6B6B;
    border-radius: 3px;
    width: 15px;
    height: 15px;
    cursor: pointer;
    margin-left: 2px;
    display: inline-block;
}

.color-btn-wrapper {
    position: relative;
    display: inline-block;
}

.color-btn-wrapper input[type=color] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.bt_color {
    background-image: url('/imgs/cor.png');
    background-size: 15px;
    background-position: center;
    color: #6B6B6B;
    border-radius: 3px;
    width: 15px;
    height: 15px;
    cursor: pointer;
    margin-left: 2px;
    display: inline-block;
}

.paint-btn-wrapper {
    position: relative;
    display: inline-block;
}

.paint-btn-wrapper input[type=color] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.gravador-btn-wrapper {
    position: relative;
    display: inline-block;
}

.record {
    background-image: url('/imgs/gravador.png');
    background-size: 15px;
    background-position: center;
    color: #6B6B6B;
    border-radius: 3px;
    width: 15px;
    height: 15px;
    cursor: pointer;
    margin-left: 2px;
    display: inline-block;
}

.save {
    background-image: url('/imgs/gravadoroff.png');
    background-size: 15px;
    background-position: center;
    color: #6B6B6B;
    border-radius: 3px;
    width: 15px;
    height: 15px;
    cursor: pointer;
    margin-left: 2px;
    display: inline-block;
}

.pms,
.pms1,
.pms2 {
    background-color: #111f24;
    border-radius: 5px;
    box-shadow: 0px 01px 1px 3px rgb(37, 232, 213);
    color: #fff;
    cursor: default;
    height: 15px;
    position: absolute;
    text-align: center;
    top: -10px;
    z-index: 10
}

.pmsn {
    background-clip: padding-box;
    display: inline-block;
    font-size: 12px;
    line-height: 1.3;
    min-height: 16px;
    width: 15px;
    font-weight: 600;
}

.pmst {
    position: relative;
    padding: 0px 4px;
    float: center;
}

@media only screen and (max-width:600px) {
    .pms2 {
        right: 43%;
        top: -4px;
    }
}

@media only screen and (min-width:601px) and (max-width:1024px) {
    .pms2 {
        right: 53%;
        top: -4px;
    }
}

@media only screen and (min-width:1025px) {
    .pms2 {
        right: 56%;
        top: -4px;
    }
}

@media only screen and (max-width:600px) {
    .pms1 {
        right: 63%;
        top: 0;
    }
}

@media only screen and (min-width:601px) and (max-width:1024px) {
    .pms1 {
        right: 73%;
        top: 0;
    }
}

@media only screen and (min-width:1025px) {
    .pms1 {
        right: 76%;
        top: 0;
    }
}

@media only screen and (max-width:600px) {
    .pms {
        right: 84%;
        top: -4px;
    }
}

@media only screen and (min-width:601px) and (max-width:1024px) {
    .pms {
        right: 93%;
        top: -4px;
    }
}

@media only screen and (min-width:1025px) {
    .pms {
        right: 97%;
        top: -4px;
    }
}
#rodape,
#barra_mural,
#titulo {
    font-size: 18px;
    text-align: center;
    margin: 2px 0 2px 0;
}

#fundo_mural {
    padding: 10px 8px 10px 8px;

}

#opc3,
#opc4,
#opc6 {
    text-align: center;
    
}
#opc5 {
  padding: 5px 7px 5px 7px !important;
  text-align: left;
}

fieldset,
legend,
#div1,
#div2 {
    margin: 2px 0px 2px 0;
}

.video-container1 iframe,
.video-container1 object,
.video-container1 embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0
}

@media (max-width:1024px) {
    .video-container1 {
        padding-bottom: 11%;
        max-width: 80%
    }
}

@media only screen and (max-width:768px) {
    .video-container1 {
        padding-bottom: 20%;
        max-width: 100%;
        padding-top: 100%;
        width: 80%
    }
    .video-container1 iframe {
        max-width: 100%;
        max-height: 100%
    }
}

hr {
    border-width: 1px !important;
    border-style: dotted !important;
    color: #cd40ff;
}

.video-container {
    position: relative;
    width: 97%;
    padding-bottom: 30.25%;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px #000, 0 0 10px 1px #000 !important;
    border-radius: 10px !important;
    border: 0 !important;
    margin-bottom: 15px;
    margin-top: 15px;
    max-width: 70%
}

@media (max-width:1024px) {
    .video-container {
        padding-bottom: 39.25%
    }
}

@media only screen and (max-width:768px) {
    .video-container {
        padding-bottom: 56.25%;
        max-width: 100%
    }
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.video-container1 {
    position: relative;
    width: 40%;
    padding-bottom: 10.25%;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px #000, 0 0 10px 1px #000 !important;
    border-radius: 10px !important;
    border: 0 !important;
    margin-bottom: 15px;
    margin-top: 15px;
    max-width: 70%;
    padding-top: 60%
}
c {
  color: #a954ff;
  font-weight: 600;
  font-size: 13pt;
  text-shadow: #4c0080 0px 1px 1px;
}
#carta {
  text-align: center;
}

.chat ul li .message,
.chat ul li .message2 {
border-radius:36px !important;
}

legend, fieldset {
  padding: 0 7px !important;
}
.chat ul li .message,
.chat ul li .message2,
#messagem1,
#messagem2,
#fundo_mural,
#barra_mural,
#titulo,
#opc3,
#opc4,
#opc6,
#opc5,
fieldset,
legend,
#div1,
#div2, #rodape {
    background: radial-gradient(circle, #7c1ebd 25%, #841ebd 66%, #931ebd 96%);
    border-radius: 6px;
    border: 3px solid #701baa;
    padding: 7px 0 7px 0;
}
#div1,#div2 {
  padding: 5px 7px 5px 7px;
}
/* Indicador de estado */
.sstatus-indicator {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 100%;
    border: 2px solid #393939;
    margin-right: 0;
    margin-bottom: 9px;
  }
  
/* Estado online */
.sstatus-indicator.online {
    background-color: #31A24C; /* Verde */
}

/* Estado busy */
.sstatus-indicator.busy {
    background-color: #FFC107; /* Amarillo */
}

/* Estado away */
.sstatus-indicator.away {
    background-color: #2196F3; /* Azul */
}

/* Estado offline */
.sstatus-indicator.offline {
    background-color: #f44336; /* Rojo */
}

/* Indicador de estado */
.status-indicator {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    border: 4px solid #393939;
    margin-right: 5px;
  }

/* Estado online */
.status-indicator.online {
    background-color: #31A24C; /* Verde */
}

/* Estado busy */
.status-indicator.busy {
    background-color: #FFC107; /* Amarillo */
}

/* Estado away */
.status-indicator.away {
    background-color: #2196F3; /* Azul */
}

/* Estado offline */
.status-indicator.offline {
    background-color: #f44336; /* Rojo */
}

.stories-bar {
  display:flex;
  overflow-x:auto;
  gap:10px;
  padding:10px;
  background:#701baa;
}

.story-item {
  text-align:center;
  color:#fff;
  cursor:pointer;
}

.story-ring {
  width:70px;
  height:110px;
  border-radius:8px;
  padding:3px;
  background:linear-gradient(45deg,#ff004c,#ff9900);
}

.story-ring img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 8px;
  object-fit: cover;
}

#storyViewer {
  position: fixed;
  inset: 0;
  background: #000;
  display: none;
  z-index: 9999;
}

.reactions-bar{
  position:absolute;
  top:780px;
  width:100%;
  text-align:center;
  z-index:999999;
  pointer-events:auto;
}

.reactions-bar img{
  width:38px;
  margin:6px;
  cursor:pointer;
  pointer-events:auto;

  /* 🔥 MEJORAMOS TU TRANSICIÓN */
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
  opacity: 0.8;
}

/* 🔥 HOVER (lo mantienes) */
.reactions-bar img:hover{
  transform:scale(1.2);
  opacity:1;
}

/* 🔥 ACTIVO (cuando seleccionas reacción) */
.reactions-bar img.active{
  opacity:1;
  transform:scale(1.35);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.7));
}

/* 🔥 ANIMACIÓN POP estilo IG */
.reactions-bar img.pop{
  animation: popAnim 0.25s ease;
}

@keyframes popAnim{
  0%   { transform: scale(1); }
  50%  { transform: scale(1.7); }
  100% { transform: scale(1.35); }
}

.story-media {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 100vw;
  height: 100vh;

  object-fit: cover;

  transform: translate(-50%, -50%);

  max-width: none !important;
  max-height: none !important;
}

@media (min-width: 768px) {
  .story-media {
    width: auto;
    height: 90vh;
    object-fit: contain;
  }
}

.progress {
  position:absolute;
  top:0;
  left:0;
  height:3px;
  background:#fff;
  width:0%;
  transition:width 5s linear;
}

.story {
  display: flex;
}

.story1 {
  text-align: center;
  position: relative;
  top: 10px;
}

.lol {
  display: contents;
}

.story2 {
  width: 70px;
  height: 110px;
  position: absolute;
  top: 0px;
  left: 0px;
}

.views-btn{
  position:absolute;
  top:690px;
  left:15px;
  background:rgba(0,0,0,0.6);
  padding:6px 10px;
  border-radius:20px;
  font-size:18px;
  width: 40px;
  height: 26px;
}

.viewers-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.5);
  z-index:10000;
}

.viewers-content{
  position:absolute;
  top:845px;
  width:100%;
  max-height:60%;
  background:#040404;
  border-radius:15px 15px 0 0;
  overflow:auto;
}

.viewers-title{
  padding:10px;
  font-weight:bold;
  border-bottom:1px solid #333;
}

@media (max-width: 768px){

  .views-btn{
    left:10px;
    font-size:18px;
    top: 690px;
  }

  .reactions-bar{
    top:780px;
    font-size:20px;
  }

}

/* 💻 TABLET */
@media (min-width: 769px) and (max-width: 1024px){

  .views-btn{
    bottom:90px;
    left:20px;
    font-size:15px;
  }

  .reactions-bar{
    bottom:25px;
    font-size:24px;
  }

}

#storyContent{
  position:absolute;
  inset:0;
  display:flex;
  justify-content:center;
  align-items:center;
  background:black;
  overflow:hidden;
  height: 30%;
}

#storyContent img,
#storyContent video{
  width:100%;
  height:100%;
  object-fit:scale-down;
}

/* 📱 MOBILE */
@media (max-width: 768px){

#storyContent{
  position:absolute;
  inset:0; /* 🔥 ocupa toda la pantalla */
  display:flex;
  justify-content:center;
  align-items:center;
  background:black;
  overflow:hidden;
  height: 30%;
 }
}

/* 📱 MOBILE */
@media (max-width: 768px){
#storyContent img {
  width:100%;
  height:100%;
  object-fit:contain;
 }
}

/* 📱 MOBILE */
@media (max-width: 768px){
#storyContent video{
  width:100%;
  height:100%;
  object-fit:none;
 }
}

/* 📱 MOBILE */
@media (max-width: 768px){
.viewers-content {
  position: absolute;
  top: 845px;
  width: 100%;
  max-height: 60%;
  background: #040404;
  border-radius: 15px 15px 0 0;
  overflow: auto;
 } 
}

#storyContent::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  filter: blur(20px);
  transform: scale(1.2);

  z-index: 0;
}

#storyContent * {
  position: relative;
}
.add-btn{
  color: lime;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 88px;
  left: 26px;
  width: 25px;
  height: 25px;
  background: rgba(43, 43, 43, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
