.new-button-wrapper {
  background-image: url('https://i.imgur.com/IOYzaD0.png');
  background-position: -3px -150;
  background-repeat: no-repeat;
  padding: 6px 17px 6px 20px !important;
  font-size: 11px !important;
  height: 25px !important;
  margin-right: 3px !important;
  color: #fff !important;
  font-weight: bold !important;
  text-align: center !important;
  display: inline !important;
  border: none;
  cursor: pointer;
  position: relative;
  top: 20px;
}

.new-button-input {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 11px !important;
  height: 25px !important;
  color: #fff !important;
  font-weight: bold !important;
  text-align: center !important;
  cursor: pointer;
}

.new-button-wrapper i {
  position: absolute !important;
  right: -3px !important;
  top: 0 !important;
  width: 3px !important;
  height: 25px !important;
  background: transparent url('https://i.imgur.com/IOYzaD0.png') no-repeat 0px -150px !important;
}

.new-button-wrapper:hover {
  background-position: -3px -175px !important;
  text-decoration: none !important;
}

div.section.avatar div.onlinehabbos {
    position: absolute;
    top: 105px !important;
    right: 550px !important;
    border: 5px solid #FFFFFF;
    border: 5px solid rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    background: #FFFFFF;
    background: rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    background-clip: padding-box;

}

/* Botón flotante */
.discord-fab{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  border: none;
  background: #7289da;
  padding: 12px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  cursor: pointer;
  animation: rubberBand 3s;
  transition: transform .2s ease, box-shadow .2s ease;
}
.discord-fab:hover{
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
}
.discord-fab img{ height: 30px; display:block; }

/* Backdrop */
.discord-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

/* Panel */
.discord-panel{
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 350px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  z-index: 9999;

  transform: translateY(10px) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

/* Header del panel */
.discord-panel__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 12px;
  background: #5865F2; /* estilo Discord */
  color: #fff;
  font: 600 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial;
}
.discord-close{
  border:none;
  background: rgba(255,255,255,.15);
  color:#fff;
  border-radius: 10px;
  padding: 6px 10px;
  cursor:pointer;
}
.discord-close:hover{ background: rgba(255,255,255,.25); }

.discord-iframe{
  width: 350px;
  height: 500px;
  display:block;
  background: #111;
}

/* Estado abierto */
.discord-panel.is-open{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.discord-backdrop.is-open{
  opacity: 1;
  pointer-events: auto;
}

/* Mobile: que no se salga */
@media (max-width: 420px){
  .discord-panel{
    width: calc(100vw - 24px);
    right: 12px;
  }
  .discord-iframe{ width: 100%; }
}

/* Bubble (tooltip) */
.discord-bubble{
  position: fixed;
  right: 90px;         /* ajusta según tu botón */
  bottom: 28px;        /* ajusta según tu botón */
  z-index: 10000;

  background: rgba(20, 20, 20, .95);
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  font: 600 13px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);

  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;

  transition: opacity .35s ease, transform .35s ease;
}

/* Flechita */
.discord-bubble::after{
  content:"";
  position:absolute;
  right:-6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: rgba(20, 20, 20, .95);
  rotate: 45deg;
}

/* visible */
.discord-bubble.is-show{
  opacity: 1;
  transform: translateY(0);
}

/* fadeout */
.discord-bubble.is-hide{
  opacity: 0;
  transform: translateY(6px);
}

  .headShake{
    display:inline-block;            /* importante para que transforme bien */
    animation: headShake 0.9s ease-in-out 1;
  }
  @keyframes headShake{
    0%   { transform: translateX(0); }
    6.5% { transform: translateX(-6px) rotateY(-9deg); }
    18.5%{ transform: translateX(5px)  rotateY(7deg); }
    31.5%{ transform: translateX(-3px) rotateY(-5deg); }
    43.5%{ transform: translateX(2px)  rotateY(3deg); }
    50%  { transform: translateX(0); }
    100% { transform: translateX(0); }
  }

