header.fixed-top {
    position: relative !important;
}

.short-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    position: absolute;
    right: 0;
    top: 0;
}

.save-short-btn.saved {
    background: green;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.card-item {
    position: relative;
}

.short-overlay-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.icon-btn {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.58);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.icon-btn:hover {
    background: rgba(0, 0, 0, 0.82);
    border-color: rgba(255, 107, 18, 0.7);
    color: #ff8e0e;
}

.icon-btn.save-short.saved {
    background: #ff6b12;
    border-color: #ff8e0e;
    color: #fff;
}

.icon-btn.save-short.is-confirmed {
    background: #ff6b12;
    border-color: #ff8e0e;
    color: #fff;
    transform: scale(1.08);
}

.shorts-message {
    display: none;
    width: max-content;
    max-width: min(100%, 520px);
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.shorts-message.error {
    display: block;
    background: rgba(0, 0, 0, 0.82);
    border: 1px solid rgba(255, 107, 18, 0.75);
    color: #fff;
}
