/* FocusFeed Injected Styles */

.ff-collapsed-post {
    position: relative !important;
    transition: all 0.3s ease !important;
}

.ff-collapsed-post > *:not(.focus-feed-collapsed-bar) {
    opacity: 0.1 !important;
    pointer-events: none !important;
    max-height: 80px !important;
    overflow: hidden !important;
    filter: blur(4px) !important;
}

/* When override is active */
.ff-collapsed-post.ff-show-override > *:not(.focus-feed-collapsed-bar) {
    opacity: 1 !important;
    pointer-events: auto !important;
    max-height: none !important;
    filter: none !important;
}

.focus-feed-collapsed-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: inherit;
    color: #fff;
    font-family: 'Inter', sans-serif;
    padding: 1rem;
    text-align: center;
}

.ff-bar-content {
    margin-bottom: 1rem;
}

.ff-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #00f2ff;
    margin-bottom: 4px;
}

.ff-reason {
    display: block;
    font-size: 0.9rem;
    color: #888;
}

.ff-override-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ff-override-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Adjustments for different layouts */
.ff-collapsed-post.ff-show-override .focus-feed-collapsed-bar {
    height: 60px;
    position: relative;
    background: rgba(15, 15, 15, 0.5);
    flex-direction: row;
    justify-content: space-between;
}

.ff-collapsed-post.ff-show-override .ff-bar-content {
    margin-bottom: 0;
    text-align: left;
}
