/* ==========================================================================
   Ficha de película o vídeo (views/watch.php): reproductor, barra de acciones,
   ficha técnica, comentarios y recomendados. Antes eran estilos en línea.
   Se carga después de theme-nova.css y todo va bajo .watch-layout para
   mantener la prioridad que tenían los estilos en línea.
   ========================================================================== */

.watch-layout .wt-crumb-home { margin-right: 4px; }
.watch-layout .wt-ico-primary { color: var(--primary); }
.watch-layout .wt-ico-secondary { color: var(--secondary); }
.watch-layout .wt-gold { color: var(--rating-gold); }

/* --- Botones CPA --- */
.watch-layout .wt-cpa-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}
.watch-layout .wt-cpa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-sm);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}
.watch-layout .wt-cpa.cpa-btn-color-danger { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); box-shadow: 0 0 15px rgba(239, 68, 68, 0.5); }
.watch-layout .wt-cpa.cpa-btn-color-warning { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); box-shadow: 0 0 15px rgba(245, 158, 11, 0.5); }
.watch-layout .wt-cpa.cpa-btn-color-purple { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); box-shadow: 0 0 15px rgba(139, 92, 246, 0.5); }
.watch-layout .wt-cpa.cpa-btn-color-pink { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); box-shadow: 0 0 15px rgba(236, 72, 153, 0.5); }
/* Con retraso: el script los muestra pasado data-delay */
.watch-layout .wt-cpa.wt-cpa-delayed {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* --- Reproductor falso (anuncio) --- */
.watch-layout .wt-fake {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    cursor: pointer;
    background: center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    box-sizing: border-box;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.watch-layout .wt-fake-shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    z-index: 1;
}
.watch-layout .wt-fake-top {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}
.watch-layout .wt-fake-title { font-weight: 700; font-size: 1.15rem; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); }
.watch-layout .wt-fake-title i { color: var(--primary); margin-right: 0.3rem; }
.watch-layout .wt-fake-hd {
    background: var(--primary);
    color: #000;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}
.watch-layout .wt-fake-play {
    position: relative;
    z-index: 2;
    width: 75px;
    height: 75px;
    background: rgba(16, 185, 129, 0.95);
    border: 2.5px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fakePlayPulse 1.8s infinite;
}
.watch-layout .wt-fake-play i { font-size: 3.2rem; color: #000; margin-left: 5px; }
.watch-layout .wt-fake-bar {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 1rem;
    margin: -1.5rem;
    width: calc(100% + 3rem);
    box-sizing: border-box;
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
}
.watch-layout .wt-fake-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.2rem;
}
.watch-layout .wt-fake-progress { width: 0%; height: 100%; background: var(--primary); border-radius: 2px; }
.watch-layout .wt-fake-ctrls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
}
.watch-layout .wt-fake-group { display: flex; align-items: center; gap: 1.2rem; }
.watch-layout .wt-fake-time { font-size: 0.78rem; font-family: monospace; letter-spacing: 0.5px; font-weight: 600; }
.watch-layout .wt-fake-q {
    font-size: 0.72rem;
    font-weight: 800;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    line-height: 1;
    letter-spacing: 0.5px;
    color: #fff;
}
.watch-layout .wt-fake-ico { font-size: 1.1rem; }
.watch-layout .wt-fake-ico-sm { font-size: 1rem; }
.watch-layout .wt-fake-ico-xs { font-size: 0.95rem; }
.watch-layout .wt-fake-white { color: #fff; }

/* --- Barra de acciones (favorito, visto, listas, votos, visitas) --- */
.watch-layout .wt-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    justify-content: space-between;
}
.watch-layout .wt-actions-group { display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; }
.watch-layout .wt-actions-user { gap: 0.8rem; align-items: center; flex-wrap: wrap; }
.watch-layout .wt-actions-guest { font-size: 0.85rem; color: var(--text-muted); align-items: center; gap: 0.4rem; }
.watch-layout .wt-actions-stats { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.watch-layout .wt-act-btn { font-size: 0.85rem; padding: 0.5rem 1.2rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.watch-layout .wt-act-glass { border-color: var(--border-glass); }
.watch-layout .wt-act-glass.btn-primary { border-color: var(--primary); }
.watch-layout .wt-chev { font-size: 0.7rem; }
body.cinema-mode-active .watch-layout .btn-cinema-mode i { color: #fbbf24; }

.watch-layout .wt-list-wrap { position: relative; display: inline-block; }
.watch-layout .wt-list-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 5px);
    width: 220px;
    background: #10121a;
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    z-index: 50;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    padding: 0.5rem 0;
}
.watch-layout .wt-list-item {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-white);
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.watch-layout .wt-list-item:hover { background: rgba(16, 185, 129, 0.1); }

.watch-layout .wt-views {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
    padding: 0.5rem 1rem;
}
.watch-layout .wt-votes {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    padding: 0.15rem;
}
.watch-layout .wt-vote {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition-smooth);
}
.watch-layout .wt-vote.voted-up { color: var(--primary); }
.watch-layout .wt-vote.voted-down { color: #ef4444; }
.watch-layout .wt-votes-sep { width: 1px; height: 16px; background: var(--border-glass); }

/* --- Ficha técnica --- */
.watch-layout .wt-info { display: flex; gap: 2rem; align-items: flex-start; flex-wrap: wrap; }
.watch-layout .wt-poster { flex-shrink: 0; width: 180px; display: block; transition: var(--transition-smooth); }
.watch-layout .wt-poster-video { width: 260px; }
.watch-layout .wt-poster img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    border: 2.5px solid var(--border-glass);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    aspect-ratio: 2 / 3;
}
.watch-layout .wt-poster-video img { aspect-ratio: 16 / 10; }
.watch-layout .wt-details { flex: 1; min-width: 280px; }
.watch-layout .wt-rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius-sm);
}
.watch-layout .wt-rating-value { color: var(--rating-gold); font-weight: bold; font-size: 1.1rem; display: flex; align-items: center; gap: 0.3rem; }
.watch-layout .wt-rating-label { color: var(--text-muted); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.watch-layout .wt-tag-type { background: rgba(16, 185, 129, 0.08); border-color: var(--primary); color: var(--primary); }
.watch-layout .wt-tag-link { text-decoration: none; transition: var(--transition-smooth); }
.watch-layout .wt-tag-link:hover { border-color: var(--primary); color: var(--primary); }

.watch-layout .wt-share {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px dashed var(--border-glass);
    border-bottom: 1px dashed var(--border-glass);
}
.watch-layout .wt-share-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}
.watch-layout .wt-share-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.watch-layout .wt-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.watch-layout a.wt-share-btn:hover { transform: translateY(-2px); }
.watch-layout .wt-share-fb { background: #3b5998; }
.watch-layout .wt-share-tw { background: #1da1f2; }
.watch-layout .wt-share-tg { background: #0088cc; }
.watch-layout .wt-share-wa { background: #25d366; }
.watch-layout .wt-share-copy {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-white);
    cursor: pointer;
}
.watch-layout .wt-share-copy:hover { border-color: var(--primary); }

.watch-layout .wt-link { color: var(--text-white); text-decoration: none; font-weight: 600; transition: var(--transition-smooth); }
.watch-layout .wt-link:hover { color: var(--primary); }

.watch-layout .wt-seo {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 1.2rem;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.65;
}
.watch-layout .wt-seo p { margin: 0 0 0.8rem 0; }
.watch-layout .wt-seo p:last-child { margin: 0; }

.watch-layout .wt-cast { margin-top: 2rem; border-top: 1px solid var(--border-glass); padding-top: 1.5rem; }
.watch-layout .wt-cast-title { font-size: 1rem; color: var(--primary); text-transform: uppercase; margin-bottom: 0.8rem; letter-spacing: 0.5px; }
.watch-layout .wt-cast .cast-member { text-decoration: none; }
.watch-layout .wt-cast .cast-member span { transition: var(--transition-smooth); }
.watch-layout .wt-cast-empty {
    background: var(--bg-darkest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: bold;
    color: var(--text-muted);
}

/* --- Comentarios --- */
.watch-layout .wt-comments { margin-top: 3rem; border-top: 1px solid var(--border-glass); padding-top: 2rem; }
.watch-layout .wt-comments-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.watch-layout .wt-comments-title { font-size: 1.3rem; margin: 0; display: flex; align-items: center; gap: 0.6rem; color: var(--primary); }
.watch-layout .wt-comments-note { font-size: 0.82rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; }

.watch-layout .wt-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}
.watch-layout .wt-replying {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 6px;
    padding: 0.5rem 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    color: #93c5fd;
    align-items: center;
    justify-content: space-between;
}
.watch-layout .wt-replying-who { display: flex; align-items: center; gap: 0.5rem; }
.watch-layout .wt-replying-who i { font-size: 1rem; color: #60a5fa; }
.watch-layout .wt-replying-who strong { color: #fff; }
.watch-layout .wt-replying-cancel {
    background: transparent;
    border: none;
    color: #f87171;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}
.watch-layout .wt-replying-cancel:hover { background: rgba(239, 68, 68, 0.15); }
.watch-layout .wt-form-row { display: flex; gap: 1rem; align-items: flex-start; }
.watch-layout .wt-form-main { flex: 1; position: relative; }
.watch-layout .wt-textarea {
    width: 100%;
    min-height: 85px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 0.85rem;
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: 0.6rem;
    outline: none;
    transition: border-color 0.2s;
}
.watch-layout .wt-textarea:focus { border-color: var(--primary); }
.watch-layout .wt-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.6rem; }
.watch-layout .wt-toolbar-left { display: flex; align-items: center; gap: 0.35rem; position: relative; flex-wrap: wrap; }
.watch-layout .wt-emoji-quick {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    font-size: 1.15rem;
    padding: 0.2rem 0.45rem;
    cursor: pointer;
    transition: transform 0.1s, background 0.1s;
    line-height: 1.2;
}
.watch-layout .wt-emoji-quick:hover { background: rgba(236, 72, 153, 0.18); border-color: rgba(236, 72, 153, 0.4); transform: scale(1.15); }
.watch-layout .wt-tool-btn { font-size: 0.78rem; padding: 0.3rem 0.65rem; border-radius: 4px; display: inline-flex; align-items: center; gap: 0.25rem; }
.watch-layout .wt-emoji-more { color: #f472b6; border-color: rgba(236, 72, 153, 0.35); background: rgba(236, 72, 153, 0.05); }

/* Panel de emojis y frases */
.watch-layout .wt-drawer {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    z-index: 100;
    width: 320px;
    max-width: 90vw;
    background: #161822;
    border: 1.5px solid rgba(236, 72, 153, 0.35);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    padding: 0.75rem;
    animation: fadeInScale 0.15s ease-out;
}
.watch-layout .wt-drawer-tabs {
    display: flex;
    gap: 0.3rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.4rem;
    margin-bottom: 0.5rem;
}
.watch-layout .wt-drawer-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}
.watch-layout .wt-drawer-tab[data-tab="xxx"].active-tab { background: rgba(236, 72, 153, 0.2); color: #f472b6; }
.watch-layout .wt-drawer-tab[data-tab="reactions"].active-tab { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.watch-layout .wt-drawer-tab[data-tab="phrases"].active-tab { background: rgba(16, 185, 129, 0.2); color: var(--primary); }
.watch-layout .wt-drawer-close { background: transparent; border: none; color: var(--text-muted); margin-left: auto; cursor: pointer; padding: 0 0.2rem; }
.watch-layout .wt-drawer-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.25rem; max-height: 160px; overflow-y: auto; }
.watch-layout .wt-drawer-list { display: flex; flex-direction: column; gap: 0.35rem; max-height: 160px; overflow-y: auto; }
.watch-layout .wt-emoji {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 1.2rem;
    padding: 0.25rem 0;
    cursor: pointer;
    transition: transform 0.1s, background 0.1s;
}
.watch-layout .wt-emoji:hover { background: rgba(236, 72, 153, 0.15); border-color: rgba(236, 72, 153, 0.4); transform: scale(1.2); }
.watch-layout .wt-emoji.wt-emoji-blue:hover { background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.4); }
.watch-layout .wt-phrase {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    font-size: 0.78rem;
    padding: 0.35rem 0.5rem;
    color: #e2e8f0;
    text-align: left;
    cursor: pointer;
}
.watch-layout .wt-phrase:hover { background: rgba(16, 185, 129, 0.15); border-color: var(--primary); }

.watch-layout .wt-submit-row { display: flex; align-items: center; gap: 0.8rem; }
.watch-layout .wt-count { font-size: 0.75rem; color: var(--text-muted); }
.watch-layout .wt-count.is-warn { color: #f59e0b; }
.watch-layout .wt-count.is-over { color: #ef4444; }
.watch-layout .wt-submit {
    font-size: 0.85rem;
    padding: 0.45rem 1.4rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: opacity 0.2s;
}
.watch-layout .wt-submit i.bi-send-fill { font-size: 0.8rem; }
.watch-layout .wt-submit.is-busy { opacity: 0.7; cursor: not-allowed; }
.watch-layout .wt-form-guest { text-align: center; padding: 1rem 0; }
.watch-layout .wt-form-guest p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.watch-layout .wt-form-guest .btn { font-size: 0.85rem; padding: 0.5rem 1.5rem; font-weight: 700; }

/* Avatares (foto o inicial con color fijo por letra) */
.watch-layout .wt-avatar { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border-glass); flex-shrink: 0; }
.watch-layout img.wt-avatar { object-fit: cover; }
.watch-layout .wt-avatar-lg { width: 42px; height: 42px; border: 2px solid var(--primary); }
.watch-layout .wt-avatar-initial { color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1rem; }
.watch-layout .wt-avatar-lg.wt-avatar-initial { font-size: 1.1rem; }
.watch-layout .wt-av-0 { background: #10b981; }
.watch-layout .wt-av-1 { background: #3b82f6; }
.watch-layout .wt-av-2 { background: #8b5cf6; }
.watch-layout .wt-av-3 { background: #ec4899; }
.watch-layout .wt-av-4 { background: #f59e0b; }
.watch-layout .wt-av-5 { background: #ef4444; }

/* Tarjeta de comentario */
.watch-layout .wt-comment-list { display: flex; flex-direction: column; gap: 1.2rem; }
.watch-layout .wt-comment {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    padding: 1.2rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}
.watch-layout .wt-comment:hover { background: rgba(255, 255, 255, 0.02); }
.watch-layout .wt-comment.comment-card-vip {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(21, 24, 36, 0.95) 100%) !important;
    border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}
.watch-layout .wt-comment.comment-card-vip:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(21, 24, 36, 0.98) 100%) !important;
    border-color: rgba(245, 158, 11, 0.6) !important;
}
.watch-layout .wt-comment-main { flex: 1; min-width: 0; }
.watch-layout .wt-comment-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.watch-layout .wt-comment-who { display: inline-flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.watch-layout .wt-comment-user {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.watch-layout .wt-comment-user:hover { text-decoration: underline; }
.watch-layout .wt-vip-badge {
    font-size: 0.65rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-shadow: none;
    display: inline-block;
    line-height: 1.2;
}
.watch-layout .wt-reply-ref { font-size: 0.75rem; color: #94a3b8; display: inline-flex; align-items: center; gap: 0.25rem; }
.watch-layout .wt-reply-ref i { color: #60a5fa; }
.watch-layout .wt-reply-ref a { color: #60a5fa; font-weight: 700; text-decoration: none; }
.watch-layout .wt-comment-date { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.watch-layout .wt-comment-body { color: #e2e8f0; font-size: 0.9rem; line-height: 1.55; margin: 0.2rem 0 0.6rem 0; word-break: break-word; }
.watch-layout .wt-comment-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    flex-wrap: wrap;
}
.watch-layout .wt-cvote-sep { width: 1px; height: 10px; background: rgba(255, 255, 255, 0.12); }
.watch-layout .wt-comment-act {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    font-weight: 600;
}
.watch-layout .wt-act-reply:hover { color: var(--primary); }
.watch-layout .wt-act-quote:hover { color: #60a5fa; }
.watch-layout .wt-act-mention:hover { color: #f472b6; }
.watch-layout .wt-act-delete { color: #94a3b8; margin-left: auto; }
.watch-layout .wt-act-delete:hover { color: #ef4444; }
.watch-layout .wt-no-comments {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed var(--border-glass);
    border-radius: var(--border-radius-sm);
}
.watch-layout .wt-no-comments i { font-size: 2rem; color: var(--border-glass); display: block; margin-bottom: 0.5rem; }

/* --- Recomendados --- */
.watch-layout .wt-related { padding: 1.5rem; }
.watch-layout .wt-related-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.8rem;
    position: relative;
}
.watch-layout .wt-related-list { display: flex; flex-direction: column; gap: 1.2rem; }
.watch-layout .wt-related-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    padding: 0.3rem;
    transition: var(--transition-smooth);
}
.watch-layout .wt-related-item:hover { background: rgba(255, 255, 255, 0.03); }
.watch-layout .wt-related-item img { width: 65px; height: 95px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border-glass); }
.watch-layout .wt-related-info { flex: 1; min-width: 0; }
.watch-layout .wt-related-info h4 {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-white);
}
.watch-layout .wt-related-meta { display: flex; gap: 0.8rem; font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }

/* --- Animaciones y utilidades (antes en un <style> al final de la vista) --- */
@keyframes fadeInScale {
    from { opacity: 0; transform: translateY(6px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes highlightPulse {
    0% { outline: 2px solid var(--primary); box-shadow: 0 0 20px rgba(16, 185, 129, 0.6); }
    50% { outline: 2px solid #3b82f6; box-shadow: 0 0 25px rgba(59, 130, 246, 0.7); }
    100% { outline: 2px solid transparent; box-shadow: none; }
}
.comment-highlighted {
    animation: highlightPulse 2.5s ease-out;
}
.emoji-grid-container::-webkit-scrollbar {
    width: 5px;
}
.emoji-grid-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
@keyframes spinIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.spin {
    display: inline-block;
    animation: spinIcon 1s linear infinite;
}
