/* قصص الرعب — Feed */
.qhorror-feed, .qhorror-feed * { box-sizing: border-box; }
.qhorror-feed {
    position: fixed;
    inset: 0;
    background: #0a0505;
    color: #f5f5f5;
    font-family: 'Tajawal', sans-serif;
    overflow: hidden;
}
.qhorror-feed-container { height: 100%; width: 100%; position: relative; }
.qhorror-feed-card {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 16px 100px;
    opacity: 0;
    transform: translateY(100%);
    transition: transform .35s ease, opacity .35s ease;
    pointer-events: none;
}
.qhorror-feed-card.active { opacity: 1; transform: translateY(0); pointer-events: auto; z-index: 2; }
.qhorror-feed-card.prev { opacity: 0; transform: translateY(-100%); z-index: 1; }

.qhorror-feed-inner {
    width: 100%;
    max-width: 440px;
    max-height: 100%;
    overflow-y: auto;
    background: linear-gradient(160deg, #1a0808 0%, #0d0505 100%);
    border: 1px solid rgba(220, 38, 38, 0.35);
    border-radius: 20px;
    padding: 22px 18px 18px;
    scrollbar-width: thin;
}
.qhorror-feed-emoji { font-size: 48px; text-align: center; margin-bottom: 10px; }
.qhorror-feed-title { font-size: 22px; font-weight: 800; text-align: center; margin: 0 0 8px; color: #fecaca; }
.qhorror-feed-type {
    text-align: center;
    font-size: 12px;
    color: #f87171;
    font-weight: 700;
    margin-bottom: 14px;
}
.qhorror-feed-summary {
    font-size: 15px;
    line-height: 1.75;
    color: #e5e7eb;
    margin-bottom: 16px;
    white-space: pre-wrap;
}
.qhorror-feed-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 18px;
}
.qhorror-feed-play {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #7f1d1d, #dc2626);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
}
.qhorror-feed-play:disabled { opacity: 0.6; cursor: wait; }

.qhorror-feed-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 10;
    background: #0a0505;
}
.qhorror-feed-loader-icon { font-size: 48px; animation: qhPulse 1.2s ease infinite; }
@keyframes qhPulse { 50% { transform: scale(1.08); opacity: 0.85; } }

.qhorror-feed-swipe {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #6b7280;
    z-index: 5;
    pointer-events: none;
}
.qhorror-feed-actions {
    position: fixed;
    left: 12px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 6;
}
.qhorror-feed-action {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.qhorror-feed-progress {
    position: fixed;
    top: 16px;
    right: 16px;
    font-size: 13px;
    color: #9ca3af;
    z-index: 6;
}

.qhorror-play-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #0a0505;
    overflow-y: auto;
}
.qhorror-play-close {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 110;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
