html body.custom-background,
html body,
body {
    background-color: transparent !important;
    background-image: url('https://rasenhorror.com/wp-content/uploads/2026/07/fondo.gif') !important;
    background-attachment: fixed !important;
    background-size: auto !important;
    background-repeat: repeat !important;
}

.contenedor {
    position: relative !important;
    z-index: 999 !important;
    max-width: 1100px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.cabecera {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 187px;
    margin: 20px auto;
    max-width: 850px;
    width: 100%;
}

.izquierda { 
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
}

.bola { 
    margin: 0; 
    display: block;
}

.derecha { 
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.menu a {
    color: #FF69B4 !important;
    text-decoration: none;
    font-size: 8px;
    background: #1a001a;
    padding: 6px 12px;
    border: 2px outset #FF00FF;
    display: inline-block;
    font-family: 'Press Start 2P', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    width: 220px;
    box-sizing: border-box;
}

.menu a:hover {
    background: #FF00FF;
    color: #000000 !important;
    border: 2px inset #FF69B4;
}

.menu a:active { 
    transform: scale(0.95); 
}

.marquesina-envoltorio {
    overflow: hidden;
    padding: 12px 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 750px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.marquesina-alternativa {
    display: flex;
    flex-wrap: nowrap;
    animation: mover-izquierda 30s linear infinite;
    width: max-content;
}

.marquesina-alternativa span {
    color: #4A7FB5;
    font-size: 14px;
    margin: 0 10px;
    background: #0a000a;
    padding: 8px;
    display: inline-block;
    flex-shrink: 0;
    white-space: nowrap;
}

.marquesina-alternativa span img { 
    height: 14px; 
    vertical-align: middle; 
}

@keyframes mover-izquierda {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

h1 {
    font-family: 'Press Start 2P', monospace !important;
    color: #b300ff !important;
    font-size: 40px !important;
    line-height: 1.6;
    text-shadow: 3px 3px #00FFFF !important;
    margin: 0;
    letter-spacing: 1px;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}

.subtitulo {
    font-family: 'Press Start 2P', monospace;
    color: #FFFF00 !important;
    font-size: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.subtitulo img { 
    height: 90px; 
}

.carta-dia {
    flex: 1;
    background: #0a0a1a;
    padding: 25px;
    border: 3px double #FF00FF;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.carta-dia h2 {
    color: #FFD700 !important;
    font-size: 12px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.carta-dia img { 
    height: 130px; 
    margin-bottom: 10px; 
}

.carta-dia img,
.carta-dia .carta-nombre,
.carta-dia .mensaje {
    margin-left: auto;
    margin-right: auto;
}

.carta-nombre { 
    color: #FFD700; 
    font-size: 11px; 
    margin-top: 10px; 
}

.mensaje { 
    color: #CC88FF; 
    font-size: 12px; 
    margin-top: 10px; 
}

.chat {
    flex: 2 !important;
    background: #0a0a1a;
    padding: 25px;
    border: 3px double #00FFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.chat h2 {
    color: #00FFFF !important;
    font-size: 12px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.caja-chat {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    min-height: 150px;
    background: transparent !important;
}

.caja-chat p { 
    color: #6666AA; 
    font-size: 10px; 
}

.pie { 
    margin-top: 25px; 
    padding-top: 15px; 
    text-align: center;
    width: 100%;
}

.pie img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.pie p { 
    color: #6666AA; 
    font-size: 10px; 
    letter-spacing: 2px; 
}

.contenido-dinamico {
    max-width: 750px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

.fila-chat { 
    display: flex; 
    gap: 20px; 
    margin: 25px 0; 
    justify-content: space-between;
    align-items: stretch;
}

.capsula {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #0a000a;
    border: 2px solid #330033;
    border-radius: 30px;
    padding: 4px 10px 4px 6px;
    max-width: 200px;
    margin-top: 5px;
    margin-left: auto;
    margin-right: 0;
    overflow: hidden;
    height: 32px;
}

.capsula-btn {
    background: transparent!important;
    color: #4A7FB5!important;
    border: 2px solid #330033!important;
    border-radius: 50%!important;
    width: 22px!important;
    height: 22px!important;
    font-size: 10px!important;
    cursor: pointer!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    font-family: 'Press Start 2P', monospace!important;
    transition: all 0.3s ease!important;
    flex-shrink: 0!important;
    padding: 0!important;
    text-align: center!important;
    box-sizing: border-box!important;
}

.capsula-btn .capsula-icon {
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    line-height: 0!important;
    transform: translateY(1px)!important;
    margin-bottom: 6px;
}

.capsula-btn:hover {
    background: #1a001a!important;
    color: #b300ff!important;
    border-color: #b300ff!important;
    box-shadow: 0 0 20px rgba(179, 0, 255, 0.2)!important;
}

.capsula-btn.playing { 
    color: #b300ff!important; 
    border-color: #b300ff!important; 
}

.capsula-nombre-wrapper {
    flex: 1;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.capsula-nombre {
    color: #4A7FB5;
    font-size: 6px;
    font-family: 'Press Start 2P', monospace;
    white-space: nowrap;
    letter-spacing: 0.3px;
    display: inline-block;
    line-height: 1;
}
.capsula-nombre::after {
    content: " ♬";
    display: inline-block;
    font-weight: 900;
    margin-bottom: 5px;
    font-size: 2em;
    vertical-align: middle;
    margin-left: 6px;
    color: #a0e0ff;
    text-shadow: 0 0 8px rgba(160, 224, 255, 0.6);
    animation: pulso-nota 1.2s infinite ease-in-out;
}

@keyframes pulso-nota {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); } 
}
#submitchat {
    background: #1a001a !important;
    color: #FF69B4 !important;
    border: 2px outset #FF00FF !important;
    padding: 8px 16px;
    font-family: 'Press Start 2P', monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 3px;
}

#submitchat:hover:not(:disabled) {
    background: #FF00FF !important;
    color: #000000 !important;
    border: 2px inset #FF69B4 !important;
}

#simple-ajax-chat {
    width: 100%;
    overflow: hidden;
    margin: 0;
}

#sac-output {
    width: 100%;
    height: 150px;
    overflow: auto;
    border: 1px solid #330033;
    background: #1a001a;
    margin-bottom: 5px;
    padding: 5px;
    max-height: 150px !important;
    overflow-y: auto !important;
}

#sac-latest-message {
    display: none;
}

#sac-messages {
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 20px;
    list-style: none;
    width: 100% !important;
    box-sizing: border-box !important;
}

#sac-messages li {
    margin: 0;
    padding: 2px 5px;
    color: #CC88FF;
    text-align: left;
    border-bottom: none !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    box-sizing: border-box !important;
}

#sac-messages li span {
    color: #FF69B4;
    font-weight: bold;
}

#sac-messages li:first-child {
    color: #6666AA;
    text-align: center;
    font-size: 13px;
    padding: 20px 5px;
}

#sac-messages li:first-child span {
    color: #6666AA;
}

#sac-messages li span a {
    color: #b300ff;
    font-weight: bold;
    text-shadow: 0 0 10px #b300ff;
}

#sac-panel {
    width: 100%;
}

#sac-form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
}

#sac-form fieldset label {
    display: none;
}

#sac-form fieldset input,
#sac-form fieldset textarea {
    width: 100%;
    max-width: 100% !important;
    margin: 0 0 3px 0;
    font-size: 10px;
    font-family: 'Press Start 2P', monospace;
    background: #1a001a;
    color: #CC88FF;
    border: 1px solid #330033;
    padding: 5px 8px;
    box-sizing: border-box !important;
}

#sac-form fieldset input:focus,
#sac-form fieldset textarea:focus {
    border-color: #FF00FF;
    outline: none;
}

#sac-form fieldset textarea {
    height: 30px;
    resize: vertical;
}

#sac-form fieldset input[type="submit"] {
    width: 100%;
    background: #1a001a;
    color: #FF69B4;
    border: 2px outset #FF00FF;
    font-size: 10px;
    padding: 6px 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#sac-form fieldset input[type="submit"]:hover {
    background: #FF00FF;
    color: #000000;
    border: 2px inset #FF69B4;
}

#sac-form fieldset input[type="text"] {
    margin-bottom: 3px;
}

#sac-output::-webkit-scrollbar {
    width: 6px;
}

#sac-output::-webkit-scrollbar-track {
    background: #1a001a;
}

#sac-output::-webkit-scrollbar-thumb {
    background: #330033;
    border: 1px solid #550055;
}

#sac-output::-webkit-scrollbar-thumb:hover {
    background: #FF00FF;
}

#sac-content {
    display: none;
}

.tooltip {
    border: 0;
    text-shadow: none;
    position: absolute !important;
    z-index: 9999 !important;
    top: -25px !important;
    left: 100% !important;
    margin-left: 8px !important;
    font-size: 6px !important;
    background: #0a000a !important;
    color: #4A7FB5 !important;
    border: 1px solid #1a001a !important;
    padding: 2px 6px !important;
    border-radius: 0 !important;
    font-family: 'Press Start 2P', monospace !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 0 10px rgba(0,0,0,0.8) !important;
    line-height: 12px !important;
    white-space: nowrap !important;
    opacity: 0.8 !important;
    pointer-events: none !important;
}

.sac-chat-name {
    position: relative !important;
    display: inline-block !important;
}